Auto Attach for Openclaw

A background automation skill that monitors workspace file changes and automatically attaches updated documents to Telegram messages.

elodyzen
v1.0.0
Feb 15, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install skill-auto-attach

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install skill-auto-attach using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Auto Attach?

Auto Attach is a specialized automation utility designed for developers who need to keep their communication channels synchronized with their workspace. As part of the growing library of Openclaw Skills, this tool eliminates the manual overhead of sharing documentation by monitoring your environment for file creations and modifications. Instead of displaying massive code snippets in your chat, it intelligently packages files and sends them as attachments.

This skill is particularly useful for maintaining a clean chat history while ensuring that the latest versions of reports, logs, and documentation are always available to team members. By leveraging the internal message tool, it provides a seamless bridge between your local development workspace and remote Telegram channels.

Auto Attach Use Cases

  • Distributing live documentation updates to team members via Telegram.
  • Sharing generated HTML reports or Markdown summaries without cluttering chat with raw text.
  • Archiving workspace file versions automatically during an active coding session.
  • Notifying stakeholders of critical log updates or text-based data exports in real-time.

How Auto Attach Works

  1. The skill initializes a file system watcher to monitor the OpenClaw workspace directory for specific events.
  2. When a file with a supported extension (.html, .md, or .txt) is created or updated, the skill captures the event.
  3. The identified file is copied to the /tmp directory to ensure it is accessible and compatible with messaging protocols.
  4. To prevent file name collisions, the skill generates unique identifiers for the staged files.
  5. The system invokes the internal message tool, utilizing the filePath parameter to send the document as a native attachment to the configured Telegram channel.

Auto Attach Setup

To integrate this tool into your collection of Openclaw Skills, perform the following steps:

  1. Install the skill files into the local directory:
mkdir -p ~/.openclaw/skills/skill-auto-attach
# Copy skill-auto-attach files to this location
  1. Enable the skill via the command line:
openclaw skills enable skill-auto-attach
  1. Ensure your environment meets the requirements, including OpenClaw v2026.2+ and an active Telegram channel configuration with the message tool enabled.

Auto Attach Data Schema & Taxonomy

The skill manages its operations through the following data structures and environment paths:

Component Details
Supported Formats .html, .md, .txt
Staging Path /tmp (Local temporary storage for transmission)
Tool Interface Uses the 'message' tool with the filePath parameter
Monitoring Scope Root OpenClaw workspace directory

Auto Attach Advanced Features

  • Real-time workspace monitoring for immediate file synchronization.
  • Conflict-free file handling using unique naming conventions in the staging area.
  • Silent background execution to minimize developer distraction during coding sessions.
  • Deep integration with the Telegram API via OpenClaw Skills protocols.
  • Optimized for low-latency transmission of documentation and metadata.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*