/ai-literacy-superpowers:coda runs instead · from ai-literacy-superpowers
Closes agentic sessions deliberately with a four-step ritual (survey, park, closure summary, close) to prevent drift and cold-start costs.
This skill never runs in Claude Code
It ships in ai-literacy-superpowers at skills/, but /ai-literacy-superpowers:coda (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
An agentic session has no terminal cue. There is no compile, no deploy, no colleague standing up to leave — the medium supplies nothing that says this is finished. So sessions end by attrition: the human stops when something external interrupts, and the work is left in whatever state the interruption found it.
Two costs follow. The unfinished threads keep their pull, because nothing wrote down where they were. And the next session opens cold, re-deriving from a diff what the previous session already knew.
The Coda — the good ending. A ritual that closes a session deliberately, records what landed, and parks every live thread with a concrete resume step.
What it attacks: drift — the "while we're here" extension nobody deliberately chose — and the cold-start cost of an unrecorded stop.
Not compulsive continuation itself. The Coda's only defence against continuing is a refusal that steps aside the moment the human plainly asks it to, and a plain request to continue is the shape that failure mode takes. Claiming otherwise would be an overclaim in the sentence that names the sentinel.
Four steps, same order every time.
| # | Step |
|---|---|
| 1 | Survey — what landed, what is still live |
| 2 | Park — one record per thread, committed |
| 3 | Closure summary and reflection — via /reflect |
| 4 | Close |
The portable reason: the closure summary names what was parked, and it can only do that if parking has already happened.
The local reason, where a Reflections via PR workflow constraint is declared:
/reflect is not a write-a-fragment-and-return operation. It branches,
commits, pushes, opens a PR, waits on CI, merges, and pulls main. Run before
parking, it would move the working tree off the branch holding the very
uncommitted work the survey had just enumerated. A closing ritual that
rearranges your git state is the most expensive way to stop yet designed.
Parking records are committed at step 2, before /reflect runs — /reflect
stages only the reflection paths, so without an explicit commit the ritual
would publish a summary describing records it left behind uncommitted in a
tree it had just relocated.
| Item | Flag |
|---|---|
| Commits, working-tree state, dispositions in records | observed |
| Merged PRs, open-PR check state | observed when gh succeeds; inferred when it does not |
| Which files constitute one thread | asked |
| Boundary events this session | observed |
Thread grouping is the central epistemic act. Nine modified files are an observation; that they are two threads is a judgement, and it decides how many records exist and what each says. The Coda proposes a grouping and it stands unless the human changes it — propose-and-default-accept, because this step lands after the human has already decided they are finished.
Flags are ritual-scoped. They are shown during the survey and do not travel
into the record: parking records are handoffs, not provenance artefacts. Where
provenance matters for a thread, it goes in the record's ## Context prose.
A written plan releases an unfinished thread's pull, and specificity is the active ingredient rather than the writing. "Continue work" is a written plan and does nothing.
So the ritual asks for one concrete resume step per thread, and
scripts/next-action-hint.sh decides whether to ask once more.
A next action carries an anchor when it contains at least one of:
| Anchor | Pattern |
|---|---|
| A path | a token containing / or a known file extension |
| A code identifier | a token containing _, ::, or (), or in Some.Case form |
| A backticked span | anything inside backticks |
| A scenario or ticket id | a letter-digit token such as B12, R4, #492 |
| A line or section reference | file:12, §3.2, line 40 |
| A decision | a question word, a named person, or ask / decide / choose between |
This is a trigger heuristic, and its complement is not "vague". A next action carrying no anchor gets one question. It does not get a verdict, and it is not being called imprecise. The table says what makes the Coda stop asking, not what makes a next action good.
The decision row exists because the other five are all artefacts of code-shaped work, and much of what gets parked is a spec, a piece of prose, or a decision. Without it the check would tax the dominant kind of thread at every close.
Park it. The record's ## Next action carries their answer plus a line in
their own voice noting they were asked for a starting point and confirmed this
was enough.
That line, not a frontmatter flag, is where the override lives. A flag recording that a human's answer failed a check would be an agent-authored verdict about the person — permanent, committed, and countable across records.
A parking record is closed by writing a .resumed.md transition, never by
editing or deleting. When the ritual runs and open records exist, the Coda asks
per record whether it is still live; a "no" writes the transition immediately.
Without that, closure would depend on someone remembering a command and the corpus would only ever grow. Note the asymmetry: a session registry entry is a lease, where forgetting costs nothing because it expires. A parking record is the inverse — open by default until an act of bookkeeping closes it — so forgetting produces an overcount, and the overcount is what a human sees at every session start.
An implementation doing any of these has stopped being a Coda:
SessionStart
re-fires on resume, clear and compact. Handing a thread back mid-session is
the surface this exists to reduce.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub habitat-thinking/ai-literacy-superpowers --plugin ai-literacy-superpowers41 skills in this plugin
/advocatus-diaboliUse when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what was not challenged/ai-literacy-assessmentThis skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to determine their team's AI literacy level using the ALCI instrument./auto-enforcer-actionUse when setting up automatic PR constraint enforcement via GitHub Actions — covers the advisory-vs-blocking split, workflow installation, configuration options, and reading the output/carpaccioUse when acting as the cadence governor — slices a raw task description into thin, end-to-end-complete pieces before any spec is written; produces a structured slicing record for human disposition; runs at orchestrator step 0/choice-cartographerUse when acting as the decision-archaeology agent — surfaces decisions a spec has made (including the silent ones), emits each material choice as a Henney-style pattern story for human disposition, and pays down intent debt before plan approval/cognitive-reservoirUse when watching the human verifier rather than the output — defines the observable proxies, the observed/inferred/asked confidence discipline, the default thresholds, the one firm principle, six-level scaling, and the honesty rule that the reservoir-warden agent and the reservoir-check Stop hook both inheritOther plugins' skills for the same job