fresh
Skill4 starsChanged 32 days agoApache-2.0View on GitHub
Start clean after a merged PR. Puts the repo on its default branch, level with the remote, and removes branches and worktrees that already landed (squash merges included). Use when someone says "/fresh", "my PR merged", "clean up my branches", or "start fresh".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- lucasyhzhu-debug/claude-skillstheir own version, first seen Aug 13, 2026
- rayketcham-lab/qn-claude-webtheir own version, first seen Mar 30, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- rayketcham-lab/qn-claude-web★ 2same name
- lucasyhzhu-debug/claude-skills★ 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 repositoryOne other file it gives its agents.
- fresh-configureSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Get
camp: Run bash "<skill-dir>/scripts/ensure-festival.sh". - Very specific: line 28
Preview: Follow output.md to capture camp fresh --dry-run.
- Very specific: line 29
Run: Use the capture command for camp fresh, with the same requested flags.
- Very specific: line 30
Use -b <branch> in both commands if the user named what is next.
- Very specific: line 48
When camp says it linked the repository or created the festival camp, repeat that line to the user, including camp project unlink.
- Very specific: line 56
Never force-delete a branch that camp kept.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/fresh
Your PR merged. Start clean.
<skill-dir> is the directory containing this SKILL.md (Claude Code prints it
as "Base directory for this skill"). Never guess it. Run camp from the user's project repo.
- Get
camp. Runbash "<skill-dir>/scripts/ensure-festival.sh". It prints the path tocampon stdout; use that path below. It installs or updates Festival only if needed and says so on stderr. Tell the user what it said. - Preview. Follow output.md to capture
camp fresh --dry-run. Show the plan unedited; stop if it fails. - Run. Use the capture command for
camp fresh, with the same requested flags. Use-b <branch>in both commands if the user named what is next. - Report. Display the captured visual, kept work, warnings, and any undo line.
Done means: default branch synced with origin, merged work cleaned up, and on
the requested next branch if one was given. Report anything camp kept.
When it stops
- Step 1 exits 3. Festival could not be installed or updated. Say what the script said and stop.
- Step 1 exits 4 or 5. This
campcannot yet freshen a repository that is not in a camp. Run the preview anyway; it works if the repository is already linked. If it says "not in a camp", say so in one or two plain sentences, give any update command the script printed, and stop. Do not do the git work by hand. campasks for--campaign. Show the camps it listed, ask which one, then rerun steps 2 and 3 with--campaign <name>. Do not pick.
When camp says it linked the repository or created the festival camp, repeat
that line to the user, including camp project unlink. Never let it be silent.
Laws
- One repository, one outcome.
- Preview first. Every time.
- Uncommitted changes stop the run. Ask; never stash or commit for the user.
- Never force-delete a branch that
campkept.
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.

