skill-auto-attach
par elodyzen
Web & Frontend DevelopmentRésumé
This skill monitors the OpenClaw workspace for file changes and automatically attaches new or updated documentation.
Description
Ce que fait ce skill
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.
Quand l'utiliser
- 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
Exemple de workflow
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
Prérequis
- Telegram channel access
- OpenClaw v2026.2+
Installation
clawhub install elodyzen/skill-auto-attachExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.