update
Skill1 starsChanged 4 days agoMITView on GitHub
Use when an installed repo's .potion grammar lags the current templates — when the user says "potion update", "migrate this repo", "upgrade potion grammar", or when a POTION GRAMMAR DRIFT notice appears at session start / resume.
70 other projects use a version of this.
Adopted by
Most recently taken up by
- onetapstudiogames/1f3d9-citylifetheir own version, first seen Nov 29, 2026
- tenaya-ui/claude-skillstheir own version, first seen Nov 29, 2026
- radekwojpl2/session-observertheir own version, first seen Nov 29, 2026
- wookiya1364/scv-claude-codetheir own version, first seen Nov 29, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Nov 23, 2026
- FireTable/langgraph-apptheir own version, first seen Nov 22, 2026
Used with
Projects with it also use end, create and 9 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.
torarnvSkillend
Wrap up a work session. Updates memory files, logs decisions and lessons, appends to the session log.
Also in 3 projects that use this
MicrosoftSkillcreate
Also in 4 projects that use this
renatoworksSkilltutorial
Learn Strudel step by step. Use when the user wants to learn live coding, understand the syntax, or improve their skills.
Also in 3 projects that use this
MicrosoftSkillhelp
Entry point for the MedImageInsight plugin, covering the getting-started walkthrough, how the skills work, what MI2 is, and troubleshooting.
Also in 9 projects that use this
p0Skilltools
Also in 3 projects that use this
AnthropicSkilluninstall
Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.
Also in 3 projects that use this
- +1 more from microsoft
Other versions70 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 70
- anthropics/knowledge-work-plugins★ 37ksame name
- Q00/ouroboros★ 6.4ksame name
- vellum-ai/vellum-assistant★ 1.5ksame name
- patrickjaja/claude-desktop-extra★ 785same name
- me2resh/apexyard★ 542same name
- daloopa/investing★ 488same name
- TokenRollAI/cc-plugin★ 487same name
- egregore-labs/egregore★ 293same name
- k1p1l0/claude-telegram-supercharged★ 145same name
- kv0906/pm-kit★ 138same name
60 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.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 68 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 71
ONLY from the human's confirmed choices — roles and caps are theirs, per ${CLAUDE_PLUGIN_ROOT}/templates/docs.json.
- Very specific: line 87
ALL of it as ONE summary commit — chore(potion): update — grammar migrations (M1 M2 …) — listing the applied migration ids.
- Very specific: line 107
Commit once: chore(potion): update — parked triage.
- Distinctive: line 109
Offers (M6, M7) + exit report: Run the M6 and M7 offers, then report: applied vs skipped table, any surfaced refusals, verify-env status, …
“Common” is measured: kept by at least 6 in 10 of the 68 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
Potion Update
Inherit ${CLAUDE_PLUGIN_ROOT}/core/CORE.md.
This is the ONLY mutating grammar-migration entry point. Other surfaces (resume, session-start) may notice drift and point here — notice lives elsewhere, mutation lives here. Migrations are idempotent detector+transform pairs keyed on CURRENT REPO STATE, never version-chain bookkeeping: field repos skip many versions, so state decides, not history. All detector commands are POSIX sh, run from the TARGET repo root (the repo being migrated, not the plugin repo).
Migration table (v1)
- M1 verify-env — detect:
test -f .potion/verify-env.mdfails. Transform: ask the human the verify-env question (session recipe ornone-needed: <why>, shapes per${CLAUDE_PLUGIN_ROOT}/templates/verify-env.md) and write the FILLED file — the human is present; this skill is human-invoked. If the human defers, write the template stub verbatim and flag loudly in the exit report that planners will refuse runtime-proof truths until it is declared. - M2 three-bucket STATE — detect:
grep -q '^## Fog' .potion/STATE.mdorgrep -q '^## Decision queue' .potion/STATE.mdfails. Transform: insert the missing empty section(s), each with its one-line HTML comment from${CLAUDE_PLUGIN_ROOT}/templates/STATE.md, after## Blockers(Fog first, then Decision queue). Never touch existing sections. A legacy## Parkedsection stays in place for the interactive pass — NEVER migrated mechanically. - M3 specs bootstrap — detect:
test -d .potion/specsfails. Transform: create.potion/specs/containing a 3-line README.md: current-truth statement, format pointer to potion's templates/spec.md, "mutated only by merge-specs.sh on ship, or a human". - M4 repo-side hooks — detect:
test -f .potion/scripts/pre-commit.cjsfails, OR it passes but.git/hooks/pre-commitdoes not exist at all. Transform: runsh "${CLAUDE_PLUGIN_ROOT}/scripts/install-repo-hooks.sh"from the target repo root. A legacy.jsmirror (it crashes under a package.json with"type": "module") is replaced by re-running install-repo-hooks.sh: the script installs the.cjsmirror, removes the old file, and rewrites potion's own old shim without --force. On its refusal (existing foreign hook): surface the refusal verbatim, ask the human, re-run with --force ONLY on their explicit word — never force unprompted. Mirror installed + foreign hook still in place is the signature of a declined force — a STANDING human decision, not a pending migration: the detector reports current, the report notes "foreign hook kept (standing decision)", and the offer is repeated only when the human raises it. This keeps re-runs convergent and matches the session-start drift leg, which keys on the mirror file only. - M5 housekeeping lines — detect:
grep -q merge=union .gitattributesorgrep -q verify-env.local .gitignorefails. Transform: append the missing line(s) exactly as init step 5 writes them (create the file if absent). - M6 escalations registry — OFFER, not a transform. Detect:
test -f .potion/escalations.mdfails. One question: does this repo want the sanctioned-mutation registry? Point at potion'stemplates/escalations.mdas ready-to-paste. NEVER write the file — only a human edits it. Declined or deferred → note in the report, nothing else. - M7 docs manifest — OFFER, not a transform. Detect:
test -f .potion/docs.jsonfails. One question: does this repo want consolidation-managed docs (staleness nag at session start + /potion:consolidate)? If yes: propose a candidate list by scanning root*.mdand.planning/*.mdfor living docs (skip generated files and READMEs), suggest a one-line role and caps for each, and write the file ONLY from the human's confirmed choices — roles and caps are theirs, per${CLAUDE_PLUGIN_ROOT}/templates/docs.json. Declined or deferred → note in the report, nothing else.
CI adoption is deliberately not in the v1 list — init covers new repos.
Steps
- Preflight. Confirm this is a git repo and
.potion/exists — if not, stop: /potion:init is the right door. Requiregit status --porcelain .potion/clean — uncommitted .potion state → stop and show the user; never migrate over a dirty state dir. Run ALL detectors and present the report: each M# marked APPLIES or current, plus whether## Parkedexists in STATE.md (T1). Done when: the human has seen the report and said go. - Mechanical pass. Apply every firing transform among M1–M5. Commit
ALL of it as ONE summary commit —
chore(potion): update — grammar migrations (M1 M2 …)— listing the applied migration ids. Each migration whose detector reports current is skipped independently. If all detectors report current: say "grammar current — nothing to migrate", make NO commit, continue. Done when: the commit exists (or was correctly skipped) and a re-run of every detector reports current. - Interactive triage (T1) — only if
## Parkedexists in STATE.md. Walk the items one at a time per the question contract, each with a recommendation + why. Route per the human's call — the machine never assigns a disposition:- Fog (STATE.md, cap 6, one line, tagged with source)
- Decision queue (STATE.md, cap 5, with added + expires dates)
- Out of scope (PROJECT.md ledger, with the one-line why)
- gap — append to the current phase's VERIFICATION.md
gaps:frontmatter if one exists; else write it to Fog tagged[defect]at line start (the promotion doctrine guarantees it cannot rot there). A route that would breach a cap: surface the cap, ask which existing item it displaces or pick another route — never exceed silently. When the section is empty, delete the## Parkedheader + its comment. Commit once:chore(potion): update — parked triage. Done when: no## Parkedremains and the triage commit exists.
- Offers (M6, M7) + exit report. Run the M6 and M7 offers, then report: applied vs skipped table, any surfaced refusals, verify-env status, triage tally. Update STATE.md's Last activity line as part of whichever commit lands last. Done when: the report is on screen.
Red flags
| Thought | Reality |
| "The Parked items are obvious, I'll route them myself" | That guessing is F-21 — the failure this lane exists to kill. Every item gets a human call. |
| "The repo is only missing one thing, skip the report" | The report IS the contract. It costs 10 seconds. |
| "I'll fix the app's code while I'm here" | Update touches .potion/ grammar and repo hooks only. |
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.

