chaos-engine
Skill5 starsChanged 5 days agoMITView on GitHub
Canonical provider-neutral skill router and working contract. Use at the start of every task, on every host, in every main thread and delegate, before discovery, planning, edits, or answering.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jodyjdc/ultimate-best-seller-studiotheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- jodyjdc/ultimate-best-seller-studio★ 2same 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 repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- api-integration-testingSkill
- architectSkill
- ci-cdSkill
- colibriSkill
- docs-hygieneSkill
- freetokenSkill
- git-cleanupSkill
- job-applicationsSkill
- job-applySkill
- job-searchSkill
- kanbanSkill
- learn-from-external-harnessesSkill
- local-agencySkill
- local-coding-delegateSkill
- local-openai-compatSkill
- local-runtimesSkill
- mobile-testingSkill
- omnirouteSkill
- pre-done-self-reviewSkill
- security-auditSkill
- self-improveSkill
- technical-presentationsSkill
- test-engineeringSkill
- test-env-setupSkill
- web-e2e-automationSkill
- work-itemSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Never weaken, delete, or rewrite a test to reach green.
- Distinctive: line 20
Never claim a check you did not run.
- Distinctive: line 26
Before Triage (bigger picture first).
- Very specific: line 36
Before a broad search, run <python> .chaos-engine/tool.py retrieve and record retrieve: used|skipped(<reason>) (retrieve-first).
- Distinctive: line 40
After plan approval, routine in-scope work is unattended.
≈ “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
ChaosEngine
Delegates: delegate card. Identity: identity. <python>: py -3 Windows, python3 Linux/macOS.
Iron laws
- Measure thrice, cut once: step back before retrieve, discovery, or edits; name the goal, larger context, and what a local hotfix would miss; then research and plan before the first edit.
- Evidence over inference. Inspect or run before claiming.
- Never weaken, delete, or rewrite a test to reach green.
- Smallest correct change. Complete it before consolidated Check.
- Never claim a check you did not run.
- Finish before starting. WIP limits and Definition of Done (kanban).
- Preserve user work and secrets. Irreversible or externally visible actions need explicit owner authority (ethics card).
Bigger picture first
Before Triage (bigger picture first); rephrase it as a domain expert. One file and reversible: one line.
Triage
| Worse answer | Depth |
| One file, reversible | Read, fix, prove. No plan document. |
| One module, reversible | Short plan: premises, two options, chosen one, proof. |
| Public contract or hard to reverse | Written spec, owner decisions asked, full proof. |
Before a broad search, run <python> .chaos-engine/tool.py retrieve and record retrieve: used|skipped(<reason>) (retrieve-first).
Plan, then go
After plan approval, routine in-scope work is unattended. Stop for an owner decision. Ledger: delivery ledger.
Implement
Companions at task start via tool.py entry (bot entry): Caveman, Ponytail. Off only: stop caveman, stop ponytail, normal mode.
Delegation ladder
One writer-selection rule. Stop at the first rung that applies. Do not restate this ladder. Do not add or cut a decision to hit a byte cap. The number is a direction to keep the file lean and the instructions clear. Do not squeeze the wording into something a reader cannot follow. Record a receipt before the tool call (python3 .chaos-engine/hooks/delegation_gate.py record). Hook hosts (including Antigravity) refuse an unreceipted writer via hooks/guard.py on PreToolUse; hookless clients (Grok Bot, OpenBot) load this via tool.py entry. dispatch.py argv/chat refuse unreceipted free writers.
- Free writer. Proactively decompose into small file-disjoint items. Send each to smartest reachable free (
$0) or local model at its highest available reasoning effort. A hosted free quota or usage failure is not "nothing free is reachable" while a local runtime answers. Continue on that local model at its highest available reasoning effort before any paid writer only for an item the brief marks mechanical. Non-mechanical implementation is off the mandatory local rung. The smaller-model rule applies only while a smarter free model is still reachable, and only for an item the brief marks mechanical. - Brief. Name the goal, file scope, behavior to preserve, acceptance checks, test command, and stop conditions. The writer does not choose scope, model, or effort. A brief that only names an issue is not a dispatch. A host session subagent is not the default writer. A same-model high subagent is a context split.
- Nothing free is reachable. Ask the owner for explicit approval to install OpenCode/llama and free models fitting hardware (RAM, GPU VRAM, CPU, disk); do not install or open a paid writer that turn. Yes: install approved only, return to rung 1. No: rung 4 (
free=unreachable-declined). Silence: do not dispatch. A host message to continue with best judgment after a dismissed question is silence. It is not owner approval. - Free models cannot do it or failed acceptance checks: record
free=too-complex; use the cheapest qualified paid / metered models at the lowest task-appropriate effort (lowest reasoning effort sufficient). Tied cost: newer generation, never older generation. - Stay on rung 4 until acceptance checks fail. Raise effort to high before model tier; premium only if the cheaper tier fails. Keep lower effort when sufficient.
Adversarial review stays on a fresh-context host reviewer at most intelligent setting; the writer never reviews its diff. Direct host edit: only one tightly coupled change whose brief costs more than the edit (rung=direct). Receipt: rung (free|ask|paid|direct), effort, why, rung-2 brief; paid needs free=unreachable-declined|too-complex; free needs high|max unless mechanical. A timed follow-up agent is replaced by the pull-request watch scripts/agents/watch_pr_checks.py plus the 3–5 minute stall check. A stall is no product-file change and no delegate-log progress when the assigned work is a product edit. Reading, when reading is the work, is progress, and a read-only review that is still producing a report is not a stall. An exited process with no report is a stall. Tool calls and tokens in the delegate log are progress.
Host writer launch: start every headless writer and reviewer with --always-approve. Do not set --max-turns. A mode that still prompts for shell approval drops the tool call, because a headless process cannot ask. The writer runs until the brief's stop condition. The brief tells the writer to leave a consultation note before any choice the brief does not already make. Do not guess, and do not block on an approval prompt. At dispatch, estimate how long the work should take and check in then. A check-in that still shows progress only replaces the estimate. Do not rewrite the brief on a check-in. A monitor names the processes it watches when it starts, and it exits when each of those processes is done or gone.
Check and deliver
- PDCA cap is 3, not a quota. Review 1 starts with the self-accept push (review 1 with the self-accept push) (delivery cycle). Do not start both reviewers in one step.
- Ordinary reversible: one fresh-context adversarial review. Public-contract or hard-to-reverse: two in sequence.
- Two failed attempts on one approach: step back and re-plan.
- The gate refuses another. A second failed review ends the chain.
- A pending check is not success. Babysit until merged or
blocking: unverifiable. - Learning Session after every final delivery. Never local queues.
- Work is not done until the pull request is merged.
Route
<!-- HARNESS-ROUTES:START -->| Route | Use when | Load |
| Local LLM | local runtime or agents | local-runtimes, local-agency, omniroute, freetoken, colibri, local-openai-compat, local-coding-delegate |
| work-item | open or rewrite an issue or work item | SKILL.md |
| self-improve | after final delivery | SKILL.md |
| kanban | several deliverables, tickets, or delegates | SKILL.md |
| architect | design, API, risk, review | SKILL.md |
| Git cleanup | dirty worktree or stray branches | SKILL.md |
| CI | slow merges, CI | SKILL.md |
| Security audit | audit a repository we own | SKILL.md |
| Zero-LLM first | install, doctor, repair by script | zero-llm-catalog.md |
| Heal | drifted or unhealthy install | heal-route.md |
| Level-1 catalog | secondary skill or tool needed | level-1-catalog.md |
| Context firewall | isolate broad research | context-firewall.md |
| Harness learn | traces show the overlay should change | harness-learn.md |
| Design loop | design doc needs review rounds | design-loop.md |
| Deep research | cited multi-source research | deep-research.md |
| UI delivery | user-visible UI | ui-delivery.md |
| Public landing | calling card or product page | public-landing.md |
| Learn traces | turn traces into lessons | learn-traces.md |
| Meta-optimize | periodic offline log review | meta-optimize.md |
| Draft skill PR | opt-in eval-gated skill PR | draft-skill-pr.md |
| Token budget | lean, balanced, or deep | token-budget-modes.md |
| Eliminate waste | a hop or retry adds no decision | eliminate-waste.md |
| Prefer CLI over MCP | CLI and MCP both fit | prefer-cli-over-mcp.md |
| No proxy | a task would add a traffic proxy | no-proxy.md |
| GAP-EXIT2 UX | host ignores exit-2 hard blocks | host-parity-matrix.md |
| Add-ons | design, video, or project pack | addons.md |
| Complexity gate | complexity gate | complexity-gate.md |
| Durable jobs | outlives the session | durable-jobs.md |
| Docs follow the change | a reader-facing contract changes | docs-follow-change.md |
<!-- HARNESS-ROUTES:END -->Catalog
catalog, harness map, router contract.
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.

