
Diagnostic reasoning
MANDATORY debugging protocol
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 28
- Last commit
- 4 months ago
- License
- MIT
- Listing updated
- today
When your agent uses it
MANDATORY debugging protocol. You MUST invoke this skill when debugging complex issues, investigating failures, diagnosing intermittent problems, or performing root cause analysis. Do NOT start changing code before collecting observations. Do NOT guess at causes — generate 5 competing hypotheses and design a discriminating test. Invoke this BEFORE touching any code when something is broken.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (5 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Install
This skill ships in the praxis plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add xD4O/praxis
/plugin install praxis@praxisOr copy only this skill to ~/.claude/skills/diagnostic-reasoning:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/diagnostic-reasoning &&
cp -R "$tmp/skills/diagnostic-reasoning" ~/.claude/skills/diagnostic-reasoning &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/diagnostic-reasoning inside it instead.
Copy the skill folder to ~/.agents/skills/diagnostic-reasoning to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/diagnostic-reasoning &&
cp -R "$tmp/skills/diagnostic-reasoning" ~/.agents/skills/diagnostic-reasoning &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/diagnostic-reasoning inside it instead.
Copy the skill folder to ~/.cursor/skills/diagnostic-reasoning to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/diagnostic-reasoning &&
cp -R "$tmp/skills/diagnostic-reasoning" ~/.cursor/skills/diagnostic-reasoning &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/diagnostic-reasoning inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/xD4O/praxis.git --path skills/diagnostic-reasoningOr copy the folder to ~/.gemini/skills/diagnostic-reasoning yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/diagnostic-reasoning:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/xD4O/praxis.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/diagnostic-reasoning &&
cp -R "$tmp/skills/diagnostic-reasoning" ~/.copilot/skills/diagnostic-reasoning &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/diagnostic-reasoning inside it instead.
Get the folder:
git clone --depth 1 https://github.com/xD4O/praxis.gitThen copy praxis/skills/diagnostic-reasoning into your agent's skills folder as diagnostic-reasoning. Agents that support SKILL.md read one folder per skill.
Diagnostic reasoning FAQ
How do I install Diagnostic reasoning in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/diagnostic-reasoning to use it in all your projects, or to .claude/skills/diagnostic-reasoning in one project. Or install the praxis plugin, which includes it: /plugin marketplace add xD4O/praxis, then /plugin install praxis@praxis.
Does Diagnostic reasoning run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Diagnostic reasoning?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.