Mise Clean — Git skill for Claude Code
Sweep the project for hygiene cruft — junk tracked in git, backup/scratch files, stale branches and orphaned worktrees — and clean it up, consent-first and non-destructively.
How to install Mise Clean
Installs to ~/.claude/skills/emadd-mise-en-claude-mise-clean/SKILL.md
mkdir -p ~/.claude/skills/emadd-mise-en-claude-mise-clean && curl -fsSL https://raw.githubusercontent.com/emadd/mise-en-claude/HEAD/commands/mise-clean.md -o ~/.claude/skills/emadd-mise-en-claude-mise-clean/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Mise Clean does
description: Sweep the project for hygiene cruft — junk tracked in git, backup/scratch files, stale branches and orphaned worktrees — and clean it up, consent-first and non-destructively. Optionally audits CLAUDE.md against the code for stale and bloated guidance. argument-hint: [optional focus, e.g. "just the git junk", "after the last mise-cook run", or "audit CLAUDE.md"]
You are running the **hygiene sweep** — "clean as you go, sweep the line at close." Same mise ethos as everything
Alternatives in Git
- Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
- Codebase To Course — by Zara Zhang - A Claude Code skill that turns any codebase into a beautiful, interactive single-page HTML cou 2.1k ★
- Deep Agents From Scratch 809 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Branch Cleanup
Clean up merged, stale, and orphaned git branches. Protects main/develop/release/ automatically. Supports --dr
Worktree Hygiene
Report the state of every git branch and worktree in a repo (unpushed, unmerged, stale, merged) and clean up o
Media Library Organizer Skill
A Claude Code skill for organizing media libraries (movies, TV, anime) — clean junk, merge scattered episodes,
Mise Handoff
Write a clean hand-off of the current session state to a durable artifact (the project's task tracker, a GitHu
Mise Init
Re-runnable mise entry point — give this project its mise en place (git, CLAUDE.md, structure, connectors, tas
Parallel Agent Worktree Skill
Portable Agent Skill to plan, spawn, review, and merge parallel CLI agents in isolated git worktrees, with det
Related Agents
Branch Hygiene
MUST be used whenever the user asks to find stale, merged, or orphaned git branches, or asks to review/clean u
Timps Backup Sentinel
Audit backup health: Time Machine last backup time, all local git repos with uncommitted/unpushed changes, lar
Backlog Keeper
Syncs the Network Expansion GitHub project board with the state of branches and PRs. Use when a tracked phase