cleanup
Skill46 starsChanged 15 days agoMITView on GitHub
Full owner cleanup of a hivehouse run: preview what the manifest recorded, remove it on the owner's word, and report free disk before and after. Use when the owner types /hivehouse:cleanup after or during a run.
71 other projects use a version of this.
Adopted by
Most recently taken up by
- udecode/better-convextheir own version, first seen Nov 9, 2026
- fynnhaupt/skillstheir own version, first seen Nov 8, 2026
- VforVal/lumberjacktheir own version, first seen Nov 8, 2026
- LeonardiFranco/skillstheir own version, first seen Nov 8, 2026
- frnkgns/Overgeared-Skillstheir own version, first seen Nov 8, 2026
- Integralist/agent-skillstheir own version, first seen Nov 6, 2026
Used with
Projects with it also use chips, react-query-best-practices and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
udecodeSkillchips
Run the project's suggested-task ledger, the chips. /chips alone brings this session's open tasks up to date: it applies what the ledger helper says, settles stale and split tasks, cards what can start and reports the board, and /chips all also takes the ship-list tasks and the ones no live session owns, and merges duplicate tasks across the board. Use for /chips, /chips offer, start or drop, \"what chips are open\", \"suggest a task for X\", \"update the chips\", \"clean up the chips\", \"which chips are stale\", \"is this chip still worth doing\", \"merge duplicate chips\", at the last hand-back of a run that offered a task, and whenever pstack would file a tracked issue, a follow-up, a reflect Backlog item or an out-of-band PR.
Also in 3 projects that use this
bibektimilsina00Skillreact-query-best-practices
Audit and fix React Query usage in apps/web — enforce query key factories, signal forwarding, staleTime, and proper mutation patterns. Use when reviewing or fixing server-state code.
Also in 3 projects that use this
bibektimilsina00Skillyou-might-not-need-a-callback
Analyze and fix useCallback anti-patterns in your code
Also in 3 projects that use this
Scylla23Skillredo
Re-run the last routed task one model tier up (haiku → sonnet → opus → fable). User-invoked escalation when the previous result missed. Pass --dry-run to preview without running.
Also in 3 projects that use this
Aetheria-Labs1Skillplan-page
Plan one storefront page from strategy through final copy, section order, proof, offers, template direction, responsive layout, and production asset requirements. Stops at an approved execution-ready specification.
Also in 3 projects that use this
SocialKit-APISkillvideo-transcripts
Extract transcripts from social videos through SocialKit across YouTube, TikTok, Instagram, Facebook, X/Twitter, LinkedIn, and direct video file URLs. Use when the user asks to transcribe, get captions or subtitles, pull the spoken text, or read what a video says, including one video or many at once. Returns full text plus timestamped segments. Not for posting, private accounts, or unrelated website scraping.
Also in 3 projects that use this
- +3 more from bibektimilsina00
Other versions71 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 71
- simstudioai/sim★ 30ksame name
- pipecat-ai/pipecat★ 17ksame name
- udecode/plate★ 17ksame name
- civitai/civitai★ 7.3ksame name
- mampfes/hacs_waste_collection_schedule★ 2.3ksame name
- trycompai/comp★ 2.1ksame name
- udecode/dotai★ 1.2ksame name
- LedgerHQ/ledger-live★ 627same name
- ericboy0224/learn-docker-and-k8s★ 472same name
- udecode/better-convex★ 452same name
61 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- bubble-reviewSkill
- doc-updaterSkill
- gateSkill
- handoffSkill
- hubSkill
- overnightSkill
- review-planSkill
- startSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 61 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Run hh-resolve rules and read the file it prints first (the project's or the user's own custom/rules/RULES.md, else the plugin's).
- Very specific: line 23
Working through the owner's hub: When you were started with /hivehouse:cleanup by the owner's hub (the hub's task file, TASK <id>, says …
- Distinctive: line 37
Ask the owner (AskUserQuestion) about anything whose work has not landed: a dirty or unmerged worktree is kept and reported, and the owner …
- Very specific: line 42
Run hh-cleanup --finish --dry-run (with --disk instead when $ARGUMENTS is --disk, which removes only temporary files and directories and …
- Very specific: line 48
Only after the owner says to proceed, run hh-cleanup --finish (or --disk).
“Common” is measured: kept by at least 6 in 10 of the 61 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
hivehouse: cleanup
Claude Code fills a ${user_config.X} below only when a value of X was saved; only when one still reads literally, as ${user_config.X}, run hh-settings option X and use what it prints (the value saved in Claude Code's settings, else the plugin's default); a filled value is used as it is.
Run hh-resolve rules and read the file it prints first (the project's or the user's own custom/rules/RULES.md, else the plugin's). hh-cleanup is the executable that does the work; this skill is the
owner's full, supervised pass. hh-cleanup is deliberately not pre-approved: it prompts every time, so the owner sees
the exact command. Call each hh-* executable and each git command on its own, never inside a compound command; no
git rule is pre-approved, so each git call asks.
hh-cleanup acts only on what the manifest recorded, by typed entry (worktree, tmux pane, process, dir, file, remote),
never on anything it merely finds. A process is stopped only if its start time and command line still match what was
recorded; a tmux pane is killed by server and pane id, never by name; a worktree is removed only if clean and merged;
anything uncertain moves to .hivehouse/trash/<date>/ rather than being deleted. Claude sessions are never touched.
Working through the owner's hub. When you were started with /hivehouse:cleanup by the owner's hub (the hub's task
file, TASK <id>, says so), the owner is not at this screen. Send what this skill says to show or ask them to the hub
with SendMessage instead, and wait for a reply that begins OWNER on TASK <id>: (the owner's own words; a reply that
begins HUB on TASK <id>: is the hub deciding while they are away, and never lets hh-cleanup --finish run without the
owner): the table of what is recorded and
the questions about worktrees whose work has not landed (first line TASK <id>: HH-CLARIFY), then the preview and
"proceed?" (TASK <id>: HH-PLAN). The final report goes as TASK <id>: DONE. hh-cleanup still asks permission on
this screen each time, by design; that dialog reaches the owner through the hub.
1. Look first
hh-disk --min-gb ${user_config.min_free_gb}: free space now.hh-manifest list: what is recorded. Show the owner a short table of kind and what.git statusandgit login the project: whether each worktree's work has landed or is still needed.- Ask the owner (AskUserQuestion) about anything whose work has not landed: a dirty or unmerged worktree is kept and reported, and the owner decides what to do with it.
2. Preview
Run hh-cleanup --finish --dry-run (with --disk instead when $ARGUMENTS is --disk, which removes only temporary
files and directories and keeps everything else). Show the owner every line: removed, kept, trashed or skipped,
each with its reason. Change nothing yet.
3. Run it, on the owner's word
Only after the owner says to proceed, run hh-cleanup --finish (or --disk). Do not run it because the preview
looked fine.
hh-cleanup exits 2 when there is no project, 3 when .hivehouse is tracked by git (say so and stop: that is the
owner's to fix), 64 on a usage error and 75 when another cleanup is already running here (wait; never start a second).
4. Report
Free disk before and after, the count of each outcome, everything kept and why, and the trash size (du -sh is
printed by hh-cleanup). Trash does not free disk. Ask before emptying it, and empty it only on the owner's word for
that time. Never delete anything that is not on the manifest, and never delete outside the trash yourself.
End every message to the owner with either "Nothing needed from you." or one short sentence saying what you need from them.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

