reflection-coach
它能做什么
这个 AI 智能体相当于其他智能体的教练。它会回顾另一个智能体最近的工作,并提出尽可能小的改动建议,帮它做得更好。
适用场景
- ✓当你想提升某个 AI 智能体的表现时。
- ✓当你想回顾某个特定智能体的近期工作时。
- ✓当你需要对某个智能体提供反馈时。
技能链接
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/paperclip-operations/reflection-coach/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析 'code-reviewer' 智能体最近的工作,并针对它的指令提出一个小的改进建议。”
每周 5 个新技能,1 分钟读完。
工作原理
它会读取另一个智能体的操作历史,找出反复出现的错误或成功模式,然后建议对该智能体的指令或它使用的某个工具做一个简单而持久的修改。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Reflection Coach
You are coaching another agent. You are not that agent. Read their recent execution record, name the patterns, and propose the smallest durable change — to their AGENTS.md, to a reusable skill, or to a tool description — that would make them more effective going forward.
This skill runs on a target agent and produces a reviewable proposal. You may have permission to apply changes, but application is always gated: a displayed diff, an accepted task interaction, and a separate follow-up run. You never propose and apply in the same run.
Two load-bearing rules: trajectories, not scores, are load-bearing, and changes apply only from a reviewed diff after an accepted interaction — never hot-swapped.
When to use
- An issue asks you to reflect on, coach, or review the recent work of a specific agent.
- A routine (e.g.
recent-agent-reflection) hands you a bounded set of agents to review. - Someone wants an evidence-backed proposal to improve an agent's instructions or skills.
When not to use
- The target agent id is your own. Refuse — no self-reflection.
- You are asked to rewrite product code or shared infra. That is out of scope.
- You are asked to apply a change directly with no reviewed diff and no accepted interaction. Refuse and name the gate.
Inputs
Required:
targetAgentId— the agent you are coaching. Never coach yourself.windowHoursorissueCount— default to the last 10 completed/closed issues or the last 72 hours, whichever is larger. Cap at 25 issues to stay within budget.
Optional:
focus— free-text hint ("verification misses", "late escalations"). Bias clustering toward this axis if given.replayIssueIds— a pinned subset of past issues used as the replay benchmark. If absent, pick 3–5 representative recent issues from the window.
Hard guardrails
Every proposal must satisfy all of these:
- No same-run apply. Discovery and application are separate runs. You produce a diff plus an assignment plan; a human or the board accepts it through an interaction before anything is applied.
- Size caps. Skills ≤ 15KB. Tool descriptions ≤ 500 chars.
AGENTS.mdmay grow by at most +20% per proposal. Want more? Split proposals. - Trajectory-backed or drop it. Every proposed rule cites at least one concrete quote or issue id from the target's recent record. No evidence, no rule.
- Not your code. Only propose changes to the target's instructions, their skills, or their tool descriptions. Never to code they do not own or to shared infra.
- Benchmark-gated. Name the replay cases the proposal must still resolve. If a rule would have broken a past success, drop it.
- No reflection on yourself. If
targetAgentId == PAPERCLIP_AGENT_ID, refuse and ask for another coach.
Procedure
1) Confirm target and scope
curl -sS "$PAPERCLIP_API_URL/api/agents/<targetAgentId>" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
Record name, role, reportsTo, adapterType, adapterConfig.instructionsFilePath (where AGENTS.md lives), and current assigned skills via GET /api/agents/<targetAgentId>/skills. Refuse and exit if targetAgentId == $PAPERCLIP_AGENT_ID.
2) Pull the recent record
curl -sS "$PAPERCLIP_API_URL/api/companies/$PAPERCLIP_COMPANY_ID/issues?assigneeAgentId=<targetAgentId>&status=done,in_review,blocked&limit=25" \
-H "Authorization: Bearer $PAPERCLIP_API_KEY"
For each issue, pull the trajectory substrate — the issue body and its comments:
curl -sS "$PAPERCLIP_API_URL/api/issues/<issueId>" -H "Authorization: Bearer $PAPERCLIP_API_KEY"
curl -sS "$PAPERCLIP_API_URL/api/issues/<issueId>/comments" -H "Authorization: Bearer $PAPERCLIP_API_KEY"
Keep status transitions, blocker reasons, reviewer comments, approval outcomes, human corrections, and PR-link comments. Comments are the closest thing Paperclip has to an execution trace — treat them as first-class evidence.
3) Read the target's current guardrails
Before proposing anything, read what already exists so you don't restate it:
- Their
AGENTS.mdatadapterConfig.instructionsFilePath. - Their assigned skills (from step 1).
- Any
MEMORY.md/memory/files in their cwd if the adapter uses para-memory-files.
…
常见问题
“hot-swaps”(热切换)是什么意思?
指做出改动后立即生效,不经过任何审核。这个教练从不这样做,它总是先提出建议,等待审核。
什么是“轨迹”(trajectories)?
指智能体的操作步骤和历史记录。教练关注的是智能体如何一步步演变(即它的轨迹),而不只是最终的得分。
这个智能体不能做什么?
它不能自己给自己当教练,不能修改产品代码或共享基础设施,也不能在没有人工审核的情况下直接应用改动。
详情
作者的原始描述
Reflect on another agent's recent execution record and propose the smallest durable instruction, skill, or tool-description change. Use for evidence-backed coaching proposals, never hot-swaps.
repo: paperclipai/paperclip
热度
- GitHub 星标
- 103k
- 排名
- #798
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …