clankerguru/opsx/wrkx-prune
Claude Code and agent skill by clankerguru/opsx
- community
Checking that the SKILL.md file is still in the repository.
Remove repo directories on disk that are not defined in wrkx.json. Activates when the user wants to prune, clean up, or remove stale repo clones that were deleted from wrkx.json.
Install
npx vskill@latest install clankerguru/opsx/wrkx-pruneSKILL.md
The same SKILL.md was published earlier as clankerguru/opsx/wrkx-prune.
/wrkx-prune
Related:/wrkx-status·/wrkx-clone
Purpose
Delete directories in the workspace that look like repos but are no longer listed in wrkx.json. Refuses to delete anything with uncommitted changes — destructive operations on dirty work is a bug, not a feature.
Preconditions
wrkx.jsonis the authoritative list; anything removed from it
is considered stale.
- You've committed or pushed any work you want to keep.
Steps
- Run:
``bash ./gradlew -q wrkx-prune ``
- For each directory at the configured repo roots that is not
in wrkx.json:
- If the directory has uncommitted changes → skip, report
as dirty.
- Otherwise delete the directory recursively.
- Summary at the end lists: pruned, skipped (dirty), skipped
(not a git repo).
Post-state
Workspace contains only directories listed in wrkx.json, plus any stale dirty repos the task refused to touch.
Failure modes
- Dirty repo present but intended to be pruned — task refuses.
Commit/stash/discard first, then rerun. This is a feature, not a bug.
- Dir removed from `wrkx.json` but still needed — re-add the
entry before pruning.
Related skills
/wrkx-status— preview which dirs are not inwrkx.json
before pruning
/wrkx-clone— re-clone if you pruned by accident/git-workflow— stashing vs committing before destructive
operations
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcli/src/main/resources/content/skills/wrkx-prune/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/clankerguru/opsx/wrkx-prune)