Skip to main content
skill CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add muaaz9329/cheap-ag
/plugin install cheapag@cheap-agent
Open on GitHub

What 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 --all to 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-agent

This installs the whole cheapag plugin with all its skills

2Skills CLI (Vercel)

npx skills add muaaz9329/cheap-ag --skill clean -a claude-code

3Manually: put the files in place

~/.claude/skills/clean/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/clean/

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.

clean typeui.sh clean generates minimal design system guidelines using an 8pt grid, strict color tokens, and WCAG 2.2 AA accessibility rules. CX Codex +1 3,000installs clean_gone official Anthropic clean_gone — a Claude Code command that removes local git branches flagged as [gone] — branches whose remote counterpart no longer exists. It also clears out any attached worktrees before deletion. CX Codex +1 ★ 47,914repo stars orchestration stablyai Claude Code skill orchestration runs work in separate Orca worker agents and returns their results. CX Codex +1 359,600installs git-workflow-and-versioning addyosmani git-workflow-and-versioning — a skill that structures git discipline: atomic commits, short-lived branches, messages that explain why. It activates whenever the agent prepares any code change for commit. CX Codex +1 75,700installs commands-code-analysis-testing BuildWithClaude Community The commands-code-analysis-testing plugin for Claude Code and Cursor provides slash commands for code review, testing and analysis. It helps organize a project's tests and checks. ★ 3,785repo stars workspace-isolation qodex-ai workspace-isolation creates separate Git worktrees for parallel branch work. Use it when changes need their own working directories and a verified starting state. CX Codex +1 130installs git-advanced-workflows Seth Hobson The git-advanced-workflows skill covers Git history editing, commit transfers, bug hunting, worktrees, and reflog recovery. Use it for complex branches or cleaner pull requests. CX Codex +1 19,356installs

From the same set8

Project sponsors

Companies that keep this analytics open