[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FCXP46K6G7RM96537Q2TQD":3,"skill-same:01M7FCXP46K6G7RM96537Q2TQD":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7FCXP46K6G7RM96537Q2TQD","agent-introspection-debugging",null,"Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.","sakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI","sakkez","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42839026?v=4","01M7FCWFVN581VKXJCSH7AC9HM","01M7FCWFW9023NDFV5JF0MSCT9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Fagent-introspection-debugging\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: agent-introspection-debugging\ndescription: Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.\nlicense: MIT\n---\n\n# Agent Introspection Debugging\n\nUse this skill when an agent run is failing repeatedly, consuming tokens without progress, looping on the same tools, or drifting away from the intended task.\n\nThis is a workflow skill, not a hidden runtime. It teaches the agent to debug itself systematically before escalating to a human.\n\n## When to Activate\n\n- Maximum tool call \u002F loop-limit failures\n- Repeated retries with no forward progress\n- Context growth or prompt drift that starts degrading output quality\n- File-system or environment state mismatch between expectation and reality\n- Tool failures that are likely recoverable with diagnosis and a smaller corrective action\n\n## Scope Boundaries\n\nActivate this skill for:\n- capturing failure state before retrying blindly\n- diagnosing common agent-specific failure patterns\n- applying contained recovery actions\n- producing a structured human-readable debug report\n\nDo not use this skill as the primary source for:\n- feature verification after code changes; use `verification-loop`\n- framework-specific debugging when a narrower ECC skill already exists\n- runtime promises the current harness cannot enforce automatically\n\n## Four-Phase Loop\n\n### Phase 1: Failure Capture\n\nBefore trying to recover, record the failure precisely.\n\nCapture:\n- error type, message, and stack trace when available\n- last meaningful tool call sequence\n- what the agent was trying to do\n- current context pressure: repeated prompts, oversized pasted logs, duplicated plans, or runaway notes\n- current environment assumptions: cwd, branch, relevant service state, expected files\n\nMinimum capture template:\n\n```markdown\n## Failure Capture\n- Session \u002F task:\n- Goal in progress:\n- Error:\n- Last successful step:\n- Last failed tool \u002F command:\n- Repeated pattern seen:\n- Environment assumptions to verify:\n```\n\n### Phase 2: Root-Cause Diagnosis\n\nMatch the failure to a known pattern before changing anything.\n\n| Pattern | Likely Cause | Check |\n| --- | --- | --- |\n| Maximum tool calls \u002F repeated same command | loop or no-exit observer path | inspect the last N tool calls for repetition |\n| Context overflow \u002F degraded reasoning | unbounded notes, repeated plans, oversized logs | inspect recent context for duplication and low-signal bulk |\n| `ECONNREFUSED` \u002F timeout | service unavailable or wrong port | verify service health, URL, and port assumptions |\n| `429` \u002F quota exhaustion | retry storm or missing backoff | count repeated calls and inspect retry spacing |\n| file missing after write \u002F stale diff | race, wrong cwd, or branch drift | re-check path, cwd, git status, and actual file existence |\n| tests still failing after “fix” | wrong hypothesis | isolate the exact failing test and re-derive the bug |\n\nDiagnosis questions:\n- is this a logic failure, state failure, environment failure, or policy failure?\n- did the agent lose the real objective and start optimizing the wrong subtask?\n- is the failure deterministic or transient?\n- what is the smallest reversible action that would validate the diagnosis?\n\n### Phase 3: Contained Recovery\n\nRecover with the smallest action that changes the diagnosis surface.\n\nSafe recovery actions:\n- stop repeated retries and restate the hypothesis\n- trim low-signal context and keep only the active goal, blockers, and evidence\n- re-check the actual filesystem \u002F branch \u002F process state\n- narrow the task to one failing command, one file, or one test\n- switch from speculative reasoning to direct observation\n- escalate to a human when the failure is high-risk or externally blocked\n\nDo not claim unsupported auto-healing actions like “reset agent state” or “update harness config” unless you are actually doing them through real tools in the current environment.\n\nContained recovery checklist:\n\n```markdown\n## Recovery Action\n- Diagnosis chosen:\n- Smallest action taken:\n- Why this is safe:\n- What evidence would prove the fix worked:\n```\n\n### Phase 4: Introspection Report\n\nEnd with a report that makes the recovery legible to the next agent or human.\n\n```markdown\n## Agent Self-Debug Report\n- Session \u002F task:\n- Failure:\n- Root cause:\n- Recovery action:\n- Result: success | partial | blocked\n- Token \u002F time burn risk:\n- Follow-up needed:\n- Preventive change to encode later:\n```\n\n## Recovery Heuristics\n\nPrefer these interventions in order:\n\n1. Restate the real objective in one sentence.\n2. Verify the world state instead of trusting memory.\n3. Shrink the failing scope.\n4. Run one discriminating check.\n5. Only then retry.\n\nBad pattern:\n- retrying the same action three times with slightly different wording\n\nGood pattern:\n- capture failure\n- classify the pattern\n- run one direct check\n- change the plan only if the check supports it\n\n## Integration with ECC\n\n- Use `verification-loop` after recovery if code was changed.\n- Use `continuous-learning-v2` when the failure pattern is worth turning into an instinct or later skill.\n- Use `council` when the issue is not technical failure but decision ambiguity.\n- Use `workspace-surface-audit` if the failure came from conflicting local state or repo drift.\n\n## Output Standard\n\nWhen this skill is active, do not end with “I fixed it” alone.\n\nAlways provide:\n- the failure pattern\n- the root-cause hypothesis\n- the recovery action\n- the evidence that the situation is now better or still blocked\n","# Agent Introspection Debugging\n\nUse this skill when an agent run is failing repeatedly, consuming tokens without progress, looping on the same tools, or drifting away from the intended task.\n\nThis is a workflow skill, not a hidden runtime. It teaches the agent to debug itself systematically before escalating to a human.\n\n## When to Activate\n\n- Maximum tool call \u002F loop-limit failures\n- Repeated retries with no forward progress\n- Context growth or prompt drift that starts degrading output quality\n- File-system or environment state mismatch between expectation and reality\n- Tool failures that are likely recoverable with diagnosis and a smaller corrective action\n\n## Scope Boundaries\n\nActivate this skill for:\n- capturing failure state before retrying blindly\n- diagnosing common agent-specific failure patterns\n- applying contained recovery actions\n- producing a structured human-readable debug report\n\nDo not use this skill as the primary source for:\n- feature verification after code changes; use `verification-loop`\n- framework-specific debugging when a narrower ECC skill already exists\n- runtime promises the current harness cannot enforce automatically\n\n## Four-Phase Loop\n\n### Phase 1: Failure Capture\n\nBefore trying to recover, record the failure precisely.\n\nCapture:\n- error type, message, and stack trace when available\n- last meaningful tool call sequence\n- what the agent was trying to do\n- current context pressure: repeated prompts, oversized pasted logs, duplicated plans, or runaway notes\n- current environment assumptions: cwd, branch, relevant service state, expected files\n\nMinimum capture template:\n\n```markdown\n## Failure Capture\n- Session \u002F task:\n- Goal in progress:\n- Error:\n- Last successful step:\n- Last failed tool \u002F command:\n- Repeated pattern seen:\n- Environment assumptions to verify:\n```\n\n### Phase 2: Root-Cause Diagnosis\n\nMatch the failure to a known pattern before changing anything.\n\n| Pattern | Likely Cause | Check |\n| --- | --- | --- |\n| Maximum tool calls \u002F repeated same command | loop or no-exit observer path | inspect the last N tool calls for repetition |\n| Context overflow \u002F degraded reasoning | unbounded notes, repeated plans, oversized logs | inspect recent context for duplication and low-signal bulk |\n| `ECONNREFUSED` \u002F timeout | service unavailable or wrong port | verify service health, URL, and port assumptions |\n| `429` \u002F quota exhaustion | retry storm or missing backoff | count repeated calls and inspect retry spacing |\n| file missing after write \u002F stale diff | race, wrong cwd, or branch drift | re-check path, cwd, git status, and actual file existence |\n| tests still failing after “fix” | wrong hypothesis | isolate the exact failing test and re-derive the bug |\n\nDiagnosis questions:\n- is this a logic failure, state failure, environment failure, or policy failure?\n- did the agent lose the real objective and start optimizing the wrong subtask?\n- is the failure deterministic or transient?\n- what is the smallest reversible action that would validate the diagnosis?\n\n### Phase 3: Contained Recovery\n\nRecover with the smallest action that changes the diagnosis surface.\n\nSafe recovery actions:\n- stop repeated retries and restate the hypothesis\n- trim low-signal context and keep only the active goal, blockers, and evidence\n- re-check the actual filesystem \u002F branch \u002F process state\n- narrow the task to one failing command, one file, or one test\n- switch from speculative reasoning to direct observation\n- escalate to a human when the failure is high-risk or externally blocked\n\nDo not claim unsupported auto-healing actions like “reset agent state” or “update harness config” unless you are actually doing them through real tools in the current environment.\n\nContained recovery checklist:\n\n```markdown\n## Recovery Action\n- Diagnosis chosen:\n- Smallest action taken:\n- Why this is safe:\n- What evidence would prove the fix worked:\n```\n\n### Phase 4: Introspection Report\n\nEnd with a report that makes the recovery legible to the next agent or human.\n\n```markdown\n## Agent Self-Debug Report\n- Session \u002F task:\n- Failure:\n- Root cause:\n- Recovery action:\n- Result: success | partial | blocked\n- Token \u002F time burn risk:\n- Follow-up needed:\n- Preventive change to encode later:\n```\n\n## Recovery Heuristics\n\nPrefer these interventions in order:\n\n1. Restate the real objective in one sentence.\n2. Verify the world state instead of trusting memory.\n3. Shrink the failing scope.\n4. Run one discriminating check.\n5. Only then retry.\n\nBad pattern:\n- retrying the same action three times with slightly different wording\n\nGood pattern:\n- capture failure\n- classify the pattern\n- run one direct check\n- change the plan only if the check supports it\n\n## Integration with ECC\n\n- Use `verification-loop` after recovery if code was changed.\n- Use `continuous-learning-v2` when the failure pattern is worth turning into an instinct or later skill.\n- Use `council` when the issue is not technical failure but decision ambiguity.\n- Use `workspace-surface-audit` if the failure came from conflicting local state or repo drift.\n\n## Output Standard\n\nWhen this skill is active, do not end with “I fixed it” alone.\n\nAlways provide:\n- the failure pattern\n- the root-cause hypothesis\n- the recovery action\n- the evidence that the situation is now better or still blocked\n",{"name":5,"license":14,"description":7},"main","22c2e100b28c8ca43d166cb2d59c8454b4dd13c6","Zure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Fagent-introspection-debugging","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI","https:\u002F\u002Fgithub.com\u002Fsakkez","zure.com","2026-10-22 19:32:15",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add sakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI --skill agent-introspection-debugging",{"tool":36,"command":37},"bunx","bunx skills add sakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI --skill agent-introspection-debugging",{"tool":39,"command":40},"pnpm","pnpm dlx skills add sakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI --skill agent-introspection-debugging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Fagent-introspection-debugging\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",302,"https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Fagent-introspection-debugging\u002Fagents\u002Fopenai.yaml",[51,58,65,72,78,85],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7FDAREQ7SGKQJ4M8682CHGW","verification-loop","Run a six-phase verification of a Claude Code session's work — build, type check, lint, tests with coverage, security grep, and diff review — then produce a PASS\u002FFAIL verification report. Use when verifying work after completing a feature or refactor, before creating a PR, or when quality gates must pass.","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7FD2KX8C0EM6R1EHV6SPP9Y","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Fx-api\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7FD2DW0WVM670PZBS6N2CDC","video-editing","AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Fvideo-editing\u002FSKILL.md",[],[],{"skillNo":73,"name":53,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7FD29RPJMD6A4X3FEYHS5H0","A comprehensive verification system for Claude Code sessions. Use when verifying a Claude Code session's work before claiming it is complete.","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7FD269C4AH5FDAKTPEHD7W7","unified-memory","Share durable, inspectable context and handoffs between Claude, Codex, Hermes, Cursor, OpenCode, and other agents through the local ECC Memory Vault. Use when an agent must save work state, transfer context, resume another agent's task, or search shared project knowledge.","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Funified-memory\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7FD1Z82V9YAPBZ5CPYC0B05","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002Fsakkez\u002FZure-Sakari-Stavanger2026-EngineeringWithAI\u002Fblob\u002Fmain\u002FZure.Talk.AIDev\u002Ftalks\u002Fstavanger26\u002Fruns\u002Fecc-med\u002F.claude\u002F.agents\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[]]