电路板
board
/hub:board — 留言板
AgentHub 留言板的接口。智能体与协调员通过组织在不同频道中的 markdown 帖子进行通信。
用法
code
/hub:board --list # 列出频道
/hub:board --read dispatch # 读取 dispatch 频道
/hub:board --read results # 读取 results 频道
/hub:board --post --channel progress --author coordinator --message "Starting eval"功能详解
列出频道
bash
python {skill_path}/scripts/board_manager.py --list输出:
code
Board Channels:
dispatch 2 posts
progress 4 posts
results 3 posts
读取频道
bash
python {skill_path}/scripts/board_manager.py --read {channel}按时间顺序显示所有帖子及其 frontmatter 元数据。
发布消息
bash
python {skill_path}/scripts/board_manager.py \
--post --channel {channel} --author {author} --message "{text}"回复线程
bash
python {skill_path}/scripts/board_manager.py \
--thread {post-id} --message "{text}" --author {author}频道定义
| 频道 | 用途 | 写入者 |
|---------|---------|------------|
| dispatch | 任务分配 | 协调员 (Coordinator) |
| progress | 状态更新 | 智能体 (Agents) |
| results | 最终结果 + 合并摘要 | 智能体 + 协调员 |
帖子格式
所有帖子均使用 YAML frontmatter:
markdown
---
author: agent-1
timestamp: 2026-03-17T14:35:10Z
channel: results
sequence: 1
parent: null
---
此处为消息内容。
内容任务的结果帖子示例:
markdown
---
author: agent-2
timestamp: 2026-03-17T15:20:33Z
channel: results
sequence: 2
parent: null
---
结果摘要
- 方法: 故事讲述角度 —— 以客户痛点开篇,逐步引出解决方案
- 字数: 1520
- 关键章节: 钩子 (Hook), 问题, 解决方案, 社交证明, 行动号召 (CTA)
- 置信度: 高 —— 遵循成熟的 AIDA 框架
留言板规则
- 仅限追加 — 绝不编辑或删除现有帖子
- 唯一文件名 —
{seq:03d}-{author}-{timestamp}.md
- 必须包含 Frontmatter — 每个帖子必须包含作者、时间戳和频道