skill-auto-attach
由 elodyzen 提供
Web & Frontend Development简介
This skill monitors the OpenClaw workspace for file changes and automatically attaches new or updated documentation.
描述
该技能的功能
Monitors the OpenClaw workspace for file changes and automatically attaches new or updated documentation files to Telegram messages. Handles .html, .md, and .txt files by copying them to /tmp before sending via the message tool.
Eliminates the manual step of attaching files to Telegram by triggering on file system events rather than requiring an explicit send command.
何时使用
- Sharing updated HTML reports with a Telegram team channel
- Auto-delivering generated markdown docs after a build step
- Sending updated README files without manual copy-paste
- Distributing .txt log summaries to a Telegram bot
- Attaching changelogs to Telegram on each file save
示例工作流
User asks: 'Attach the latest report.html to the channel whenever it updates'
- 1
Skill watches the OpenClaw workspace directory for file creation or modification events
- 2
Detects report.html has changed
- 3
Copies report.html to /tmp with a unique filename to avoid conflicts
- 4
Calls the message tool with the filePath parameter pointing to the /tmp copy
report.html is delivered as a Telegram file attachment automatically on each update
前置要求
- Telegram channel access
- OpenClaw v2026.2+
安装
clawhub install elodyzen/skill-auto-attach运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。