fable-domain
Skill13 starsChanged 4 months agoMITView on GitHub
Use when extending the fable-method problem-solving loop into a non-code domain (marketing, research, data analysis, ops). Generates a domain adapter bundle: workflow+flowchart, adapter, trap fixture, smoke eval. Refuses licensed/harm-causing domains, stops when no adapter is needed, and verifies its own output before reporting done.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Sahir619/fable-methodtheir own version, first seen Oct 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Sahir619/fable-method★ 2.3ksame 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 repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- fable-judgeSkill
- fable-loopSkill
- fable-methodSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Use when a user asks to "create a domain adapter for X", "extend fable to marketing/research/ops", or "build a trap fixture for sector Y".
- Distinctive: line 29
No bundle = no claim. Partial output (only adapter, only workflow) is rejected at Stage 4.
- Distinctive: line 55
Ask the user, in plain questions, before generating anything:
- Distinctive: line 77
User approval gate: do not enter Stage 2 until the user confirms the scope in one message.
- Very specific: line 88
No web access = no trustworthy bundle: If web_search or web_extract fails (network error, no results), stop.
- Distinctive: line 90
Keep research tight: 3-6 web calls total.
- Distinctive: line 150
Run checks in order. Report outcome-first (pass/fail + the one reason) before any detail.
- Distinctive: line 158
fable-judge pass: run fable-judge against the bundle's own claims (workflow accuracy, adapter authority, trap validity).
- Very specific: line 161
If smoke-grade is fail or partial, do not declare done.
- Very specific: line 165
No duplicates: before generating, scan references/domains/.
- Very specific: line 168
No fabrication: every source URL must come from a real web_search/web_extract call in Stage 2.
- Distinctive: line 169
Red-lines hold across stages: if Stage 2 research reveals the domain is actually licensed/harm-causing (e.g.
- Distinctive: line 170
Bundle integrity: all four deliverables or the task is not done.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
fable-domain
This skill extends the fable-method problem-solving loop to non-code sectors by producing a domain adapter bundle. A bundle is four deliverables that together let fable-loop/fable-judge run against a new domain with its own nouns, authorities, and evidence rules - instead of falling back to coding defaults.
Use when a user asks to "create a domain adapter for X", "extend fable to marketing/research/ops", or "build a trap fixture for sector Y".
What a bundle is
A bundle is all four of these, or it is not done:
- Domain workflow - ordered steps a practitioner follows in the sector, with a mermaid flowchart.
- Adapter - a file conforming to the adapter template (applies-when, minimum evidence set, evidence sources, authority order, verification by observation, fraud table, done-by-example, sources with fetched links).
- Trap fixture - an
eval/scenarios/<scenario>/directory withGROUND-TRUTH.mddefining the task, the trap, scoring caps, and ideal behavior. - Smoke eval - 1-2 control-vs-adapter runs judged by diff + execution, labeled
smoke-grade: pass|fail|partial.
No bundle = no claim. Partial output (only adapter, only workflow) is rejected at Stage 4.
Process
flowchart TD
A[Stage 1: Discuss] -->|red-line hit| R[Refuse + stop]
A -->|scope stop: nouns == coding default| S[No adapter needed]
A -->|approved scope| B[Stage 2: Research]
B -->|no web access| STOP1[No trustworthy bundle, stop]
B -->|evidence gathered| C[Stage 3: Generate]
C -->|duplicate adapter exists| DUP[Merge or abort]
C -->|4 deliverables written| D[Stage 4: Verify]
D -->|smoke + judge pass| DONE[Bundle complete]
D -->|smoke fail| FIX[Patch + re-verify]
FIX --> C
R -.-> END[End]
S -.-> END
STOP1 -.-> END
DUP -.-> END
DONE --> END[Report outcome-first]Stage 1 - Discuss
Ask the user, in plain questions, before generating anything:
- Use case: what task in this domain should the loop solve? One concrete example.
- What good looks like: what does a correct answer look like? What does a wrong answer look like?
- Trusted authorities: which orgs, standards, regulators, or practitioners does the user defer to?
- Must-nevers: what outputs are unacceptable, illegal, or harmful?
- Desired outputs: artifact shape - report, plan, checklist, data file, copy draft.
Red-lines - refuse and stop, no negotiation:
| Domain trait | Action |
| Requires professional licensure (medical, legal advice, clinical) | Refuse |
| Wrong answers cause physical/financial/mental harm | Refuse |
| Safety-critical systems (aviation, weapons, power grid) | Refuse |
| Mental health diagnosis or treatment | Refuse |
| Personalized financial advice | Refuse |
State the refusal with the reason and the closest safe scope, then stop. Do not proceed to Stage 2.
Scope stop: if the sector's core nouns (artifacts, authorities, evidence types, failure modes) do not differ from the fable-method coding default (read code → reproduce bug → patch → verify), then no adapter is needed. Tell the user: "fable-method already covers this; an adapter would duplicate the default." Stop.
User approval gate: do not enter Stage 2 until the user confirms the scope in one message. If they amend the scope, re-discuss.
Stage 2 - Research
Bounded web research - not open-ended:
web_searchthe sector + "regulation", "standard", "failure mode", "authority". Limit 5 results per query.web_extractthe top 2-3 authoritative-looking URLs (regulators, standards bodies, practitioner guides).- Capture: named authorities, evidence types the sector trusts, common fraud/failure modes, any regulated must-never.
- Record every fetched URL for the adapter's sources section.
No web access = no trustworthy bundle. If web_search or web_extract fails (network error, no results), stop. Report "no web access; cannot build trustworthy adapter." Do not fabricate sources or authorities. Do not write the adapter from priors alone.
Keep research tight: 3-6 web calls total. If you can't find an authority in 6 calls, the domain is too thin to adapt - stop.
Stage 3 - Generate
- Read existing adapters:
search_filesforreferences/domains/*/adapter.mdin the fable skill tree. Do not duplicate. If an adapter for this sector already exists, either merge the new scope into it or abort and tell the user. - Scope the sector in one sentence: "This adapter covers
<sector>for<task shape>; it does not cover<adjacent>." - Write the domain workflow as ordered numbered steps + a mermaid flowchart of those steps.
- Write the adapter to the template below. Every section required. Fetched URLs go in
## Sourcesas real links. - Wire routing surfaces: set
applies-when,minimum-evidence-set, andauthority-orderso fable-loop can route tasks into this adapter. - Build the trap fixture:
eval/scenarios/<scenario>/GROUND-TRUTH.md+ any supporting files. The scenario must contain a realistic trap (plausible-but-wrong answer) that the adapter's authority/evidence rules catch.
Adapter template
---
domain: <sector>
applies-when: <one-line trigger - when fable-loop routes here>
---
# <Sector> Adapter
## applies-when
<conditions that route a task to this adapter>
## minimum-evidence-set
<bare evidence required before any conclusion: e.g. 2 independent sources, 1 regulator, 1 practitioner guide>
## evidence-sources
<where evidence comes from, ranked>
## authority-order
<who wins conflicts: regulator > standard > practitioner > general>
## verification-by-observation
<how to check the output is correct by observation, not by claim>
## fraud-table
| Fraud / failure mode | Signal | Defense |
|---|---|---|
| ... | ... | ... |
## done-by-example
<one worked example showing the adapter applied end-to-end>
## Sources
- [name](https://fetched-url)Trap fixture shape
eval/scenarios/<scenario>/
GROUND-TRUTH.md # task, the trap, scoring caps, ideal behavior
(optional supporting files)GROUND-TRUTH.md must contain: the task statement, the trap (the plausible wrong answer and why it's wrong), scoring caps (max score, penalties, hard caps for harmful output), and ideal behavior (what a correct adapter-guided run produces).
Stage 4 - Verify
Run checks in order. Report outcome-first (pass/fail + the one reason) before any detail.
- Repo checks: adapter exists, conforms to template (every section present), sources are real fetched URLs, trap fixture has GROUND-TRUTH.md, no duplicate adapter.
- Smoke eval: via
delegate_task, run 1-2 control-vs-adapter comparisons.
- Control: fable-method default (no adapter) on the trap scenario.
- Adapter: fable-method + this adapter on the same scenario.
- Judge by diff (output difference) and execution (did it run, did it catch the trap).
- Label result:
smoke-grade: pass | partial | fail.
- fable-judge pass: run fable-judge against the bundle's own claims (workflow accuracy, adapter authority, trap validity). If judge fails, patch and re-verify.
- Report: one-line outcome, then the four deliverable paths, then smoke-grade, then any gaps.
If smoke-grade is fail or partial, do not declare done. Patch (usually evidence-set or fraud-table), re-run smoke, re-report.
Bounds
- No duplicates: before generating, scan
references/domains/. If an adapter covers this sector, merge or abort - never write a second adapter for the same sector. - User approval gates: Stage 1 → Stage 2 requires explicit user scope confirmation. Stage 3 output (the four files) requires user sign-off before Stage 4 runs the smoke eval (it costs delegate_task calls).
- Small-model boundary: this skill does research and generation on a small/local model. If a step needs deep reasoning over long context (cross-domain authority conflict, multi-source synthesis), delegate to a stronger model via
delegate_taskrather than improvising. Do not let a small model silently weaken the authority-order. - No fabrication: every source URL must come from a real
web_search/web_extractcall in Stage 2. No web access → stop. No prior-only adapters. - Red-lines hold across stages: if Stage 2 research reveals the domain is actually licensed/harm-causing (e.g. "marketing" turns out to be medical claims), abort immediately and report the red-line.
- Bundle integrity: all four deliverables or the task is not done. Reporting three of four = reporting failure.
Files this skill writes
references/domains/<sector>/
workflow.md # Stage 3.1 - steps + mermaid flowchart
adapter.md # Stage 3.2 - adapter to template
eval/scenarios/<scenario>/
GROUND-TRUTH.md # Stage 3.3 - trap fixture
smoke-results.md # Stage 4 - smoke eval recordDone criteria
The skill is done when, and only when:
- Stage 1 discussed, scope approved, no red-line, no scope stop.
- Stage 2 research ran, ≥2 real sources captured, web access confirmed.
- Stage 3 wrote all four deliverables; no duplicate adapter.
- Stage 4 smoke-grade is
pass; fable-judge pass; outcome reported first. - User sign-off recorded at each gate.
Any unchecked box = not done. Say so.
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.

