Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Agent Introspection Debugging

skill · affaan-m/ECCMIT licenceAudited 19 Sep 2026 · source e9ca581a4f44

★ 262,423pushed today
✓SAFEGrade B · 89/100 · 19 Sep 2026 · e9ca581
262,423repo stars · whole affaan-m/ECC

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e9ca581a4f44 and found no filesystem, network or shell access and no hard-coded secrets. What it does: キャプチャ、診断、封じ込め回復、内省レポートを使用した AI エージェント障害のための構造化された自己デバッグワークフロー。

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Agent Introspection Debugging (affaan-m/ECC)”. Retrieved 19 Sep 2026. https://modelsatlas.com/skills/affaan-m/agent-introspection-debugging

Trust audit

Audit 0.4.1 · source read 19 Sep 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha e9ca581a4f44 · 19 Sep 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisheraffaan-m GitHub userOwner of the repository this skill is read from
  • Source folderaffaan-m/ECC/docs/ja-JP/skills/agent-introspection-debuggingThe exact folder we audited
  • LicenceMITAs the repository states it
  • Commit pinned for this verdicte9ca581a4f44A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: キャプチャ、診断、封じ込め回復、内省レポートを使用した AI エージェント障害のための構造化された自己デバッグワークフロー。

---
name: agent-introspection-debugging
description: キャプチャ、診断、封じ込め回復、内省レポートを使用した AI エージェント障害のための構造化された自己デバッグワークフロー。
origin: ECC
---

# エージェント内省デバッグ

エージェント実行が繰り返し失敗している、進展なくトークンを消費している、同じツールをループしている、または意図したタスクから逸脱している場合にこのスキルを使用します。

これはワークフロースキルであり、隠れたランタイムではありません。エージェントが人間にエスカレーションする前に体系的に自己デバッグするよう教えます。

## 起動タイミング

- ツール呼び出しの最大数 / ループ制限の失敗
- 前進なしの繰り返しリトライ
- 出力品質の低下を招くコンテキストの増大またはプロンプトのドリフト
- 期待と現実の間でのファイルシステムや環境状態の不一致
- 診断とより小さな修正アクションで回復可能なツールの失敗

## スコープ境界

このスキルを起動するのは以下の場合:
- 盲目的にリトライする前に障害状態をキャプチャする
- エージェント固有の一般的な障害パターンを診断する
- 封じ込め回復アクションを適用する
- 構造化された人間が読めるデバッグレポートを生成する

このスキルを主なソースとして使用しない場合:
- コード変更後の機能検証; `verification-loop` を使用
- より狭い ECC スキルが既に存在するフレームワーク固有のデバッグ
- 現在のハーネスが自動的に強制できないランタイムの約束

## 四フェーズループ

### フェーズ 1: 障害キャプチャ

回復を試みる前に、障害を正確に記録します。

キャプチャ内容:
- エラーの種類、メッセージ、スタックトレース(利用可能な場合)
- 最後の意味のあるツール呼び出しシーケンス
- エージェントが何をしようとしていたか
- 現在のコンテキスト圧力:繰り返されるプロンプト、過大なペーストされたログ、重複した計画、暴走するノート
- 現在の環境の前提:cwd、ブランチ、関連するサービス状態、期待されるファイル

最小キャプチャテンプレート:

```markdown
## 障害キャプチャ
- セッション / タスク:
- 進行中の目標:
- エラー:
- 最後に成功したステップ:
- 最後に失敗したツール / コマンド:
- 観察された繰り返しパターン:
- 検証すべき環境の前提:
```

### フェーズ 2: 根本原因診断

何も変更する前に、障害を既知のパターンに照合します。

| パターン | 考えられる原因 | チェック |
| --- | --- | --- |
| ツール呼び出しの最大数 / 同じコマンドの繰り返し | ループまたは出口なしのオブザーバーパス | 最後の N 回のツール呼び出しを繰り返しについて検査する |
| コンテキストオーバーフロー / 推論の低下 | 無制限のノート、繰り返される計画、過大なログ | 最近のコンテキストを重複と低シグナルのバルクについて検査する |
| `ECONNREFUSED` / タイムアウト | サービスが利用不可または間違ったポート | サービスの健全性、URL、ポートの前提を確認する |
| `429` / クォータ枯渇 | リトライストームまたはバックオフなし | 繰り返し呼び出しを数え、リトライ間隔を検査する |
| 書き込み後にファイルが見つからない / 古い差分 | レース、間違った cwd、またはブランチドリフト | パス、cwd、git ステータス、実際のファイル存在を再確認する |
| 「修正」後もテストが失敗し続ける | 間違った仮説 | 失敗している正確なテストを分離し、バグを再導出する |

診断の質問:
- これはロジックの失敗か、状態の失敗か、環境の失敗か、ポリシーの失敗か?
- エージェントは実際の目標を見失い、間違ったサブタスクを最適化し始めたか?
- 障害は決定論的か一時的か?
- 診断を検証する最小の可逆的アクションは何か?

### フェーズ 3: 封じ込め回復

診断の表面を変える最小のアクションで回復します。

安全な回復アクション:
- 繰り返しのリトライを停止し、仮説を再述べる
- 低シグナルのコンテキストを削除し、アクティブな目標、ブロッカー、エビデンスのみを保持する
- 実際のファイルシステム / ブランチ / プロセス状態を再確認する
- タスクを 1 つの失敗しているコマンド、1 つのファイル、または 1 つのテストに絞り込む
- 推測的な推論から直接観察に切り替える
- 障害が高リスクまたは外部的にブロックされている場合は人間にエスカレーションする

現在の環境の実際のツールを通じて実際にそれらを行っていない限り、「エージェント状態をリセット」または「ハーネス設定を更新」のような自動回復アクションを主張しないこと。

封じ込め回復チェックリスト:

```markdown
## 回復アクション
- 選択した診断:
- 取った最小アクション:
- なぜこれが安全か:
- 修正が機能したことを証明するエビデンスは何か:
```

### フェーズ 4: 内省レポート

次のエージェントや人間が回復を理解できるレポートで終了します。

```markdown
## エージェント自己デバッグレポート
- セッション / タスク:
- 障害:
- 根本原因:
- 回復アクション:
- 結果: 成功 | 部分的 | ブロック中
- トークン / 時間の消費リスク:
- 必要なフォローアップ:
- 後でエンコードすべき予防的変更:
```

## 回復ヒューリスティクス

この順序で介入を優先する:

1. 実際の目標を一文で再述べる。
2. メモリを信頼するのではなく世界の状態を確認する。
3. 失敗しているスコープを縮小する。
4. 1 つの識別チェックを実行する。
5. その後にのみリトライする。

悪いパターン:
- わずかに異なる言葉で同じアクションを 3 回リトライする

良いパターン:
- 障害をキャプチャする
- パターンを分類する
- 1 つの直接チェックを実行する
- チェックがサポートする場合にのみ計画を変更する

## ECC との統合

- コードが変更された場合、回復後に `verification-loop` を使用する。
- 障害パターンが本能や将来のスキルに変える価値がある場合は `continuous-learning-v2` を使用する。
- 問題が技術的な失敗ではなく決定の曖昧さである場合は `council` を使用する。
- 障害が競合するローカル状態やリポジトリのドリフトから来た場合は `workspace-surface-audit` を使用する。

## 出力標準

このスキルがアクティブな場合、「修正しました」だけで終わらないこと。

常に提供する:
- 障害パターン
- 根本原因の仮説
- 回復アクション
- 状況が改善されたまたはまだブロックされているエビデンス

Excerpt, first 3,051 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit e9ca581

Download folder ↗
git clone https://github.com/affaan-m/ECC
git -C ECC checkout e9ca581a4f44

The author documents no install command, so this uses the repository directly. Our verdict covers commit e9ca581a4f44 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source e9ca581a4f44

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/affaan-m/agent-introspection-debugging/badge.svg)](https://modelsatlas.com/skills/affaan-m/agent-introspection-debugging/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

eval-harness✓SAFE

affaan-m/everything-claude-code

Eval-driven development (EDD) framework for AI coding sessions — define capability and regression evals before coding, grade with code-based, model-based, rule, or human graders, and track pass@k and pass^k reliability.…

★ 303kGrade B
ecc-recipes✓SAFE

affaan-m/everything-claude-code

Map a described workflow to the right ECC command group with run-order and stop condition, or browse all command-group recipe families read live from the commands directory. Advisory only — never executes. Use when…

★ 302kGrade B
dynamic-workflow-mode✓SAFE

affaan-m/everything-claude-code

Design task-local harnesses, eval gates, and reusable skill extraction for Claude dynamic workflow mode and other adaptive agent harnesses. Use when building a task-local harness, adding eval gates, or extracting a…

★ 302kGrade B
django-verification!CAUTION

affaan-m/everything-claude-code

Run the full Django verification loop — environment check, mypy/ruff/black linting, migration safety, pytest with coverage targets, pip-audit and bandit security scans, settings and logging review, and diff review —…

★ 294kGrade B
django-patterns✓SAFE

affaan-m/everything-claude-code

Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps. Use when building or reviewing Django apps, DRF APIs, ORM queries, or caching.

★ 294kGrade B
django-security✓SAFE

affaan-m/everything-claude-code

Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations. Use when reviewing Django authentication, authorization,…

★ 294kGrade B

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/affaan-m/agent-introspection-debugging/badge.svg)](https://modelsatlas.com/skills/affaan-m/agent-introspection-debugging/)

Questions about Agent Introspection Debugging

What does the Agent Introspection Debugging skill do?
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Is Agent Introspection Debugging safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Agent Introspection Debugging access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (e9ca581a4f44), read on 2026-09-19. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.