Hermes Workbuddy Feishu Collab logo

Hermes Workbuddy Feishu Collab

Community
moyupeng0422
hermes-workbuddy-feishu-collab

WorkBuddy 协作 Skill——飞书群云端 Hermes 与本地 WorkBuddy 通过 SSH 实现多轮自动化协作

Overview

Publishermoyupeng0422
Repositorylegal-tools
Skill namehermes-workbuddy-feishu-collab
Stars
42
Forks
10
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by moyupeng0422 on GitHub. Read the source before you install it.

Installation

Install the Hermes Workbuddy Feishu Collab AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/moyupeng0422/legal-tools/tree/main/Hermes与WorkBuddy飞书协作/hermes
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.

Use it in TypingMind

Enable Hermes Workbuddy Feishu Collab in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hermes Workbuddy Feishu Collab on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hermes Workbuddy Feishu Collab is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

WorkBuddy 协作 Skill

让飞书群里的云端 Hermes 和本地 WorkBuddy通过 SSH 实现多轮自动化协作——发任务、写文件、辩论、审阅,全程用户无需传话。

前置条件

Hermes 侧(云端 Ubuntu)

  • 已部署 Hermes Agent(飞书 Bot)
  • 已配置 SSH 免密登录到本地 Windows
  • 飞书应用已获取 AppID / AppSecret
  • 已知飞书群 chat_id 和 WorkBuddy 的 open_id

WorkBuddy 侧(本地 Windows)

  • 已安装 WorkBuddy(本地桌面版)
  • 已配置 SSH Server(Hermes 可 ssh 登录)
  • 协作工作目录可读写

通信架构

飞书群聊(通信)                         SSH(读文件 + 监控)
用户 ──→ @WorkBuddy ──→ WorkBuddy GUI  Hermes
              ↑                    │         │
              │             写 conv +        │ SSH cat status.json
              │             更新 status      │ SSH cat conv
              │             发卡片(用户见)  │
              └────────────────────┘         │
              WorkBuddy 写完 → 状态已更新    │
                                             ▼
                                     检测到 completed → 读 conv → 处理

文件协议

{PROJECT_DIR}/hermes_collab/ 下:

文件格式说明
沟通记录conv_<简写>_YYYYMMDD.md讨论、辩论过程
交付物out_<简写>_YYYYMMDD_v{N}.md纯成品,不含辩论
状态灯status.json当前任务状态
协议PROTOCOL.md协作协议说明书

status.json 格式

json
{
  "protocol_version": "3.0",
  "current_task": {
    "id": "任务名_YYYYMMDD",
    "status": "writing",       // writing | waiting | completed | failed
    "phase": "当前阶段描述",
    "conv_file": "conv_xxx_YYYYMMDD.md",
    "since": "YYYY-MM-DD HH:MM:SS",
    "interruptible": true
  }
}

交付物分离(out_ 文件)

有成品产出的任务(文章终稿、报告、代码),WorkBuddy 写独立的 out_ 文件,conv 中只放讨论过程。

场景使用文件
产出是可交付成品out_<简写>_YYYYMMDD_v{N}.md
沟通本身就是产出conv 足够
任务执行失败无交付物

操作序列

模式 A:后台监控(推荐)

用户说"去跟WorkBuddy讨论XXX"
  → 第1步:加载本 skill
  → 第2步:查 @ 格式(WorkBuddy open_id)
  → 第3步:用 REST API 发消息 @WorkBuddy
  → 第4步:启动后台轮询(notify_on_complete=true)
  → 第5步:回复用户"已发给 WorkBuddy,等回复"

模式 B:同 turn 轮询

适用于简单确认、单轮查询。

用户说"去跟WorkBuddy讨论XXX"
  → 不发用户 → 发消息给 WorkBuddy
  → terminal foreground 锁定等回复
  → 全部闭环 → 汇报用户

@WorkBuddy 的正确格式

跨 Bot @ 必须用「发消息者视角」的 open_id。用 REST API 发送:

python
text = '<at user_id=\"{WORKBUDDY_HERMES_OPEN_ID}\">WorkBuddy</at> 消息内容'
body = {
    'receive_id': '{FEISHU_CHAT_ID}',
    'msg_type': 'text',
    'content': json.dumps({'text': text}, ensure_ascii=False)
}
requests.post('https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=chat_id', ...)

⚠️ 不用 send_message 工具的 @ 标签,必须用 REST API。

回复处理

收到 WorkBuddy 回复后:

  1. 确认是否有新的 conv 文件(SSH 直读)
  2. 只有卡片无新 file → 催 WorkBuddy 写入 conv
  3. 有新 file → 区分用途:
    • conv 文件 → SSH 读取最新内容
    • 非 conv 文件(文档更新等)→ 飞书 API 下载附件
  4. 辩论检查:独立分析 WorkBuddy 方案 → 找到漏洞发 [辩论] → 等回应
  5. 全部闭环后向用户汇报

消息前缀

前缀用途
[任务]派任务给 WorkBuddy 执行
[讨论]非执行型讨论
[辩论]对结果有异议,走 R1→R2→R3 辩论
[协议调整]更新协作规则

工具脚本

本 skill 附带 3 个脚本(scripts/ 目录):

脚本用途
workbuddy_monitor.pySSH 长任务监控轮询(检测 status.json 变化)
workbuddy_read_conv.pyconv 文件增量读取(仅返回新增行)
workbuddy_poll.py飞书 API 轮询(备用通道:初始确认 + SSH 不通时)

注意事项

  • WorkBuddy 连续发送 file 和 card 时,两者可能间隔 <1 秒,轮询需注意可能漏文件
  • 中文文件名必须用 Base64 UTF-16LE 编码传给 PowerShell
  • SSH 仅限读取协作工作目录 {PROJECT_DIR}/hermes_collab/ 下的文件
  • WorkBuddy 上传的其他附件(如 MEMORY.md 更新)用飞书 API 下载,不走 SSH
  • 所有答复同步写入 conv,卡片与 conv 内容一致

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hermes Workbuddy Feishu Collab AI skill do?

WorkBuddy 协作 Skill——飞书群云端 Hermes 与本地 WorkBuddy 通过 SSH 实现多轮自动化协作

Why use Hermes Workbuddy Feishu Collab on TypingMind?

Because you install it once and use it with any model. Hermes Workbuddy Feishu Collab is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hermes Workbuddy Feishu Collab in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/moyupeng0422/legal-tools/tree/main/Hermes与WorkBuddy飞书协作/hermes. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hermes Workbuddy Feishu Collab?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hermes Workbuddy Feishu Collab?

As many as you like. As long as a model supports skills, you can use Hermes Workbuddy Feishu Collab with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hermes Workbuddy Feishu Collab AI skill free?

It is published on GitHub by moyupeng0422. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇