clean · muaaz9329 — Claude Code skill: what it does and how to install
clean is a Claude Code skill that removes old Cheap Agent worktrees and job logs. The --all flag also clears items that are not in flight.
MIT ★ 341 updated 2026-11-16
/plugin marketplace add muaaz9329/cheap-ag
/plugin install cheapag@cheap-agentWhat clean does
The clean skill runs npx -y [email protected] clean to remove stale Cheap Agent worktrees and job logs. With no argument it performs the regular cleanup; --all removes everything that is not currently in flight.
The skill reports the command result in one or two lines. Running npx requires network access.
What it helps with
- remove old Cheap Agent worktrees
- clear logs from finished jobs
- delete everything that is not currently in flight
- return a short cleanup result
Example prompts for the agent
- Run the clean skill and remove old worktrees and job logs.
- Run clean with
--allto remove everything that is not in flight. - Use the clean skill to clear Cheap Agent leftovers.
How to install clean
1Plugin marketplace
/plugin marketplace add muaaz9329/cheap-ag/plugin install cheapag@cheap-agentThis installs the whole cheapag plugin with all its skills
2Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill clean -a claude-code3Manually: put the files in place
~/.claude/skills/clean/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/clean/
1Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill clean -a codex2Manually: put the files in place
.agents/skills/clean/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill clean -a cursor2Manually: put the files in place
.cursor/skills/clean/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install muaaz9329/cheap-ag plugin/skills/clean2Manually: put the files in place
.github/skills/clean/SKILL.md1Skills CLI (Vercel)
npx skills add muaaz9329/cheap-ag --skill clean -a gemini-cli2Platform CLI
gemini skills install https://github.com/muaaz9329/cheap-ag --path plugin/skills/cleanManually: put the files in place
.devin/skills/clean/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about clean
How do I install clean in Claude Code?
Add the marketplace with /plugin marketplace add muaaz9329/cheap-ag, then install the plugin with /plugin install cheapag@cheap-agent.
What does the clean skill do?
It runs npx -y [email protected] clean to remove old Cheap Agent worktrees and job logs. The --all option also removes items that are not currently in flight.
What does clean need to run?
It needs npx and network access.
Source text
SKILL.md · MIT
--- name: clean description: Remove Cheap Agent's old worktrees and job logs now; --all removes everything not in flight. argument-hint: "[--all]" disable-model-invocation: true allowed-tools: Bash(npx -y [email protected] clean) Bash(npx -y [email protected] clean *) --- !`npx -y [email protected] clean $ARGUMENTS` Report the result above to the user in one or two lines. If no output appears above (Codex): run that command yourself once, exactly as written, with `$ARGUMENTS` replaced by whatever the user typed after the skill name (or nothing). It needs network for npx; ask for that if the sandbox blocks it.
© muaaz9329 · MIT · muaaz9329/cheap-ag
Similar skills
All skills for Agent setup: memory, context, orchestration →clean by other authors comes first.