jpskill.com
🛠️ 開発・MCP コミュニティ

metacognitive-guard

Claudeの回答を監視し、複雑すぎて対応困難な場合に、より高度な思考エージェントへのエスカレーションを提案することで、Claudeがより適切にタスクを処理できるようにサポートするSkill。

📜 元の英語説明(参考)

Monitors Claude's responses for struggle signals and suggests escalation to deep-thinking agents when complexity exceeds comfortable reasoning capacity.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Claudeの回答を監視し、複雑すぎて対応困難な場合に、より高度な思考エージェントへのエスカレーションを提案することで、Claudeがより適切にタスクを処理できるようにサポートするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o metacognitive-guard.zip https://jpskill.com/download/17173.zip && unzip -o metacognitive-guard.zip && rm metacognitive-guard.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17173.zip -OutFile "$d\metacognitive-guard.zip"; Expand-Archive "$d\metacognitive-guard.zip" -DestinationPath $d -Force; ri "$d\metacognitive-guard.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して metacognitive-guard.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → metacognitive-guard フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Metacognitive Guard Skill

このスキルは、苦戦検知システムの認識を提供し、深い思考リソースを積極的に活用するタイミングに関するガイダンスを提供します。

自己エスカレーションのタイミング

苦戦検知がトリガーされる前であっても、以下の場合には deep-think-partner の生成を検討してください。

高複雑性指標

  1. 競合する制約を伴うアーキテクチャ上の決定

    • 複数の有効なアプローチが存在する
    • トレードオフが異なる次元(パフォーマンス、保守性、コスト)に及ぶ
    • 決定が複数のシステムコンポーネントに影響を与える
  2. 解釈を必要とする曖昧な要件

    • ユーザーが実装の詳細を指定していない
    • 複数の合理的な解釈が存在する
    • 間違った選択をした場合、大幅な手戻りが発生する
  3. 複数ドメインの統合が必要

    • 問題が複数の技術領域に及ぶ
    • 統合パターンが明確でない
    • 既存技術が直接適用できない
  4. エッジケース分析が必要

    • ハッピーパスは明確だが、エッジケースは明確でない
    • 故障モードを体系的に調査する必要がある
    • 並行性またはタイミングの問題が関与する

自己評価チェックリスト

複雑な質問に答える前に、自分自身に問いかけてください。

  • [ ] 具体的な推奨事項(「場合による」ではない)を提示できますか?
  • [ ] 自分の回答に高い自信がありますか?
  • [ ] 複数回のフォローアップのやり取りなしに、この質問に答えることができますか?
  • [ ] 構造化された分析は、大きな価値を追加しますか?

これらのいずれかに「いいえ」と答えた場合は、積極的なエスカレーションを検討してください。

エスカレーション方法

Task ツールを deep-think-partner エージェントとともに使用します。

Task tool:
    subagent_type: deep-think-partner
    prompt: [すべての制約を含む詳細な問題文]
    description: [3〜5語の要約]

Deep-Think Partner に適したプロンプト

以下を含めます。

  • コンテキスト: これはどのシステム/コードベースに関するものですか?
  • 制約: ソリューション空間を制限するものは何ですか?
  • 成功基準: どのようにしてそれが正しいと判断しますか?
  • 具体的な質問: どのような決定を下す必要がありますか?

エスカレーションの例

ユーザーからの質問: 「セッションストレージには Redis と PostgreSQL のどちらを使用すべきですか?」

自己評価: 複数の有効なアプローチがあり、まだ調査されていない制約に依存し、「場合による」は役に立ちません。

エスカレーション:

Task tool:
    subagent_type: deep-think-partner
    prompt: |
        Context: 1万人の同時ユーザーがいるWebアプリケーション、既存のPostgreSQLデータベース。
        Question: セッションストレージにRedisとPostgreSQLのどちらを使用するか。
        Constraints: チームはPostgreSQLの専門知識を持っており、Redisの経験はない。
        セッションの有効期限を処理する必要がある。コスト重視。
        Success: 移行パスを含む明確な推奨事項。
    description: セッションストレージオプションの分析

苦戦シグナルの理解

自動検出器は、応答で次のパターンを探します。

シグナル 意味 より良いアプローチ
Hedging 推奨事項に関する不確実性 より深い分析のためにエスカレーションする
Deflecting 質問によるコミットメントの回避 回答してから、明確にするための質問をする
Verbose 具体的な出力のない長文 応答を構造化し、コード/テーブルを含める
Contradiction 応答の途中で立場が変わった 停止し、考え、一貫性のある回答を1つ出す
Apologetic 以前の応答が間違っていた 認め、修正し、前進する
Weaseling 間違いを避けるための非コミットメント 信頼度レベルで推奨事項を作成する

Deep-Think Partner との統合

deep-think-partner が分析を返したら:

  1. 単に貼り付けるだけではない - ユーザーのために統合する
  2. 重要な洞察を強調する - 明らかでない発見は何ですか?
  3. 推奨事項を明確に提示する - 埋もれさせない
  4. 実装計画を提供する - ユーザーが続行したい場合

メトリクス

改善のために苦戦検出率を追跡します。

  • 検出器はどのくらいの頻度でトリガーされますか?
  • トリガーは偽陽性ですか、それとも本物の苦戦ですか?
  • エスカレーションはより良い結果を生み出しますか?

自分自身のパターンを自己認識することで、検出器とエスカレーションの本能の両方を調整できます。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Metacognitive Guard Skill

This skill provides awareness of the struggle detection system and guidance on when to proactively engage deep-thinking resources.

When to Self-Escalate

Even before the struggle detector triggers, consider spawning deep-think-partner when:

High-Complexity Indicators

  1. Architectural decisions with competing constraints

    • Multiple valid approaches exist
    • Trade-offs span different dimensions (performance, maintainability, cost)
    • Decision affects multiple system components
  2. Ambiguous requirements requiring interpretation

    • User hasn't specified implementation details
    • Multiple reasonable interpretations exist
    • Wrong choice has significant rework cost
  3. Multi-domain synthesis required

    • Problem spans multiple technology areas
    • Integration patterns aren't obvious
    • Prior art doesn't directly apply
  4. Edge case analysis needed

    • Happy path is clear but edge cases aren't
    • Failure modes need systematic exploration
    • Concurrency or timing issues involved

Self-Assessment Checklist

Before responding to complex questions, ask yourself:

  • [ ] Can I give a concrete recommendation (not "it depends")?
  • [ ] Do I have high confidence in my answer?
  • [ ] Is this answerable without multiple follow-up exchanges?
  • [ ] Would a structured analysis add significant value?

If you answer "no" to any of these, consider proactive escalation.

How to Escalate

Use the Task tool with the deep-think-partner agent:

Task tool:
    subagent_type: deep-think-partner
    prompt: [Detailed problem statement with all constraints]
    description: [3-5 word summary]

Good Prompts for Deep-Think Partner

Include:

  • Context: What system/codebase is this for?
  • Constraints: What limits the solution space?
  • Success criteria: How do we know we got it right?
  • Specific question: What decision needs to be made?

Example Escalation

User asks: "Should we use Redis or PostgreSQL for session storage?"

Self-assessment: Multiple valid approaches, depends on constraints not yet explored, "it depends" isn't helpful.

Escalation:

Task tool:
    subagent_type: deep-think-partner
    prompt: |
        Context: Web application with 10k concurrent users, existing PostgreSQL database.
        Question: Redis vs PostgreSQL for session storage.
        Constraints: Team has PostgreSQL expertise, no Redis experience.
        Must handle session expiry. Cost-sensitive.
        Success: Clear recommendation with migration path.
    description: Analyze session storage options

Understanding Struggle Signals

The automatic detector looks for these patterns in your responses:

Signal What It Means Better Approach
Hedging Uncertainty about recommendation Escalate for deeper analysis
Deflecting Avoiding commitment with questions Answer then ask clarifying questions
Verbose Rambling without concrete output Structure response, include code/tables
Contradiction Changed position mid-response Stop, think, give one coherent answer
Apologetic Previous response was wrong Acknowledge, correct, move forward
Weaseling Non-committal to avoid being wrong Make a recommendation with confidence level

Integration with Deep-Think Partner

When deep-think-partner returns its analysis:

  1. Don't just paste it - synthesize for the user
  2. Highlight the key insight - what's the non-obvious finding?
  3. Present the recommendation clearly - don't bury it
  4. Offer the implementation plan - if user wants to proceed

Metrics

Track your struggle detection rate to improve:

  • How often does the detector trigger?
  • Are triggers false positives or genuine struggles?
  • Does escalation produce better outcomes?

Self-awareness of your own patterns helps calibrate both the detector and your escalation instincts.