Logo : Fable Sonnet

Fable Sonnet

Communauté
mrtooher
fable-sonnet

Appliquez la discipline d’exécution du mode fable avec Claude Sonnet. Lorsqu’elle est invoquée par une commande slash ou par son nom, cette compétence lance un sous-agent Sonnet qui suit la boucle par étapes — planification, délégation en parallèle, vérification pouvant échouer à chaque étape et auto-évaluation critique avant livraison. Une demande portant uniquement sur la formulation est traitée en suivant cette boucle directement avec le modèle actuel. À déclencher si l’utilisateur demande explicitement un traitement approfondi, systématique ou en « deep work » avec Sonnet.

Add to TypingMind

Présentation

Éditeurmrtooher
Dépôtfable-mode
Nom de la compétencefable-sonnet
Étoiles
873
Forks
95
Fichiers inclus
Instructions uniquement
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par mrtooher sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Fable Sonnet dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/mrtooher/fable-mode/tree/main/fable-sonnet
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrtooher/fable-mode.git /tmp/fable-mode
mkdir -p .claude/skills
cp -r /tmp/fable-mode/fable-sonnet .claude/skills/fable-sonnet
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Fable Sonnet dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Fable Sonnet dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Fable Sonnet n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Fable Mode — Sonnet

Family version: v6 (2026-10-10).

Run the fable-mode discipline on Claude Sonnet via a subagent (Agent tool permitting). The skill shapes the procedure; the model still sets the reasoning ceiling. Sonnet sits between Haiku and Opus — strong general reasoning at lower cost. Pick this as the balanced default for thorough work that doesn't demand peak synthesis.

Sonnet's characteristic gap: it plans decently but reliably skips step 3 — the check that can fail — and substitutes "looks right" review. The briefing below enforces step 3 hardest for that reason.

Invocation gate

When the user names this skill — a slash command, or "fable on sonnet" in words — RUN IT. Do not weigh whether the task looks big enough. The user's explicit invocation IS the trigger; the cost call is theirs, not yours.

The "skip for single-pass tasks" judgment below governs only autonomous triggering — this skill deciding on its own to fire. It never overrides an explicit request. If you think the loop is overkill for what was asked, run it anyway and say so afterward.

Autonomous trigger only: if a task has one obvious correct approach, fits in a single pass, and the user did not ask for this skill, do it directly.

Spawn authorization (same rule as fable-mode): a slash command or the skill named ("fable-sonnet", "fable on sonnet") authorizes spawning. A wording-only or autonomous trigger does not: run the loop inline on the current model, run double-check in its self-check mode, and say so. If this thread is not on Sonnet, also say the Sonnet pin was skipped and that a slash command requests the pinned run. Usage limit: same as fable-mode — when the user reports usage at their threshold, check in first.

How to run it

  1. Confirm the runtime exposes the Agent tool and spawning is authorized (Invocation gate). If either fails, you cannot pin a model — say so and run the loop inline on the current model instead.

  2. Spawn an Agent with model: "sonnet" and subagent_type: "general-purpose".

  3. Brief the agent with: the user's task, where to save outputs, relevant context from this session, and everything from Core Loop onward as its operating instructions. Inline the operational rules below in full — pass them verbatim, do not summarize them into a reference. Cloud subagents could load skills (2026-10-10); other surfaces are unchecked. The inline copy is shorter than a skill load and works either way.

  4. Wait until every spawned agent — worker or verifier — has returned before you merge, fix, or relay; spawns may run in the background even when foreground is requested. If a spawn errors or fails to return, say which and do its part inline. Then relay the result and surface any stage it marked unverified.

  5. For high-stakes deliverables, if spawning is authorized, spawn a fresh verifier agent briefed only with the spec and the artifact — not the worker's reasoning — and have it re-run the named checks cold. A Haiku verifier is usually enough; the checks are mechanical by design. Wait for its verdict before step 6; the FINAL-COLD-CHECK line may say yes only if it checked the version you deliver.

  6. Mandatory delivery gate — once, on this thread, never inside the worker: before presenting the result to the user, invoke the double-check skill on the finished deliverable. It runs the checker panel (claims, requirements, synthesis seam) — or its self-check mode without the Agent tool or spawn authorization — fixes any FAIL, and attaches a verification summary.

    Close your own report to double-check with a literal line:

    FINAL-COLD-CHECK: yes | intermediates-only | no

    yes means step 5's verifier cold-checked the final document, and double-check runs only the seam check. intermediates-only, no, or a missing line means the full checks run. Emit it honestly. Do not skip the gate; the user relies on it instead of re-checking the work themselves.

For independent sub-parts, spawn multiple Sonnet agents concurrently and merge outputs only after every one has returned. Keep delegation one level deep: the agents you spawn run their stages sequentially and do not spawn further subagents. Cap concurrency to a handful of agents so cost and context stay controlled.

Core Loop (pass this to the subagent)

1. Stage map (before touching anything) Write the full stage plan first. Number stages; give each a brief expected output. Each stage produces one verifiable artifact; if a stage produces nothing checkable, merge it with the next. Update the map when new information invalidates a plan — it is a living document, not a contract.

Replan budget: at most two full replans per run. If a third structural replan seems necessary, stop — the task is ambiguous at the requirements level, not the execution level. Return the ambiguity to the parent for a user decision instead of burning more stages. Renumbering or splitting one stage doesn't count; reordering or rewriting the map does.

2. Run your stages in order; don't nest subagents You are already the delegated worker. Run your stages sequentially. Do not spawn further subagents unless the parent explicitly authorized a second level — nesting multiplies cost and scatters context.

3. Verify with a check that can fail — your weakest step; enforce it hardest Each stage defines a pass condition an external artifact satisfies: a test that runs, a file that provably exists in the expected shape, a source actually fetched and read, an output diffed against the spec. "I reviewed it and it looks right" is not a check. Every check must name the exact command, file, or comparison — "verified" without a named artifact is a violation. If a stage has no failable check, say so and mark the output unverified. If a fix at stage N invalidates a prior stage's output, re-run that stage's check before continuing.

4. Self-critique before delivery Read the final output as a skeptical reviewer. Hunt for a real weakness or limitation; if one exists, fix it or flag it. If genuine checking turns up nothing, say so plainly — do not manufacture a weakness to satisfy the ritual. When a task is genuinely beyond Sonnet's capability, flag it rather than producing plausible-sounding wrong output — name what was attempted and where it failed, and recommend escalating to fable-opus, which is the top of the ladder.

Domain patterns (pass these to the subagent too)

Each is an instance of step 3 — the failable check that fits the work:

  • Software: read the full relevant section before writing — list the files actually opened; any file the diff touches that isn't on the list is a gap. Tests alongside implementation. Failable check: named test command runs and passes; at least one error path exercised with output shown. A suite never run does not count as passing.
  • Research: gather sources before synthesizing. Failable check: every load-bearing claim maps to a source actually fetched and read in this run — URL or document named. A claim resting on training memory alone must be labeled as such. Distinguish confirmed facts from inferences explicitly.
  • Data: understand the data shape first — row count, column list, sample printed, not assumed. State the hypothesis before computing. Failable check: quality assertions (nulls, duplicate keys, out-of-range, row count vs. source) run with output shown; one subtotal in the deliverable recomputed independently from raw rows.
  • Documents / spreadsheets / decks: build from the spec, then diff the artifact against the spec line by line. Failable check: open the produced file and read it back — every required section, number, and label confirmed on the rendered file, not the generating code.
  • Long-running: keep a work log; define done criteria upfront — written and testable, not vibes. Failable check: each continuation begins by confirming the log was re-read and naming any decision it changed.

Operational rules (pass these to the subagent verbatim)

These mirror the execution-guardrails skill, inlined so every worker has them whether or not it can load skills.

Verify before flag. Before flagging any problem — verify it actually exists. Grep, diff, run it, or check the source directly. Never report a problem that hasn't been confirmed present. An unverified flag (a warning raised because evidence wasn't found, rather than because a fault was found) is itself an error: it manufactures doubt where none is warranted and sends the user chasing ghosts. Absence of evidence is not the finding — web silence in particular is never grounds for a warning against the user's firsthand information. Confirm, then flag.

Warning threshold. Across a multi-stage run, minor concerns accumulate that aren't worth halting on individually. Keep a running count. At three accumulated warnings (unless the briefing sets a different number), stop and surface all of them at once before continuing. A concern that is independently material and confirmed does not wait for the threshold.

Find-and-replace safety. When editing files with sed (or any substring replace), always anchor on word boundaries — a bare edge replace will mangle Ledger into garbage. Use \bword\b, not bare word. Prefer a targeted string-replace on a unique anchor over sed; never use bare unanchored sed. After any replace pass, grep for glued or malformed compound words before presenting.

Foire aux questions

À quoi sert la compétence IA Fable Sonnet ?

Appliquez la discipline d’exécution du mode fable avec Claude Sonnet. Lorsqu’elle est invoquée par une commande slash ou par son nom, cette compétence lance un sous-agent Sonnet qui suit la boucle par étapes — planification, délégation en parallèle, vérification pouvant échouer à chaque étape et auto-évaluation critique avant livraison. Une demande portant uniquement sur la formulation est traitée en suivant cette boucle directement avec le modèle actuel. À déclencher si l’utilisateur demande explicitement un traitement approfondi, systématique ou en « deep work » avec Sonnet.

Pourquoi utiliser Fable Sonnet sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Fable Sonnet se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Fable Sonnet dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/mrtooher/fable-mode/tree/main/fable-sonnet. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Fable Sonnet ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Fable Sonnet ?

Autant que vous le souhaitez. Vous pouvez utiliser Fable Sonnet avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Fable Sonnet est-elle gratuite ?

Cette compétence est publiée sur GitHub par mrtooher. Consultez le dépôt pour connaître les conditions de licence. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇