/local-recon:consolidatefrom local-recon
Cleans 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.
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.
Sprawl is not solved by moving files around until it looks tidier. Measure first, propose second, move third - and keep an undo.
Run ${CLAUDE_PLUGIN_ROOT}/scripts/consolidate-folders.ps1:
.\consolidate-folders.ps1 # Inventory - what is actually there
.\consolidate-folders.ps1 -Mode Plan # writes consolidation-plan.csv, moves nothing
.\consolidate-folders.ps1 -Mode Apply # executes the plan, writes an undo script
Never skip to Apply. Show the user the inventory and the plan first, in your own words, and let them redirect anything they disagree with - the plan is a CSV they can edit by hand before Apply reads it back.
The three signals that matter, in order:
| Signal | What it usually means |
|---|---|
| Same name in more than one place | The real problem. Two Cards\, two Projects\ - one is stale, or work is split across both. Ask which is current; never assume the newer one wins. |
| Empty folders | Abandoned scaffolding. Safe to remove, but the user decides. |
| Untouched 6+ months | Archive candidates, not deletion candidates. |
Report sizes and file counts, not just names. "Cards is 1.6 GB across 40k files" changes what someone wants done with it.
Keys and .ssh. Moving these breaks
shell paths, shortcuts and tools that hardcode them.<name> (from <root>) so nothing is silently overwritten. Merging is a
decision the user makes after looking at both..git, node_modules, .venv,
__pycache__, dist, build, .wrangler, .next, AppData. They
dominate file counts and tell you nothing.First matching rule wins:
| Bucket | Test |
|---|---|
Projects | Contains .git, package.json, pyproject.toml, Cargo.toml, or wrangler.toml - a real project, detected by contents, not name |
Media | Name mentions image, photo, picture, screenshot, video, scan, card |
Docs | doc, note, research, legal, paper, report, write |
Admin | admin, key, invoice, tax, receipt, billing, account |
Archive | archive, old, backup, bak, temp, tmp, misc, random, leftover |
Review | Everything else - deliberately not guessed at |
Review is a feature. A folder the rules cannot classify should land in
front of the user, not in a bucket chosen by a coin flip.
This machine has Windows and WSL. C:\Users\peter\... and
/mnt/c/Users/peter/... are the SAME folder - a "duplicate" spanning both is
one folder seen twice, not two copies. WSL's own /root and /home are
genuinely separate storage. Check which you are looking at before calling
anything a duplicate; the find-anything skill's machine map has the layout.
Things that hardcode paths break when folders move. Check and fix:
.lnk shortcuts and scheduled
tasks may point at the old location..mcp.json, CLAUDE.md) travel with the
folder - but any session open on the old path needs restarting.PATH, and any script referencing an absolute path.Report what moved, where the undo script is, and what might need repointing.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cokedoutlawyer/jimmy-tools --plugin local-recon7 skills in this plugin
/diagnose-itDiagnoses 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./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./Other plugins' skills for the same job