Logo Fable Sonnet

Fable Sonnet

Cộng đồng
mrtooher
fable-sonnet

Áp dụng quy trình thực thi fable-mode trên Claude Sonnet. Khi được gọi bằng lệnh gạch chéo hoặc tên, tạo một tác nhân phụ Sonnet thực hiện vòng lặp theo từng giai đoạn — lập kế hoạch, phân công song song, kiểm tra xác minh có thể thất bại ở mỗi giai đoạn và tự đánh giá nghiêm khắc trước khi bàn giao; yêu cầu chỉ chỉnh sửa câu chữ sẽ chạy vòng lặp trực tiếp trên mô hình hiện tại. Kích hoạt khi người dùng chủ động yêu cầu xử lý kỹ lưỡng, có hệ thống hoặc theo “deep work” trên Sonnet.

Add to TypingMind

Tổng quan

Nhà phát hànhmrtooher
Kho mãfable-mode
Tên kỹ năngfable-sonnet
Sao
873
Bản fork
95
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được mrtooher công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Fable Sonnet trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mrtooher/fable-mode/tree/main/fable-sonnet
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Fable Sonnet trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Fable Sonnet ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Fable Sonnet với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Fable Sonnet làm được gì?

Áp dụng quy trình thực thi fable-mode trên Claude Sonnet. Khi được gọi bằng lệnh gạch chéo hoặc tên, tạo một tác nhân phụ Sonnet thực hiện vòng lặp theo từng giai đoạn — lập kế hoạch, phân công song song, kiểm tra xác minh có thể thất bại ở mỗi giai đoạn và tự đánh giá nghiêm khắc trước khi bàn giao; yêu cầu chỉ chỉnh sửa câu chữ sẽ chạy vòng lặp trực tiếp trên mô hình hiện tại. Kích hoạt khi người dùng chủ động yêu cầu xử lý kỹ lưỡng, có hệ thống hoặc theo “deep work” trên Sonnet.

Vì sao nên dùng Fable Sonnet trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Fable Sonnet là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Fable Sonnet trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mrtooher/fable-mode/tree/main/fable-sonnet. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Fable Sonnet?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Fable Sonnet với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Fable Sonnet với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Fable Sonnet có miễn phí không?

Kỹ năng này được mrtooher phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇