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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.