Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By magrathean-ukv2.2.0MIT
Routes dev caches, build output and scratch files to configured storage and moves approved cleanup items to the Trash. Built for macOS and needs Node.js 20.12 or later; its SessionStart hook is set up separately from plugin installation.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Clean Development routes development caches, build output and scratch files to configured storage, and helps clear them safely. It is designed for macOS workstations using Claude Code or Codex. OpenCode can use the environment routing.
It has three parts: env.zsh routing, three commands (report, cleanup and layout) and a SessionStart hook that prints one context line. Nothing runs at the end of a session and nothing deletes files: cleanup only moves approved items to the volume Trash.
The runtime has no npm dependencies and requires Node.js 20.12 or later. The installer accepts CLEAN_DEV_NODE as an absolute path to a supported Node.js executable; otherwise it checks common install locations and PATH. The Claude hook merge helper uses Python 3; the Codex merge needs Python 3.11 or later for tomllib. Clean Development does not publish an npm package; GitHub is the source distribution.
git clone https://github.com/magrathean-uk/clean-development.git
cd clean-development
See the install-and-undo walkthrough for a short example with the published safety release, and CONTRACT.md for the 2.x command and installation contracts.
machine/storage.conf. The external volume is used when it is mounted and its cache directory is writable; otherwise the internal root is used, and dependency caches and builds still go there.clean-development report prints free space, storage sizes and routing problems. Size measurements share a 10-second time budget. If a measurement runs out of time, the report names its path and marks the size incomplete. Set CLEAN_DEV_REPORT_BUDGET_S to choose another budget. A blocked filesystem call can outlast it. report --check checks routing without measuring storage.clean-development cleanup lists what could be cleared and never changes anything. cleanup --apply <id> moves the approved items to the Trash.clean-development layout --check compares ~/dev and the external dev root with the layout in storage.conf. It reports unknown entries, misplaced Git repositories, oversized records, idle work and README drift. layout --write-readmes refreshes managed READMEs and preserves existing edits. If a README needs to be replaced deliberately, first move it aside so you can recover it.clean-development lanes prints the project's declared work lanes (which host kind, linux, windows or mac, runs each check) with the command line for this machine; lanes --check exits 1 when a project declares none. Declare them in the optional lanes object of .clean-development.json: "lanes": {"test": {"host": "linux", "cmd": "cargo test"}}; a mac lane needs a reason. Runner prefixes belong to the machine, not the project: ~/.config/clean-development/runners.json (or under $XDG_CONFIG_HOME) maps each host to prefixes, for example {"linux": ["hostman-run {project} -- bash -c {cmd}"], "windows": ["win-run {project} -- {cmd}"]}. {project} becomes the directory name limited to [A-Za-z0-9._-]; {cmd} becomes the lane command as one quoted shell word, so the local shell never interprets it (a prefix without {cmd} gets it appended); later prefixes are fallbacks. Every printed line starts with cd <project directory> &&. A lane's cmd is code that runs on the host you choose. Nothing is executed; without a runners file the bare line is cd <dir> && <cmd>. An invalid lanes block does not affect cleanup declarations..clean-development.json a lanes: linux N, windows N, mac N (or none declared) segment../install.sh --dry-run --config
After reviewing the preview, install the runtime and environment files:
./install.sh --config
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (magrathean-uk/clean-development) — no native marketplace selected
npx claudepluginhub p/magrathean-uk-clean-developmentPlugins from other owners that cover similar ground