paperclip-task-bridge
它能做什么
这个工具可以把 Hermes 连接到名为 Paperclip 的系统。它能根据 Hermes 中的信息,让你直接在 Paperclip 里创建、评论和更新任务。
适用场景
- ✓当你需要根据 Hermes 中的请求,在 Paperclip 里新建任务时。
- ✓当你需要为已有任务添加评论或更新状态时。
- ✓当你想查看分配给你的任务列表时。
技能链接
https://github.com/paperclipai/paperclip/blob/master/packages/adapters/hermes/skills/paperclip-task-bridge/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在 Paperclip 中创建一个任务,用来排查结账失败的问题,描述为“记录失败的请求并找出根本原因。””
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会使用特定的 API 凭证与 Paperclip 通信。它会发送创建、评论或更新任务的指令,并返回本次操作的摘要。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Paperclip Task Bridge
Use this skill when a Hermes-originated request needs to create or update Paperclip work directly. This is the Hermes-to-Paperclip direction, separate from Paperclip waking Hermes through the hermes_local or hermes_gateway adapter.
Required Environment
Configure these in Hermes env/profile secrets, not in prompt text:
PAPERCLIP_API_URL- Paperclip base URL, with or without/api.PAPERCLIP_BRIDGE_API_KEY- a Paperclip agent API key created withscope.kind = "task_bridge".
Optional:
PAPERCLIP_API_KEY- fallback env var for older profiles; it must still contain atask_bridgescoped key, never a full agent key.PAPERCLIP_COMPANY_ID- skips one identity lookup when set.PAPERCLIP_AGENT_ID- skips one identity lookup when set.PAPERCLIP_RUN_ID- sent asX-Paperclip-Run-Idon mutating requests when Hermes is running inside a Paperclip heartbeat.
Never print or paste API keys. The helper reads credentials from environment variables and only prints response summaries. Do not put a normal claimed agent API key in an internet-facing Hermes runtime; normal keys can use broad same-company Paperclip routes.
Create a Bridge Key
Create the key from a board-authenticated Paperclip API session and store the returned token once:
curl -X POST "$PAPERCLIP_API_URL/api/agents/$HERMES_AGENT_ID/keys" \
-H "Authorization: Bearer $BOARD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Hermes task bridge",
"scope": {
"kind": "task_bridge",
"parentIssueId": "00000000-0000-4000-8000-000000000000"
}
}'
Use parentIssueId or parentIssueIds when Hermes should only create child tasks under approved work. Use projectId or projectIds when the approved boundary is a project. A bridge key can create tasks only inside that boundary, can comment/update only bridge-created or assigned issues, and cannot use company-wide issue list/search/read surfaces.
Helper
Run the helper from this skill directory:
node ./paperclip-task.mjs --help
Commands:
node ./paperclip-task.mjs list-assigned
node ./paperclip-task.mjs create-task --parent-id "00000000-0000-4000-8000-000000000000" --title "Investigate checkout failures" --description "Capture failing request and root cause."
node ./paperclip-task.mjs comment --issue PAP-123 --body "Found the failing request path."
node ./paperclip-task.mjs update-status --issue PAP-123 --status in_review --comment "Ready for review."
create-task defaults to assigning the task to the authenticated Hermes agent so the work is immediately actionable. Use --unassigned to create backlog work instead. Use --assignee-agent-id <uuid> only when the Paperclip API key has permission to assign work to that agent.
For multiline bodies, prefer files or stdin:
node ./paperclip-task.mjs create-task --title "Write rollout note" --description-file ./task.md
node ./paperclip-task.mjs comment --issue PAP-123 --body-file -
Workflow Expectations
- Keep tasks company-scoped by using the company resolved from the scoped agent key.
- Let Paperclip activity logging come from the normal API endpoints; do not write local logs that include credentials.
- Use comments for durable progress.
- Use
update-statusonly when the issue has a real disposition:done,in_review,blocked,todo,in_progress,backlog, orcancelled. - Use
list-assignedbefore creating duplicate work when the user asks about current Paperclip assignments.
常见问题
什么是 API 凭证?
它就像一种特殊的密码,让 Hermes 能够安全地连接并操作 Paperclip,同时不会暴露敏感信息。
我能创建任何类型的任务吗?
你只能在 API 密钥允许的范围内创建任务,比如某个指定项目或某个父任务之下。这样可以确保任务被创建在正确的位置。
我怎么知道任务是否已经存在?
在新建任务之前,先使用 'list-assigned' 命令查看已经分配给你的任务,就可以避免重复创建。
详情
作者的原始描述
Create, comment on, update, and list Paperclip tasks from Hermes using scoped Paperclip API credentials.
repo: paperclipai/paperclip
热度
- GitHub 星标
- 103k
- 排名
- #789
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …