Skill Auto Attach
Monitors workspace for new or updated .html, .md, .txt files and automatically attaches them to Telegram messages instead of showing code.
Latest: v1.0.0
Initial release of skill-auto-attach.
- Monitors the OpenClaw workspace for new or updated documentation files (.html, .md, .txt).
- Automatically attaches these files to Telegram messages as file attachments, rather than displaying code.
- Uses the message tool with filePath for Telegram compatibility.
- Copies files to /tmp and assigns unique filenames.
- Operates silently unless a relevant file is updated.
- Requires OpenClaw v2026.2+ and Telegram channel access.
skill-auto-attach
Description
This skill monitors the OpenClaw workspace for file changes and automatically attaches new or updated documentation files to Telegram messages instead of displaying code snippets.
Features
- Detects file creation and modification events in workspace
- Copies files to /tmp for Telegram compatibility
- Sends files via message tool with filePath parameter
- Works with .html, .md, .txt files
- Silent operation unless file is updated
Usage
- Install the skill files in ~/.openclaw/skills/skill-auto-attach
- Enable with
openclaw skills enable skill-auto-attach - The skill will automatically attach files to Telegram messages when they are created/updated
Requirements
- OpenClaw v2026.2+
- Telegram channel access
messagetool available
Implementation
- Watches workspace directory
- Copies files to /tmp
- Sends via message tool
- Uses unique filenames to avoid conflicts
Known Issues
- Only works with Telegram (other channels require config changes)
- May need adjust /tmp path on low-storage devices
