/local-recon:diagnose-itfrom local-recon
Diagnoses a broken thing on this machine using hypothesis-driven testing instead of trial-and-error. Use when the user says something "isn't working", "keeps failing", "won't start", "broke after I updated", reports an error message, or asks why a program, script, service, or port behaves unexpectedly. Runs the smallest decisive test, measures, and reports what was actually observed.
Ships in local-recon. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Do not thrash. One controlled change, then measure. Five simultaneous edits destroy the evidence that tells you which one mattered.
OBSERVATION what exactly failed — verbatim error, exit code, empty output
HYPOTHESIS the single most likely cause
PREDICTION if the hypothesis holds, what will I see?
TEST the smallest command that discriminates
RESULT what actually happened
CONCLUSION supported / rejected / unresolved
NEXT fix, or test the next hypothesis
Write these out. A rejected hypothesis is progress and must be recorded so it is not re-tested later in the session.
Get the failure to happen on demand. A bug you cannot reproduce is a bug you cannot confirm you fixed. Capture the exact command, the working directory, and the environment it ran in — on this machine, "which shell" is a real variable: PowerShell and WSL bash have different PATHs, different tools, and different Claude Code installs.
Keep these distinct in reasoning and in what you report:
| Not the same as | |
|---|---|
| ATTEMPTED | EXECUTED |
| EXECUTED | SUCCEEDED |
| NO ERROR | WORKED |
| BUILD PASSES | RUNS |
| HEALTHCHECK 200 | FEATURE WORKS |
| TIMEOUT | EMPTY RESULT |
| CONFIGURED | ACTIVE |
| NEWER FILE | CORRECT FILE |
Never infer success from the absence of an error. Query the system again and look at the resulting state.
Command not found — Get-Command <x> / which <x> in both shells. A tool
installed in WSL is not on the Windows PATH.
Port already in use — Get-NetTCPConnection -LocalPort <p> | Select OwningProcess
then Get-Process -Id <pid>; in WSL ss -ltnp | grep <p>. WSL and Windows share
localhost, so the squatter may live on the other side.
Works in one directory, not another — compare the working directory and any
per-project config that gets auto-discovered there (.mcp.json, CLAUDE.md,
.env, settings.json).
Started failing after an update — get the version (--version), then check
the changelog before touching code. Retired/renamed identifiers are a common
cause: a pinned dated model ID, a removed CLI flag, a renamed plugin.
A config change had no effect — confirm the process actually reloaded, and
confirm you edited the file that process reads. On this machine that usually
means: Windows config vs WSL config. See the find-anything skill's machine map.
Silent failure, no output — raise verbosity (-d/--debug, --verbose),
check the tool's own log directory, then the OS log (Get-EventLog, journalctl).
Do not hand a raw log back to the user and ask what they make of it. Read it, find the first error (not the last — the last is usually a cascade), and report the causal line with its file and line number.
Patch minimally. Then:
Never weaken a test, silence a type error, or disable a safety check to make a symptom disappear. Fix the cause or report honestly that the cause is unresolved.
Lead with what changed and the evidence. State what remains untested rather than implying full coverage. If the objective was "X works", do not report success until X has been observed working.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub cokedoutlawyer/jimmy-tools --plugin local-recon7 skills in this plugin
/consolidateCleans up folder sprawl on this machine - finds duplicate, empty, stale and scattered folders, proposes one home for everything, and moves them reversibly. Use when the user says "too many folders", "consolidate", "clean up my desktop", "organize my files", "where did this project go", "I have three copies of this", or when the same project turns up in more than one place./find-anythingLocates any file, config, log, installed tool, credential store, or running process on this Windows + WSL machine. Use when the user says "where is", "find the", "which file controls", "what's using port", "is X installed", "where does X store its settings", or when a task needs a local file whose path is unknown. Searches both filesystems before reporting anything missing./