capability-diagnostic

Diagnose agent failures using a five-step decision tree and output Diagnosis, Root cause, and Fix.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/monktui/git-review --skill capability-diagnostic-monktui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: capability-diagnostic
Source: https://github.com/monktui/git-review/tree/main/.claude/skills/capability-diagnostic
Command: npx skills add https://github.com/monktui/git-review --skill capability-diagnostic-monktui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly diagnose why an agent fails, produces wrong output, or gets blocked repeatedly by surfacing whether the issue is caused by missing tools, missing context, insufficient model capability, an ambiguous specification, or an infrastructure problem.

Core Features & Use Cases

  • Failure analysis decision tree: Identifies the most likely root-cause category across tools, context, model capability, spec clarity, and infrastructure reliability.
  • Actionable fix guidance: Recommends concrete next steps such as updating agent specs (allowed tools/skills), improving task prompts, escalating model tiers, or addressing hook/context/connection/lock issues.
  • Consistent output format: Produces a structured diagnosis with Diagnosis, Root cause, and Fix fields for fast handoffs and escalation.

Quick Start

Run capability-diagnostic to analyze the agent’s failure and output Diagnosis, Root cause, and Fix using the provided decision tree.

Frequently Asked Questions about capability-diagnostic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose why my agent fails or produces wrong output?

To diagnose agent failures, you can use a structured decision tree to identify missing tools, insufficient context, inadequate model capability, or infrastructure issues. This approach isolates the specific root cause behind recurring task failures and schema mismatches.

What causes repeated enforcement-hook blocks and runtime overages on straightforward tasks?

Repeated enforcement-hook blocks and runtime overages often stem from ambiguous prompt specifications or infrastructure reliability problems. Identifying whether the issue is missing context or inadequate model capability resolves these recurring blocks effectively.

How do I fix schema-mismatched outputs from my agent?

Fixing schema-mismatched outputs requires checking for inadequate model capability or ambiguous specifications. By applying a failure analysis decision tree, you can determine if updating task prompts or escalating model tiers is necessary.

When should I escalate model tiers to resolve agent failures?

You should escalate model tiers when a failure analysis decision tree indicates inadequate model capability. If updating agent specs or improving task prompts does not resolve the issue, escalating model tiers addresses the capability gap.

Does diagnosing agent capability gaps require any specific dependencies?

Diagnosing agent capability gaps requires no specific dependencies. It relies on a standardized five-step decision tree to analyze failures and output structured Diagnosis, Root cause, and Fix fields for fast handoffs.