Reflection Coachのロゴ

Reflection Coach

組織人気
paperclipai
reflection-coach

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.

概要

公開者paperclipai
リポジトリpaperclip
スキル名reflection-coach
スター
95.4K
フォーク
16.2K
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    paperclipaiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Reflection Coach」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/paperclipai/paperclip/tree/master/packages/skills-catalog/catalog/bundled/paperclip-operations/reflection-coach
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/paperclipai/paperclip.git /tmp/paperclip
mkdir -p .claude/skills
cp -r /tmp/paperclip/packages/skills-catalog/catalog/bundled/paperclip-operations/reflection-coach .claude/skills/reflection-coach
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでReflection Coachを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にReflection Coachを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Reflection Coachは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.
  • windowHours or issueCount — 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.md may 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

sh
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

sh
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:

sh
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.md at adapterConfig.instructionsFilePath.
  • Their assigned skills (from step 1).
  • Any MEMORY.md / memory/ files in their cwd if the adapter uses para-memory-files.

If a rule you were about to propose is already present, drop it. A failure pattern despite an existing rule is a different finding — record it as "existing rule X is not being followed" and propose how to make it stick (move to a skill, add a negative example, strengthen the trigger), not a duplicate.

4) Cluster the failures

Name each cluster from this taxonomy:

  • verifier-miss — agent claimed done; reviewer rejected.
  • avoidable-rework — same issue reopened more than once.
  • stale-context — acted on an assumption already falsified in-thread.
  • instruction-miss — violated an existing rule in AGENTS.md.
  • late-escalation — stayed blocked too long without escalating.
  • human-correction — a user explicitly said to do X differently.
  • tool-misuse — hit the same tool-error pattern repeatedly.
  • scope-creep — changes beyond task scope.

For each cluster keep a list of (issueId, commentId, one-line evidence quote) tuples. No cluster survives without at least 2 evidence tuples — one-offs are not patterns.

5) Route each cluster to a target surface

  • Agent-specific, narrow, cheap to state → AGENTS.md update. E.g. "always re-run failing tests before marking in_review."
  • Generalizable, multi-step procedure with when-to-use logic → new or updated reusable skill.
  • Both → update/create the skill AND add a pointer line in AGENTS.md so the agent knows when to reach for it. Common case for non-obvious procedures.
  • Tool description → only if the failure was "agent didn't know when to use tool X" and a ≤500-char description change fixes it.

Sanity check reuse honestly: a rule that applies to all coders belongs in a shared skill; a "reusable skill" that only fits one role belongs in that agent's AGENTS.md.

6) Draft the proposal document

Create a document attached to the reflection issue (never the target's issues). One section per cluster:

markdown
## Cluster: <name>

**Pattern (1 sentence, quotable):**
**Root cause hypothesis:**
**Evidence (≥2):**
- [PAP-NNN](/PAP/issues/PAP-NNN) — "<verbatim fragment>"
- [PAP-MMM](/PAP/issues/PAP-MMM) — "<verbatim fragment>"

**Proposed change:**
- Target surface: AGENTS.md | skill:<slug> | both | tool-description:<tool>
- Diff (inline, minimal, ≤20% AGENTS.md growth / ≤15KB skill):
    ```diff
    ...
    ```

**Expected still-passes (replay):**
- [PAP-XXX](/PAP/issues/PAP-XXX), [PAP-YYY](/PAP/issues/PAP-YYY)

**Why this change, not something bigger:**
(1–2 sentences on why you didn't rewrite more.)

7) Write the actual drafts (files, not just prose)

  • Skill surface — draft a full SKILL.md (frontmatter → Overview → When to use → Process → Pitfalls → Verification), ≤ 15KB. Put it under drafts/<skill-slug>/SKILL.md and attach it to the reflection issue.
  • AGENTS.md surface — write a unified diff against the target's current AGENTS.md. Do not rewrite the whole file; quote 1–3 lines of context per change. Keep total growth ≤ +20%; split if you can't.

8) Benchmark-gate the proposal

For each pinned replay issue, ask: "If this rule had been in effect, would the agent still have succeeded?" Drop or reword any rule that would have blocked a past success without a clear reason. Record the walk in "Expected still-passes." This is a lightweight stand-in for a real replay harness — the discipline is the point.

9) Publish and request acceptance

From a reflection issue (assigned to the target's manager or the requester):

  1. Attach the proposal document: PUT /api/issues/{issueId}/documents/reflection-proposal.
  2. If a draft skill was written, commit it under skills/<skill-slug>/ (or attach it) and link it in the proposal.
  3. Open the acceptance gate with a task interaction on the reflection issue. Mutations that change instructions, skills, or tool descriptions must use request_confirmation, show the diff in payload.detailsMarkdown, set continuationPolicy: wake_assignee_on_accept, and include the exact payload.target.key listed below.
  4. Leave a comment summarizing: target agent, window, clusters found, surfaces touched, link to the proposal, link to the interaction, and the next-step owner.

Server-enforced mutation target keys:

  • Agent instructions: agent:<agentId>:instructions
  • Agent/tool description fields: agent:<agentId>:profile
  • Existing company skill: skill:<skillId>
  • New local company skill by slug: skill-slug:<slug>
  • Imported or catalog skill source: skill-import:<source>
  • Project workspace skill scan: skills:scan-projects

10) Apply only after acceptance, in a follow-up run

When the interaction resolves accepted, apply the change in a separate run:

  • AGENTS.md — update the target's managed instruction file exactly as the accepted diff specified.
  • Skill — install/update the skill in the company library, then POST /api/agents/<targetAgentId>/skills/sync with {"mode":"add","desiredSkills":["<skill-ref>"]} when the target should receive it. Use remove only for the named assignments. Use replace only after explicit confirmation to overwrite the complete desired skill set.
  • Tool description — update the target agent's description/profile field that the accepted diff named.

The server rejects Reflection Coach mutations unless the accepted request_confirmation was created by Reflection Coach in a previous run, has a displayed diff, and is bound to the resource by one of the target keys above. If the interaction was rejected or is still pending, apply nothing. If you were asked to apply without a reviewed diff and an accepted interaction, refuse and name the gate — no-same-run-apply is load-bearing.

Pitfalls

  • Scoring without trajectories. Don't say "failed 3 times" without quoting the failures. Scores alone collapse improvement rate.
  • Proposing the bigger rewrite. Your job is the smallest change that would have prevented the cluster. Bigger feels impressive; it isn't.
  • Duplicating rules the agent already has. Read AGENTS.md + assigned skills first. An existing-but-unfollowed rule is a "make it stick" proposal, not a restatement.
  • Applying in the discovery run. Even with permission, discovery and application are separate runs behind an accepted interaction.
  • Silently expanding scope. The +20% cap exists because every new rule competes for attention. Four small proposals beat one big rewrite.
  • Promising runtime value. You are not improving the agent mid-session. This is offline, diff-reviewed, interaction-gated.

Verification (self-check before publishing)

  • targetAgentId != $PAPERCLIP_AGENT_ID
  • Each cluster has ≥2 evidence tuples with a linked issue + verbatim quote
  • Each proposal names the target surface explicitly and includes the diff (not just prose)
  • AGENTS.md growth ≤ 20%, skills ≤ 15KB, tool descriptions ≤ 500 chars
  • Replay set has ≥3 past issues the rules still pass against
  • Proposal document linked from the reflection issue
  • An acceptance interaction (showing the diff) is open before any mutation
  • No claim that the target has already "been updated" before acceptance + follow-up run

よくある質問

AIスキル「Reflection Coach」では何ができますか?

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.

TypingMindでReflection Coachを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Reflection Coachはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにReflection Coachをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/paperclipai/paperclip/tree/master/packages/skills-catalog/catalog/bundled/paperclip-operations/reflection-coachを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Reflection Coachを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Reflection Coachで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもReflection Coachを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Reflection Coach」は無料ですか?

はい。paperclipaiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇