the-spiral
Skill2 starsChanged 6 months agoMITView on GitHub
Use when deciding whether to re-enter the loop on a survivor.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- egregore-labs/egregoretheir own version, first seen Oct 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- egregore-labs/egregore★ 291same 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 repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- adversarial-collisionSkill
- conviction-signallingSkill
- cost-aware-pipelineSkill
- empirical-collapseSkill
- failure-taxonomySkill
- git-worktree-orchestrationSkill
- language-verificationSkill
- perturbation-operatorsSkill
- superposition-branchingSkill
- topological-divergenceSkill
- untrusted-researchSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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
- Distinctive: line 28
Collapse was UNVERIFIED but is verifiable: No suite existed; the survivor's shape makes a locked test set writable.
- Very specific: line 42
The new task re-litigates a recorded death: If the spiral's frame matches a verifier:/adversary: failure row, the answer already exists.
- Very specific: line 51
Read the precipitate and run report of the finished round (.pqa/artefacts/).
- Very specific: line 54
If spiraling: the new task is the precipitate's open question stated as a fresh one-line ask.
- Distinctive: line 66
Run 1 (build): "make nightly export faster" → survivor b2 "delta-export", verified 88%, precipitate "delta-export: the fastest query is the …
- Distinctive: line 73
Run 2 (spiral, depth 1, budget = the remaining 380k): task "define backfill semantics for delta-export consumers" — the scale gate …
- Distinctive: line 92
Defaulting depth up: If most runs "need" depth 2, the frames or axes at depth 0 are too shallow — fix the gates, not the cap.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
The Spiral
A spiral is another co-precipitation round run ON the survivor of the last one — the precipitate becomes the next round's task. Depth is available but never free: each round costs a full loop's tokens, and an unbounded spiral is how runs escape their budgets. The engine enforces the cap; this skill is the judgment about when depth actually pays.
The guard (engine-enforced)
max_spiral_depth— config key /PQA_MAX_SPIRAL_DEPTH, default 1, validated to [0, 5]. Depth 0 disables spirals entirely.pqa.orchestrator.run_pqa(..., spiral_depth=d, max_spiral_depth=m)aborts with a reported (never silent)aborted=TrueRunReport whend > m— "a brake is not a steering wheel": the budget alone must never be the only thing stopping recursion.spiral_depthis surfaced in the run report, so nobody mistakes a two-round result for a one-shot.
When to spiral (any one suffices)
- The precipitate names a new axis. The winner's one-line name contains a fork the run did not explore ("delta-export…" → spiral: what should backfill semantics be?).
- Collapse was UNVERIFIED but is verifiable. No suite existed; the survivor's shape makes a locked test set writable. Spiraling with the suite in place turns judgment into evidence — the highest-value second round there is.
- Unresolved non-critical findings cluster. Three high findings pointing at the same seam are a frame disagreement for round two.
- The operator perturbs. A human checkpoint rejecting the frame or the survivor IS the collision the harness cannot generate; their objection seeds the new frame.
When to stop (any one suffices)
- Verified survivor, findings resolved. A clean win does not need a second opinion at full-loop prices.
- Remaining budget < one honest round. A starved spiral produces underexplored
branches that die
budget:— noise in the taxonomy, not learning. - The new task re-litigates a recorded death. If the spiral's frame matches a
verifier:/adversary:failure row, the answer already exists; read it instead. - It's a decide-ask. Questions never spiral — the scale gate applies at every depth, and "one more loop on it" is the upgrade reflex in disguise.
- The pull is elegance. "It verifies but could be prettier" is a refactor for a human, not a superposition for the harness.
Protocol
- Read the precipitate and run report of the finished round (
.pqa/artefacts/). - Apply the gates above. The default is STOP — depth defaults to 1 for a reason, and a spiral is the exception that must argue for itself.
- If spiraling: the new task is the precipitate's open question stated as a fresh
one-line ask. Frames load fresh — research may not have changed, but self-eval HAS:
the survivor is now part of the codebase. Pass
spiral_depth=d+1and the remaining budget, never a fresh one — depth competes with breadth for the same tokens. The scale gate re-classifies the new ask from scratch: a build run's spiral is often a patch run. - Journal the chain: the child's report carries its
spiral_depth; the parent's precipitate references the child ("spiraled: see run<id>") so the registry shows the lineage.
Worked example
Run 1 (build): "make nightly export faster" → survivor b2 "delta-export", verified 88%, precipitate "delta-export: the fastest query is the one not run", 420k of 800k tokens spent. The precipitate's open question: backfill semantics for new consumers.
Gate check: new axis named ✓; remaining 380k ≥ one patch-sized round ✓; no matching failure row ✓ → spiral approved at depth 1.
Run 2 (spiral, depth 1, budget = the remaining 380k): task "define backfill semantics for delta-export consumers" — the scale gate classifies it patch (2 branches: backfill-on-subscribe vs lazy-page-on-read). Lazy wins, verified. Total: 2 rounds, ~690k tokens, both inside the original envelope, lineage recorded in both reports.
The counterfactual round 3 ("cursor or offset pagination?") is a decide-ask — one
judge pass at decide economics answers it, and max_spiral_depth=1 would have refused
a third full loop anyway. Both brakes exist; neither is the steering wheel.
Anti-patterns
- Spiraling for elegance. Verified + resolved = done; beauty is not a branching axis.
- Fresh budgets per round. Inheriting the remainder is the point — otherwise depth is unbounded spend wearing a seatbelt.
- Silent depth. A result that hides its spiral depth misrepresents both its cost and its confidence.
- Re-litigating recorded deaths. The taxonomy exists so round N+1 never pays for round N's lesson twice.
- Defaulting depth up. If most runs "need" depth 2, the frames or axes at depth 0 are too shallow — fix the gates, not the cap.
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.

