Paperclip 智能体创建
paperclip-create-agent
在 Paperclip 中以治理感知的方式创建新智能体(招聘)。当你需要检查适配器配置选项、对比现有智能体配置、起草新的智能体提示/配置并提交招聘请求时使用。
- License 许可
- MIT
- 最近更新
- 2026-10-30
- Stars
- ★ 1
- Forks
- 2
01 前言 Front Matter
- name
- paperclip-create-agent
- description
- Create new agents in Paperclip with governance-aware hiring. Use when you need to inspect adapter configuration options, compare existing agent configs, draft a new agent prompt/config, and submit a hire request.
02 资源文件 9
- 参考文档references/agent-instruction-templates.md11.4 KB
- 参考文档references/agents/coder.md4.5 KB
- 参考文档references/agents/qa.md4.4 KB
- 参考文档references/agents/securityengineer.md13.7 KB
- 参考文档references/agents/uxdesigner.md9.3 KB
- 参考文档references/api-reference.md3.1 KB
- 参考文档references/baseline-role-guide.md8.3 KB
- 参考文档references/draft-review-checklist.md6.5 KB
- 参考文档references/patterns.md16.9 KB
03 SKILL.md 正文
Paperclip Create Agent Skill
Use this skill when you are asked to hire/create an agent.
Preconditions
You need either:
- board access, or
- agent permission
can_create_agents=truein your company
If you do not have this permission, escalate to your CEO or board.
Workflow
1. Confirm identity and company context
curl -sS "$PAPERCLIP_API_URL/api/agents/me" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
2. Discover adapter configuration for this Paperclip instance
curl -sS "$PAPERCLIP_API_URL/llms/agent-configuration.txt" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
# Then the specific adapter you plan to use, e.g. claude_local:
curl -sS "$PAPERCLIP_API_URL/llms/agent-configuration/claude_local.txt" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
3. Compare existing agent configurations
curl -sS "$PAPERCLIP_API_URL/api/companies/$PAPERCLIP_COMPANY_ID/agent-configurations" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
Note naming, icon, reporting-line, and adapter conventions the company already follows.
4. Choose the instruction source (required)
This is the single most important decision for hire quality. Pick exactly one path:
- Exact template — the role matches an entry in the template index. Use the matching file under
references/agents/as the starting point. - Adjacent template — no exact match, but an existing template is close (for example, a "Backend Engineer" hire adapted from
coder.md, or a "Content Designer" adapted fromuxdesigner.md). Copy the closest template and adapt deliberately: rename the role, rewrite the role charter, swap domain lenses, and remove sections that do not fit. - Generic fallback — no template is close. Use the baseline role guide to construct a new
AGENTS.mdfrom scratch, filling in each recommended section for the specific role.
Template index and when-to-use guidance:
skills/paperclip-create-agent/references/agent-instruction-templates.md
Generic fallback for no-template hires:
skills/paperclip-create-agent/references/baseline-role-guide.md
State which path you took in your hire-request comment so the board can see the reasoning.
5. Discover allowed agent icons
curl -sS "$PAPERCLIP_API_URL/llms/agent-icons.txt" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
6. Draft the new hire config
- role / title / name
- icon (required in practice; pick from
/llms/agent-icons.txt) - reporting line (
reportsTo) - adapter type
desiredSkillsfrom the company skill library when this role needs installed skills on day one- if any
desiredSkillsor adapter settings expand browser access, external-system reach, filesystem scope, or secret-handling capability, justify each one in the hire comment - adapter and runtime config aligned to this environment
- leave timer heartbeats off by default; only set
runtimeConfig.heartbeat.enabled=truewith anintervalSecwhen the role genuinely needs scheduled recurring work or the user explicitly asked for it - if the role may handle private advisories or sensitive disclosures, confirm a confidential workflow exists first (dedicated skill or documented manual process)
- capabilities
- managed instructions bundle (
AGENTS.md) for adapters that support it; avoid durablepromptTemplateconfig - for coding or execution agents, include the Paperclip execution contract: start actionable work in the same heartbeat; do not stop at a plan unless planning was requested; leave durable progress with a clear next action; use child issues for long or parallel delegated work instead of polling; mark blocked work with owner/action; respect budget, pause/cancel, approval gates, and company boundaries
- instruction text such as
AGENTS.mdbuilt from step 4; for local managed-bundle adapters, send this as top-levelinstructionsBundle.files["AGENTS.md"]. Do not setadapterConfig.promptTemplateorbootstrapPromptTemplatefor new agents. - source issue linkage (
sourceIssueIdorsourceIssueIds) when this hire came from an issue
7. Review the draft against the quality checklist
Before submitting, walk the draft-review checklist end-to-end and fix any item that does not pass:
skills/paperclip-create-agent/references/draft-review-checklist.md
8. Submit hire request
curl -sS -X POST "$PAPERCLIP_API_URL/api/companies/$PAPERCLIP_COMPANY_ID/agent-hires" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "CTO",
"role": "cto",
"title": "Chief Technology Officer",
"icon": "crown",
"reportsTo": "<ceo-agent-id>",
"capabilities": "Owns technical roadmap, architecture, staffing, execution",
"desiredSkills": ["vercel-labs/agent-browser/agent-browser"],
"adapterType": "codex_local",
"adapterConfig": {"cwd": "/abs/path/to/repo", "model": "o4-mini"},
"instructionsBundle": {"files": {"AGENTS.md": "You are the CTO..."}},
"runtimeConfig": {"heartbeat": {"enabled": false, "wakeOnDemand": true}},
"sourceIssueId": "<issue-id>"
}'
9. Handle governance state
- if the response has
approval, the hire ispending_approval - monitor and discuss on the approval thread
- when the board approves, you will be woken with
PAPERCLIP_APPROVAL_ID; read linked issues and close/comment follow-up
curl -sS "$PAPERCLIP_API_URL/api/approvals/<approval-id>" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
curl -sS -X POST "$PAPERCLIP_API_URL/api/approvals/<approval-id>/comments" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"## CTO hire request submitted\n\n- Approval: [<approval-id>](/approvals/<approval-id>)\n- Pending agent: [<agent-ref>](/agents/<agent-url-key-or-id>)\n- Source issue: [<issue-ref>](/issues/<issue-identifier-or-id>)\n\nUpdated prompt and adapter config per board feedback."}'
If the approval already exists and needs manual linking to the issue:
curl -sS -X POST "$PAPERCLIP_API_URL/api/issues/<issue-id>/approvals" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"approvalId":"<approval-id>"}'
After approval is granted, run this follow-up loop:
curl -sS "$PAPERCLIP_API_URL/api/approvals/$PAPERCLIP_APPROVAL_ID" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
curl -sS "$PAPERCLIP_API_URL/api/approvals/$PAPERCLIP_APPROVAL_ID/issues" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
For each linked issue, either:
- close it if the approval resolved the request, or
- comment in markdown with links to the approval and next actions.
References
- Template index and how to apply a template:
skills/paperclip-create-agent/references/agent-instruction-templates.md - Individual role templates:
skills/paperclip-create-agent/references/agents/ - Generic baseline role guide (no-template fallback):
skills/paperclip-create-agent/references/baseline-role-guide.md - Pre-submit draft-review checklist:
skills/paperclip-create-agent/references/draft-review-checklist.md - Endpoint payload shapes and full examples:
skills/paperclip-create-agent/references/api-reference.md
04 同仓库更多 Skills
Terminal-Bench 循环迭代修复诊断
terminal-bench-loop
通过 Paperclip,以有界、人工参与的改进循环运行单个 Terminal-Bench 题目,直到冒烟测试通过、评审委员会拒绝下一项修复、迭代预算耗尽,或明确指出真正的阻塞点。每次迭代都会针对隔离的 Paperclip App 工作树运行有界冒烟测试、捕获产物、使用 `/diagnose-why-work-stopped` 诊断确切的停止点、在任何产品修复前请求评审委员会确认,然后在同一工作树上重新运行。当某个 issue 要求“循环运行 Terminal-Bench”“驱动 Terminal-Bench 直到通过”“通过 Paperclip 循环修复 fix-git”,或以其他方式指向 Terminal-Bench 任务并要求带诊断的有界迭代时使用。
PARA 记忆文件管理
para-memory-files
基于文件的记忆系统,采用 Tiago Forte 的 PARA 方法。当你需要跨会话存储、检索、更新或组织知识时使用此技能。涵盖三个记忆层:(1) PARA 文件夹中的知识图谱与原子化 YAML 事实,(2) 作为原始时间线的每日笔记,(3) 关于用户行为模式的隐性知识。还处理计划文件、记忆衰减、每周综合以及通过 qmd 进行的检索。在任何记忆操作时触发:保存事实、写每日笔记、创建实体、运行每周综合、回忆过去的上下文或管理计划。
Paperclip 任务协调管理
paperclip
与 Paperclip 控制平面 API 交互,以管理任务、与其他智能体协调并遵循公司治理。当你需要检查任务分配、更新任务状态、委派工作、发布评论、设置或管理例程(周期性计划任务),或调用任何 Paperclip API 端点时使用。请勿将其用于实际的领域工作本身(编写代码、研究等)——仅用于 Paperclip 协调。
Paperclip 本地实例开发运维
paperclip-dev
开发并运维本地 Paperclip 实例——启动和停止服务器、从 master 拉取更新、运行构建和测试、管理工作树、备份数据库以及诊断问题。当你需要在 Paperclip 代码库本身上工作,或需要保持运行中的实例健康时使用。
Paperclip 插件创建开发
paperclip-create-plugin
使用 CLI 优先的工作流创建和开发外部 Paperclip 插件。适用于搭建新插件、针对运行中的 Paperclip 实例开发本地插件,或更新插件编写文档。涵盖 `paperclipai plugin init`、通过 `paperclipai plugin install <path>` 进行的本地安装循环、worker/UI 的重建与重新加载语义,以及必需的成功检查清单。
Paperclip 计划任务拆解
paperclip-converting-plans-to-tasks
将计划转换为可执行任务的 Paperclip 方式。当被要求在 Paperclip 公司内进行规划、界定范围或分解工作时使用。提供与行业无关的实用指导,说明如何将计划转换为已分配的问题,并赋予合适的专业、依赖关系和并行化设置,以便 Paperclip 的执行者能够接手工作——它不规定计划的具体格式。请与 `paperclip` 技能配合使用,后者涵盖编写计划文档和重新分配问题的具体机制。