agentleFS
wxxb789wxxb789/hoa/skills/productivity/spin-breaker/SKILL.md

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.

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
  1. Very specific:

    Side-effect confirmation: Never run a state-mutating command, discard Git changes, or invoke an external parking adapter without explicit …

    line 39
  2. Very specific:

    Artifact containment: All generated HTML maps and local parked records live strictly under <repo-root>/.tmp-artifacts/<bundle-name>/.

    line 42
  3. Distinctive:

    Use the explicit mode if supplied.

    line 48
  4. Distinctive:

    Keep the freeze while you inspect read-only state and present choices.

    line 56

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 continue eliminates nothing.

Gates

  1. 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.
  2. 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.
  3. Side-effect confirmation. Never run a state-mutating command, discard Git changes, or invoke an external parking adapter without explicit operator confirmation (--confirm-external gates the external adapter).
  4. 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:

ModeWhen to useWhat it does / read
lockRight before implementation or delegationRead Lock mode: confirm the exact target, observable check, and forbidden boundary before work starts.
rescue (default)Mid-session spin, repeated continue, or scope creepRead Rescue mode: offer to park side quests and present a five-line reckoning with one discriminating read-only probe.
mapThree or more entangled hypotheses, surfaces, or environments make linear chat hard to followRead 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

WhenRead
Before invoking park or map, interpreting a receipt, or configuring an external adapterCommands
Resolving flags, environment, or config-file settingsConfiguration
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.

KeyFlagEnvironment variableDefault
repo_root--repo-rootSPIN_BREAKER_REPO_ROOT. (current directory)
parking_bundle--parking-bundleSPIN_BREAKER_PARKING_BUNDLEspin-breaker
external_cmd--external-cmdSPIN_BREAKER_EXTERNAL_CMDnone (empty; local markdown only)
external_timeout--external-timeoutSPIN_BREAKER_EXTERNAL_TIMEOUT15 (seconds)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.