fable-mode
Skill24 starsChanged 3 months agoMITView on GitHub
Evidence-gated workflow for risky coding tasks. Use when a change needs deliberate research, explicit invariants, a time lock, adversarial review, and a verifiable completion record through the Fable Engine MCP server.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- tsukhani/jclawtheir own version, first seen Oct 5, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Oct 3, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- ryanportfolio/HarnessFirmware.comtheir own version, first seen Sep 29, 2026
- bmaltais/skillstheir own version, first seen Sep 6, 2026
- vhttxatd/claude-skillstheir own version, first seen Sep 4, 2026
Used with
Projects with it also use addskill, advocate and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkilladdskill
Create, import, update, or install repository or personal skills; includes runtime ownership, resources, and discovery validation.
Also in 3 projects that use this
ryanportfolioSkilladvocate
Use only when the user explicitly invokes $advocate to challenge a change just made before it lands. Do not trigger from natural-language requests.
Also in 3 projects that use this
- +10 more from ryanportfolio
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- mrtooher/fable-mode★ 871same name
- cozytab/fable5-mode★ 106same name
- saschb2b/skills★ 19same name
- tsukhani/jclaw★ 19same name
- fabdelgado/fable-mode★ 6same name
- fantaJinMode/fable-mode★ 3same name
- ayborg43/fable-mode★ 2same name
- Dallenlol/fable-mode★ 2same name
- bmaltais/skills★ 1same name
- joe-qiao-ai/fable-mode★ 1same name
6 more not listed
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 repository2 other files it gives its agents.
- rules/AGENTS.mdAGENTS.md
- fable-modeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 7 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Use Fable Mode for changes where a rushed edit has a meaningful cost:
- Distinctive: line 31
Create one session with a unique, filesystem-safe name:
- Very specific: line 40
Use Fable's scrape_* actions when they fit and are available.
- Very specific: line 42
Do not edit merely because the plan sounds plausible.
- Very specific: line 49
Use get_status before attempting to unlock.
- Very specific: line 61
Call unlock_execution with a short evidence-based rationale.
- Distinctive: line 66
Keep unrelated edits out of the patch.
- Distinctive: line 67
Run the repository's own tests, linters, type checks, and build commands.
- Very specific: line 84
If a review finds a breakage, reproduce it, fix it, rerun the relevant checks, and use record_breakage_report / verify_red_team_remediation …
- Very specific: line 95
Use evolve_cortex only when persistent learning is wanted and the environment permits it.
- Distinctive: line 123
Use domain cortex files only for the current task's language or risk area.
- Distinctive: line 128
Timer still active: keep researching or refining.
- Distinctive: line 129
Unlock rejected: read the returned missing prerequisites, satisfy them with real evidence, and retry only after the conditions change.
- Very specific: line 130
A named action is absent: use tools/list from the connected MCP client to inspect the installed server version.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fable Mode
Fable Mode separates confidence from permission. Use the fable_session MCP tool to move a coding task through four gates:
THINK -> PROVE -> ATTACK -> WRITEThe engine records the session, enforces its configured authority timer, and checks its own unlock prerequisites. It does not replace the host's permissions, sandbox, tests, or human approval rules.
When to use it
Use Fable Mode for changes where a rushed edit has a meaningful cost:
- security, authentication, payments, or data migration work;
- unfamiliar codebases or broad refactors;
- changes with hidden compatibility or concurrency risks;
- autonomous runs where the evidence trail matters.
For a small, reversible edit, use the host's normal workflow unless the user explicitly asks for Fable Mode.
Core workflow
1. Think
- Create one session with a unique, filesystem-safe name:
- action:
create_session - required:
session_name,objective - optional:
time_budget_minutes(default 60, minimum 2)
- action:
- Inspect the repository and its local instructions before proposing changes.
- Record each important claim with
log_epistemic_item:PROVEN: supported by a file, command output, receipt, or source;HYPOTHESIS: plausible but not verified;UNKNOWN: a material gap that still needs a probe.
- Use Fable's
scrape_*actions when they fit and are available. If not, use the host's normal research tools and record the resulting evidence. Never weaken the host's security or source rules to satisfy this skill.
Do not edit merely because the plan sounds plausible. The engine reports can_execute_code; treat false as locked.
2. Prove
- Record at least one meaningful invariant with
record_invariant. - Back unlock-driving claims with concrete evidence. The engine requires at least two
PROVENledger items and one invariant. - For a multi-part task, define a weighted acceptance rubric with
set_goal_rubric. Point each criterion at a check, artifact, or command. - Use
get_statusbefore attempting to unlock. If evidence is weak, run another probe and log alog_refinement_cycleinstead of relabeling an assumption.
A useful invariant is falsifiable:
INV-01: Existing public CLI behavior remains compatible.
For every command in the documented smoke-test set, exit status and output schema
remain unchanged unless the task explicitly changes that command.3. Unlock and implement
Call unlock_execution with a short evidence-based rationale. An unlock can succeed only when the engine's authority timer has elapsed and its cognitive prerequisites pass.
After unlock:
- Make the smallest change that satisfies the objective.
- Keep unrelated edits out of the patch.
- Run the repository's own tests, linters, type checks, and build commands.
- Record material file changes with
track_file_changewhen lineage is useful.
Fable permission is not user permission. Continue to follow the host's approval, secret-handling, network, and side-effect rules.
4. Attack
Challenge the actual changed behavior, not an invented code string. red_team_code_review does not execute arbitrary source text passed through MCP. Use repository tests or a sandboxed host runner for executable probes, then use Fable to record and assess the review.
Cover the attack classes that matter to the change:
- malformed, missing, oversized, or deeply nested inputs;
- permission, filesystem, and network failures;
- concurrency, reentrancy, and out-of-order lifecycle calls;
- resource exhaustion and timeout behavior;
- idempotency and state-transition invariants.
If a review finds a breakage, reproduce it, fix it, rerun the relevant checks, and use record_breakage_report / verify_red_team_remediation where applicable. Stop and report unresolved risk after the bounded remediation loop rather than claiming success.
5. Write the completion record
Before declaring completion:
- rerun checks against the final working tree;
- evaluate any registered rubric with
evaluate_goal_rubric; - separate verified results from remaining limits;
- report changed files, commands run, outcomes, and known gaps.
Use evolve_cortex only when persistent learning is wanted and the environment permits it. It is not a substitute for verification.
Action map
| Need | fable_session action |
| Start or inspect a run | create_session, get_status, list_sessions |
| Record knowledge | log_epistemic_item, record_invariant, log_refinement_cycle |
| Move through the lifecycle | advance_phase, unlock_execution, checkpoint_session, restore_session |
| Track quality | set_goal_rubric, evaluate_goal_rubric, track_file_change, verify_proof |
| Audit evidence with AI | adjudicate_evidence (optional, off by default; see docs/ai-evidence-adjudicator.md) |
| Research | scrape_web, scrape_github, scrape_arxiv, scrape_reddit, scrape_x, scrape_youtube |
| Challenge a change | red_team_code_review, record_breakage_report, verify_red_team_remediation |
| Use advanced reasoning | system3_* actions; see docs/system3-architecture.md in the repository |
Load references only when needed
The installed skill includes focused material under references/, cortex/, and examples/. Do not load the whole tree by default.
- Session mechanics:
references/system2-session-engine.md - Evidence and proof design:
references/proof-architecture.md - Adversarial review:
references/adversarial-code-review-swarm.md - Goal rubrics:
references/goal-rubric-and-pipeline-automation.md - Frontend creation and review:
references/design-system.md - Legacy frontend pattern catalogue:
references/anti-slop-frontend-architecture.md - Three.js work:
references/aaa-threejs-game-engine.md - Advanced reasoning:
references/system3-meta-cognition.md
Use domain cortex files only for the current task's language or risk area. Treat examples as patterns, not as authority to ignore the live repository, available tools, or user constraints.
Failure handling
- MCP server unavailable: say which Fable gate could not be recorded; continue only if the user's request and host policy allow a normal workflow.
- Timer still active: keep researching or refining. Do not busy-wait or attempt to bypass it.
- Unlock rejected: read the returned missing prerequisites, satisfy them with real evidence, and retry only after the conditions change.
- A named action is absent: use
tools/listfrom the connected MCP client to inspect the installed server version. Do not invent an action. - Tests pass but risk remains: report the uncovered risk and run the targeted adversarial check. Passing tests are evidence, not a universal proof.
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.

