rollback
Skill5 starsChanged 9 months agoMITView on GitHub
Emergency cleanup of all autoimprove experiment worktrees. Use this if a session was interrupted, Claude crashed mid-experiment, or you want to abort the loop and clean up all branches and worktrees.
- Deletes or force-pushes
9 other projects use a version of this.
Adopted by
Most recently taken up by
- kapadias/nonnatheir own version, first seen Oct 1, 2026
- harshanandak/forgetheir own version, first seen Sep 28, 2026
- elfrost/ai-patchlabtheir own version, first seen Sep 22, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- suboss87/FDEOpstheir own version, first seen Sep 17, 2026
- ww-w-ai/bkit-claude-codetheir own version, first seen Aug 14, 2026
Used with
Projects with it also use status, plan and 2 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.
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 3 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- suboss87/FDEOps★ 950same name
- ww-w-ai/bkit-claude-code★ 600same name
- ww-w-ai/bkit-gemini★ 66same name
- nahid-sparktales/agent-dispatcher★ 59same name
- qwerfunch/cladding★ 16same name
- harshanandak/forge★ 4same name
- elfrost/ai-patchlab★ 1same name
- pvnarp/agent-skills★ 1same name
- kapadias/nonna★ 0same name
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 repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- auditSkill
- detect-stackSkill
- improve-loopSkill
- measureSkill
- worktreeSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 66
If a worktree can't be removed cleanly, use --force (already included above)
“Common” is measured: kept by at least 6 in 10 of the 9 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
Rollback / Cleanup Skill
Since experiments run in isolated worktrees, there's nothing to "rollback" from the main branch — it was never touched. This skill cleans up any leftover experiment worktrees and branches from an interrupted or aborted session.
Step 1 — Show what will be removed
echo "=== Active worktrees ==="
git worktree list
echo "=== Experiment branches ==="
git branch | grep "autoimprove/experiment"
echo "=== Worktree directory ==="
ls .claude/autoimprove/worktrees/ 2>/dev/null || echo "(empty or missing)"Show the user what will be removed and confirm before proceeding.
Step 2 — Remove all experiment worktrees
# Remove worktrees
for wt in .claude/autoimprove/worktrees/experiment-*; do
[ -d "$wt" ] && git worktree remove "$wt" --force && echo "Removed worktree: $wt"
done
# Prune any stale worktree references
git worktree pruneStep 3 — Delete experiment branches
git branch | grep "autoimprove/experiment" | xargs -r git branch -D
echo "Experiment branches deleted"Step 4 — Remove the container directory
rm -rf .claude/autoimprove/worktrees
echo "Cleaned up .claude/autoimprove/worktrees/"Step 5 — Verify clean state
echo "=== Main branch status ==="
git status
git branch --show-current
echo "=== Remaining worktrees ==="
git worktree listReport: "✅ Cleanup complete. Main branch is clean and untouched."
Safety notes
- This skill never touches the main branch
- Already-merged winning experiments stay in the main branch history — only pending/discarded experiments are removed
- If a worktree can't be removed cleanly, use
--force(already included above)
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.

