Logo Fable Validate

Fable Validate

Cộng đồng
richkuo
fable-validate

Use when the user wants a GitHub issue validated by a Fable 5.1 subagent. Spins up a read-only subagent running on Fable 5.1 that executes the validate-issue procedure (claim tracing, architecture/consistency checks, complexity score), then relays the verdict back to the main agent, which presents it and takes any follow-on action (update issue, work on issue). Trigger on "/fable-validate", "fable validate <issue>", or "validate this with fable".

Tổng quan

Nhà phát hànhrichkuo
Kho mãrk-skills
Tên kỹ năngfable-validate
Sao
50
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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 là Markdown thuần túy, không phải 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ộ.

  • Đầy đủ trong hướng dẫn

    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 richkuo công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Fable Validate 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/richkuo/rk-skills/tree/main/skills/fable-validate
  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/richkuo/rk-skills.git /tmp/rk-skills
mkdir -p .claude/skills
cp -r /tmp/rk-skills/skills/fable-validate .claude/skills/fable-validate
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 Validate 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ự tải Fable Validate 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 Fable Validate không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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-validate

Delegate issue validation to a Fable 5.1 subagent, then act on its verdict in the main agent. The subagent only validates — it never edits files or the issue; the main agent handles all follow-on actions.

Input

Same as validate-issue:

  • Full URL: https://github.com/<owner>/<repo>/issues/<N>
  • Short form: #<N> or bare <N> (current repo)
  • owner/repo#N
  • Nothing — the issue named, validated, planned, or filed in this session, per validate-issue's input rule; with none, stop and ask. Never pick an issue from a list.

Steps

1. Resolve the validation procedure and the issue

Locate the validate-issue SKILL.md the subagent must follow, using the first that resolves in this order:

  1. <repo>/.claude/skills/validate-issue/SKILL.md (if it exists)
  2. ~/.claude/skills/validate-issue/SKILL.md
  3. Any other install location — search by name, e.g. ls ~/.claude/plugins/*/skills/validate-issue/SKILL.md.

Record the absolute path. If none of these resolves, stop and tell the user.

If the user referenced an issue, note the number and repository, but do NOT read or pre-validate the issue text yourself; the subagent owns steps 0 to 8 of the procedure, including the issue read. If no issue was referenced, resolve it from this session per validate-issue's input rule before dispatch; with none, stop and ask. The subagent never picks an issue itself. Then, before dispatch, on every path, in this order: when REPO (per fable-dispatch section 3) is the checkout's origin, run the fable-dispatch section 3 caller-run fetch; then run the fable-dispatch section 7 snapshot; then run validate-issue step 1's timeline query yourself (gh api --paginate "repos/<owner>/<repo>/issues/<N>/timeline" with that step's --jq filter). Embed its output in the prompt inside the section 7 untrusted-data block, with one line telling the subagent to take it as step 1's timeline result and never to run gh api; fable-dispatch section 3 keeps gh api off every allowlist. A failed timeline query is embedded as that failure, which step 1 reports under Concerns.

2. Dispatch the Fable 5.1 validation subagent

Load the fable-dispatch skill before dispatching: it owns the dispatch path and the dispatch-hygiene rules in its section 7 (read-only prompt, snapshot/diff, retry once then report). Dispatch per its ladder; on the Agent-tool path, call the Agent tool with:

  • subagent_type: Plan (no Edit or Write; the section 7 prompt rule covers Bash and MCP tools)
  • model: fable
  • effort: high unless the user asked for another tier, with the other Agent parameters per fable-dispatch section 2; everything downstream waits for the verdict
  • description: Validate issue #<N>
  • prompt: hand it everything needed to validate independently:
    • The issue reference exactly as the user gave it, or the one resolved from this session, plus the working directory.
    • Instruct it to read the SKILL.md at the recorded path and execute its steps 0 through 8 exactly — baseline resolution, the one-call issue read with its updatedAt + PR timeline check, claim extraction, depth-rule verification with file:line citations, 5a/5b/5c proposal checks, complexity score, scope disposition, and the step-8 verdict format. It must read every mandatory reference file those steps name.
    • It must STOP at step 8: no step 9 to 13 actions, no gh issue create, no gh issue edit, no gh issue close, no comments posted, no file edits. State the full read-only rule of fable-dispatch section 7 in the prompt.
    • Return the complete step-8 verdict verbatim as its final message, plus one line stating which baseline (branch/commit) claims were traced against, and one line Issue updatedAt: <value> with the updatedAt that validate-issue step 1 recorded.

On every path, when REPO is the checkout's origin, step 1 has already run the fable-dispatch section 3 caller-run fetch before the snapshot. Tell the subagent it is done: it executes steps 0 through 8 exactly except that fetch, which it skips, and it never runs git fetch. On the shim, the --allowedTools list is the fable-validate example in fable-dispatch section 3, and --add-dir names the directories that section gives for the recorded SKILL.md path; the prompt lists each allowed gh command verbatim, as that section states. When REPO is another repository, add the cross-repository clone entries and directory from that section.

When the result arrives, run the section 7 snapshot diff, then record the result's Issue updatedAt as this session's validation read time, which work-on-issue step 0 and validate-issue steps 11 and 13 use. Also record the model that served, the tier, and whether the tier was honored, per fable-dispatch section 6: the model is Fable 5.1 on the Agent path unless the ladder substituted another, and on the shim path the model section 5 finds dominant in .modelUsage; the tier is the one passed per section 2 (--effort on the shim). Never guess another tier. Step 5's footer and every chain footer use these recorded values. Save the verdict verbatim to a scratchpad file immediately.

3. Spot-check the verdict

Before presenting it, spot-check the verdict's load-bearing findings against the code: the file:line citations for any Refuted or Conditional claims, and every Evidence citation of a Close issue? verdict, resolve to real code saying what the verdict says, and the verdict doesn't contradict repo conventions (CLAUDE.md). Evidence outranks verdicts — a subagent citation that contradicts its own mark means the mark is wrong. Fix small inaccuracies yourself and note them (update the scratchpad copy); if the verdict is structurally wrong (e.g. traced a stale baseline, missed the central claim), do NOT silently re-dispatch — tell the user what's off and let them decide whether to re-run with Fable 5.1 or proceed.

4. Relay the verdict to the user

Present the vetted verdict in the validate-issue step-8 format, noting the model that served, as step 2 recorded it (with the downgrade stated when another model served), and which baseline it traced. Post nothing to GitHub at this stage.

5. Follow-on actions (main agent)

Handle the user's reply per the validate-issue procedure — these are main-agent actions, never re-delegated:

  • "update issue" → apply the suggested title/body edits per validate-issue step 11, including its claim-verification gate and final consistency pass. Footer: Validated with LLM: <served model> | <accepted tier> | Harness: <harness> | fable-validate, with the model and effort that step 2 recorded and the harness actually running per fable-dispatch section 6 (stack under any existing footer lines per step 11; a repo CLAUDE.md footer format overrides).
  • "work on issue" → hand off to the work-on-issue skill per validate-issue step 9, surfacing any step-7 scope disposition first.
  • "split issue" / "decompose" → apply validate-issue step 12 with the step 7 disposition from the relayed verdict.
  • "issueplan" or "fableplan" → apply validate-issue step 10.
  • "close issue" → apply validate-issue step 13 to a Close issue? verdict, with the footer from the "update issue" bullet. This agent never ran step 0, so step 13 first rebuilds REPO, DEFAULT, and BASE from the step 1 reference and the baseline line the subagent returned, in the dispatch <clone-dir> when REPO is another repository.

Notes

  • The dispatch requests Fable 5.1 with model: fable, whatever the main agent's model. A harness can map fable to another model with no error, so fable-dispatch sections 1 and 5 detect a substitution, and the footer names the model that served.
  • One subagent, one verdict: don't fan out or re-run for a second opinion unless the user asks.
  • If the user's reference turns out not to be fetchable (wrong number, no auth), the subagent will report that per the procedure — relay it; never validate against a paraphrase.

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

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

Use when the user wants a GitHub issue validated by a Fable 5.1 subagent. Spins up a read-only subagent running on Fable 5.1 that executes the validate-issue procedure (claim tracing, architecture/consistency checks, complexity score), then relays the verdict back to the main agent, which presents it and takes any follow-on action (update issue, work on issue). Trigger on "/fable-validate", "fable validate <issue>", or "validate this with fable".

Vì sao nên dùng Fable Validate 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 Validate 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 Validate trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/richkuo/rk-skills/tree/main/skills/fable-validate. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà 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 Validate?

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.

Bạn có thể dùng Fable Validate 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 Validate 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 Validate có miễn phí không?

Có. Kỹ năng này được richkuo phát hành trên GitHub theo giấy phép MIT. 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇