Fable Sonnetのロゴ

Fable Sonnet

コミュニティ
mrtooher
fable-sonnet

Claude Sonnetでfable-modeの実行規律を適用します。スラッシュコマンドまたは名前で呼び出すと、段階的なループに従うSonnetサブエージェントを起動します。ループでは、段階ごとの計画、並列での作業委任、各段階で失敗を検出できる検証チェック、提出前の批判的な自己レビューを行います。文言の修正だけを依頼された場合は、現在のモデル上でループを実行します。ユーザーがSonnetでの徹底的・体系的な対応や「deep work」を明示的に求めた場合に起動します。

Add to TypingMind

概要

公開者mrtooher
リポジトリfable-mode
スキル名fable-sonnet
スター
873
フォーク
95
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    mrtooherがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Fable Sonnet」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/mrtooher/fable-mode/tree/main/fable-sonnet
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFable Sonnetを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFable Sonnetを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Fable Sonnetは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「Fable Sonnet」では何ができますか?

Claude Sonnetでfable-modeの実行規律を適用します。スラッシュコマンドまたは名前で呼び出すと、段階的なループに従うSonnetサブエージェントを起動します。ループでは、段階ごとの計画、並列での作業委任、各段階で失敗を検出できる検証チェック、提出前の批判的な自己レビューを行います。文言の修正だけを依頼された場合は、現在のモデル上でループを実行します。ユーザーがSonnetでの徹底的・体系的な対応や「deep work」を明示的に求めた場合に起動します。

TypingMindでFable Sonnetを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Fable Sonnetはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFable Sonnetをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mrtooher/fable-mode/tree/main/fable-sonnetを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Fable Sonnetを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Fable Sonnetで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFable Sonnetを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Fable Sonnet」は無料ですか?

mrtooherがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇