spin-breaker
Skill2 starsChanged 12 days agoMITView on GitHub
Manual spin breaker. `lock` runs a 3-element pre-flight lock (target surface, observable check, forbidden boundary) before edits or delegation; default `rescue` halts loops, parks side quests and 4-line restart breadcrumbs, and proposes one discriminating read-only probe; `map` renders a static HTML decision board. Use spec-convergence for full spec design, ce-debug for root-cause debugging.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- delegated-work-acceptanceSkill
- dotnet-repo-workflowSkill
- gdd-route-ccSkill
- gdd-route-codexSkill
- gdd-route-copilotSkill
- gdd-route-dshSkill
- gdd-route-omoSkill
- gdd-route-ompSkill
- gdd-route-opencodeSkill
- gdd-route-piSkill
- gddSkill
- git-auto-sync-pipelinesSkill
- harness-engineeringSkill
- measurement-campaign-evidenceSkill
- package-release-verificationSkill
- privileged-host-handoffSkill
- tmux-agent-controlSkill
- hermes-context-file-loadingSkill
- hermes-kanbanSkill
- hermes-models-cutoverSkill
- hermes-modelsSkill
- hermes-ops-claim-verificationSkill
- hermes-runtime-repairsSkill
- hermes-updatesSkill
- agent-harness-settings-paritySkill
- agent-operating-contract-evolutionSkill
- contract-bound-deliverablesSkill
- define-goalSkill
- review-revision-candidatesSkill
- rubric-judgeSkill
- rubric-tuneSkill
- spec-convergenceSkill
- evidence-backed-analytical-writingSkill
- evidence-boundary-disciplineSkill
- ghc-searchSkill
- official-document-verificationSkill
- report-claim-auditSkill
- research-stream-consolidationSkill
- writingSkill
- hoa-practice-mineSkill
- hoa-practice-retroSkill
- hoa-repo-reckoningSkill
- hoa-skill-createSkill
- hoa-skill-curateSkill
- hoa-skill-portSkill
- hoa-skill-reviewSkill
- hoa-skill-set-auditSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Side-effect confirmation: Never run a state-mutating command, discard Git changes, or invoke an external parking adapter without explicit …
- Very specific: line 42
Artifact containment: All generated HTML maps and local parked records live strictly under <repo-root>/.tmp-artifacts/<bundle-name>/.
- Distinctive: line 48
Use the explicit mode if supplied.
- Distinctive: line 56
Keep the freeze while you inspect read-only state and present choices.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
spin-breaker
Explicit-invocation circuit breaker for two failure modes:
- Pre-execution drift: edits or delegation start while the target surface, the observable acceptance check, or the forbidden boundary is still implicit.
- Mid-session spinning: unfalsified guesses accumulate, emergent meta-ideas
silently widen the acceptance envelope, and repeated
continueeliminates nothing.
Gates
- Immediate write/dispatch freeze. On invocation, halt code edits, branch switches, commits, external memory writes, and background worker dispatches until the operator explicitly selects an option in the current turn.
- Host UI with plain-text fallback. Present choices through the host's
native single-select form control when it exists; if that UI is unavailable
or disconnects, immediately present numbered plain-text options (
A / B / C) so one short reply resolves the choice. - Side-effect confirmation. Never run a state-mutating command, discard Git
changes, or invoke an external parking adapter without explicit operator
confirmation (
--confirm-externalgates the external adapter). - Artifact containment. All generated HTML maps and local parked records
live strictly under
<repo-root>/.tmp-artifacts/<bundle-name>/; never scatter them in the repo root or tracked directories.
Mode selection
Use the explicit mode if supplied. Otherwise choose from the current state:
| Mode | When to use | What it does / read |
lock | Right before implementation or delegation | Read Lock mode: confirm the exact target, observable check, and forbidden boundary before work starts. |
rescue (default) | Mid-session spin, repeated continue, or scope creep | Read Rescue mode: offer to park side quests and present a five-line reckoning with one discriminating read-only probe. |
map | Three or more entangled hypotheses, surfaces, or environments make linear chat hard to follow | Read Decision board: turn the evidence and decision into a static HTML board. |
Keep the freeze while you inspect read-only state and present choices. An operator's selection authorizes only the selected action, not the other options; a decision to retire an approach is not permission to roll back Git.
Read when needed
| When | Read |
Before invoking park or map, interpreting a receipt, or configuring an external adapter | Commands |
| Resolving flags, environment, or config-file settings | Configuration |
Only if a script command fails (for example uv is not found) | Troubleshooting |
Configuration
Resolution order for every key: CLI flag, then SPIN_BREAKER_* environment
variable, then $XDG_CONFIG_HOME/spin-breaker/config.yaml (falling back to
~/.config/spin-breaker/config.yaml), then the default.
| Key | Flag | Environment variable | Default |
repo_root | --repo-root | SPIN_BREAKER_REPO_ROOT | . (current directory) |
parking_bundle | --parking-bundle | SPIN_BREAKER_PARKING_BUNDLE | spin-breaker |
external_cmd | --external-cmd | SPIN_BREAKER_EXTERNAL_CMD | none (empty; local markdown only) |
external_timeout | --external-timeout | SPIN_BREAKER_EXTERNAL_TIMEOUT | 15 (seconds) |
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.

