Fable Validate 标志

Fable Validate

社区
richkuo
fable-validate

当用户希望由 Fable 5.1 子智能体验证 GitHub issue 时使用。启动一个以 Fable 5.1 运行的只读子智能体,执行 validate-issue 流程(追踪声明、检查架构与一致性、评估复杂度),再将判定结果传回主智能体,由主智能体展示结果并采取后续行动(更新 issue、处理 issue)。适用于 “/fable-validate”、“fable validate <issue>” 或 “validate this with fable”。

概览

发布者richkuo
代码仓库rk-skills
技能名称fable-validate
星标数
50
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 richkuo 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Fable Validate AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/richkuo/rk-skills/tree/main/skills/fable-validate
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Fable Validate,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Fable Validate。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Fable Validate 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Fable Validate AI 技能有什么作用?

当用户希望由 Fable 5.1 子智能体验证 GitHub issue 时使用。启动一个以 Fable 5.1 运行的只读子智能体,执行 validate-issue 流程(追踪声明、检查架构与一致性、评估复杂度),再将判定结果传回主智能体,由主智能体展示结果并采取后续行动(更新 issue、处理 issue)。适用于 “/fable-validate”、“fable validate <issue>” 或 “validate this with fable”。

为什么在 TypingMind 中使用 Fable Validate?

因为您只需安装一次,就能搭配任何模型使用。Fable Validate 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Fable Validate?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/richkuo/rk-skills/tree/main/skills/fable-validate。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Fable Validate?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Fable Validate 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Fable Validate 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Fable Validate AI 技能免费吗?

是的。richkuo 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇