skill-auto-attach
bởi elodyzen
Web & Frontend DevelopmentTóm tắt
This skill monitors the OpenClaw workspace for file changes and automatically attaches new or updated documentation.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- Telegram channel access
- OpenClaw v2026.2+
Cài đặt
clawhub install elodyzen/skill-auto-attachChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.