clankerguru/opsx/wrkx-prune

Claude Code and agent skill by clankerguru/opsx

Trust tier 3
  • community
Source check pending

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-prune

SKILL.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.json is the authoritative list; anything removed from it

is considered stale.

  • You've committed or pushed any work you want to keep.

Steps

  1. Run:

``bash ./gradlew -q wrkx-prune ``

  1. 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.
  1. 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 in wrkx.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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/clankerguru/opsx/wrkx-prune/badge)](https://verified-skill.com/skills/clankerguru/opsx/wrkx-prune)

Something wrong with this skill or its page? Tell us.