跳至主要内容
小龙虾小龙虾AI
🤖

Skill Auto Attach

Monitors workspace for new or updated .html, .md, .txt files and automatically attaches them to Telegram messages instead of showing code.

下载338
星标0
版本1.0.0
开发工具
安全通过
💬Prompt

技能说明

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

  1. Install the skill files in ~/.openclaw/skills/skill-auto-attach
  2. Enable with openclaw skills enable skill-auto-attach
  3. The skill will automatically attach files to Telegram messages when they are created/updated

Requirements

  • OpenClaw v2026.2+
  • Telegram channel access
  • message tool 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

如何使用「Skill Auto Attach」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Skill Auto Attach」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能