← Back to Skills Marketplace
elodyzen

Skill Auto Attach

by elodyzen · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
729
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install skill-auto-attach
Description
Monitors workspace for new or updated .html, .md, .txt files and automatically attaches them to Telegram messages instead of showing code.
Usage Guidance
This skill contains clear mismatches and some risky behavior — do not enable it without review. Specific recommendations: (1) Inspect and modify the script to use the correct workspace path (prefer using the runtime-provided workspace path or an environment variable rather than /home/elodyzen). (2) Add explicit extension filtering (only .html, .md, .txt) and/or a whitelist/confirmation step before sending files. (3) Declare and check for required binaries (inotifywait / inotify-tools and the openclaw message tool) in SKILL.md. (4) Avoid hard-coded paths for logs and workspace; use configurable paths. (5) Test in an isolated environment (with no secrets) to verify behavior. (6) Consider adding an opt-in prompt or per-file approval before transmitting files to Telegram. If you cannot make these changes or verify the message tool's target is the intended Telegram channel, treat the skill as potentially leaking sensitive files and do not install it in production.
Capability Analysis
Package: skill-auto-attach (xpi) Version: 1.0.0 Description: Automatic file attachment skill for Telegram The skill's stated purpose is to automatically attach new or updated 'documentation files' (e.g., .html, .md, .txt) from the OpenClaw workspace to Telegram messages. However, the `auto-attach.sh` script monitors for *any* regular file creation or modification within the hardcoded `WATCH_DIR` (`/home/elodyzen/.openclaw/workspace`) and sends it via the `openclaw message send` command. This lack of file type filtering means that sensitive files (e.g., configuration files, private keys, source code with embedded secrets) that are not intended to be shared could be inadvertently copied to `/tmp` and then sent to the configured Telegram channel. While the script includes cleanup for temporary files and uses standard tools, the broad scope of file monitoring combined with the hardcoded watch directory presents a significant potential for unintended data leakage, making it suspicious. The security relies heavily on the user's understanding of what files are in their workspace and the security of the `openclaw` tool itself.
Capability Assessment
Purpose & Capability
The claimed purpose (monitor workspace and attach .html/.md/.txt files to Telegram) roughly matches the script's observed behavior (watching a directory and sending files via the OpenClaw message tool). However there are important mismatches: the SKILL.md instructs installation under ~/.openclaw/skills and expects to work with the current workspace, while the script hard-codes WATCH_DIR=/home/elodyzen/.openclaw/workspace. The SKILL.md claims file-type filtering (.html/.md/.txt) but the script does no extension filtering and will copy and send any regular file it detects.
Instruction Scope
SKILL.md is high-level and omits several runtime details that the script performs. The script watches file creation/modify events, copies files to /tmp, and sends them via openclaw message send --target=telegram --media=...; it does not prompt the user or restrict which files are sent. The instructions do not mention the required inotifywait binary or that any file type may be transmitted. The script logs to a hard-coded user path and will run continuously once enabled.
Install Mechanism
There is no install spec (instruction-only skill with an included script), which reduces risk of arbitrary downloads. However the script depends on inotifywait (from inotify-tools) and the openclaw message CLI, neither of which are declared in SKILL.md's requirements — this is an operational mismatch that could cause silent failures or unexpected behavior when those binaries are present/absent.
Credentials
The skill requests no credentials and doesn't reach out to unknown endpoints; it sends files through the platform's message tool (expected). Nevertheless, the hard-coded WATCH_DIR and LOG_FILE point to a specific user's home (/home/elodyzen), which is disproportionate and brittle — on multi-user systems this may point at the wrong directory. More importantly, because the script does not filter by extension, it can exfiltrate arbitrary files from the watched directory (including secrets) to a Telegram channel without per-file confirmation.
Persistence & Privilege
The skill is not marked always:true and doesn't request system-wide config changes. It will run a long-lived watcher process once enabled and write logs under its own skill directory and temp files under /tmp. That persistent monitoring combined with unrestricted file sending increases risk of accidental data leakage, but it does not itself indicate privilege escalation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-auto-attach
  3. After installation, invoke the skill by name or use /skill-auto-attach
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug skill-auto-attach
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Skill Auto Attach?

Monitors workspace for new or updated .html, .md, .txt files and automatically attaches them to Telegram messages instead of showing code. It is an AI Agent Skill for Claude Code / OpenClaw, with 729 downloads so far.

How do I install Skill Auto Attach?

Run "/install skill-auto-attach" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skill Auto Attach free?

Yes, Skill Auto Attach is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Skill Auto Attach support?

Skill Auto Attach is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skill Auto Attach?

It is built and maintained by elodyzen (@elodyzen); the current version is v1.0.0.

💬 Comments