跳到正文
TakoAPI
返回技能列表

skill-auto-attach

由 elodyzen 提供

Web & Frontend Development
458下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Skill watches the OpenClaw workspace directory for file creation or modification events

  2. 2

    Detects report.html has changed

  3. 3

    Copies report.html to /tmp with a unique filename to avoid conflicts

  4. 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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接