Community研究与数据分析github.com

BuilderIO/高效寓言之法

在代码库密集或令牌密集的任务中运行 Claude Fable 时使用,让 Fable 负责统筹研究、编码和测试,同时让更便宜的子智能体承担有限的繁重工作。

高效寓言之法 是什么?

Efficient Fable 是一种 AI 智能体技能,旨在优化 Claude Fable 在令牌消耗大、代码库复杂的工作负载中的表现。其核心思想是将 Fable 定位为总指挥、架构师和最终裁判,而将令牌密集型的搜索、编辑、测试等子任务委托给更便宜的子智能体。该技能适用于 Claude Code、Cursor、Codex 等平台,通过清晰的委托模式和交接包实现高效协作。它显著降低了成本(估计可达 3-5 倍)并提升了速度(2-4 倍),特别适合需要在并行切片中独立运行的代码库工作。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/BuilderIO/skills/tree/main/skills/efficient-fable

Installed? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

高效寓言之法 是做什么的?

使用 Claude Fable 作为统筹者、架构师、合成者和最终裁判。 使用更便宜的子智能体执行令牌密集型的研究、编码、测试和总结,这些任务不需要 Fable 的全面判断。

Fable 的闪耀时刻

将 Fable 保留用于:

  • 将模糊的工作分解为清晰的并行切片。
  • 架构、产品和安全权衡。
  • 阅读冲突的子智能体报告,并决定什么重要。
  • 将部分实现整合成一个连贯的计划。
  • 最终审查、风险评估和面向用户的综合。

委托模式

  1. 识别令牌密集型风险:大型仓库搜索、长日志、广泛的文档或重复的编辑。
  2. 在自行阅读所有内容之前,将独立的工作拆分为子智能体。
  3. 使用更便宜的模型进行研究扫描、清单、搜索摘要、精确的错误猎杀、浏览器/测试遍历、测试输出缩减和有边界的代码编辑。
  4. 要求子智能体提供简洁的证据:文件、行引用、运行命令、差异、不确定性和它们遇到的终止条件。
  5. 将 Fable 的令牌用于决策层:比较结果、解决冲突、选择实现路径并审查最终补丁。

当切片之间没有依赖关系时,优先使用并行子智能体。保持阻塞或高度耦合的工作本地化。

交接包

编写委托提示时,假设子智能体没有有用的聊天上下文。仅包含它需要的上下文:

  • 仓库路径和确切目标。
  • 范围内的文件、包或表面,以及明确不在范围内的内容。
  • 要返回的证据格式:文件、行引用、命令、差异、失败、截图和不确定性。
  • 要运行的验证命令或浏览器流程,以及成功应该是什么样子(如果可知)。
  • 终止条件:如果代码与提示不匹配,命令在合理重试后失败,或者任务需要超出范围的文件,则停止并报告,而不是即兴发挥。

审查委托工作

将子智能体报告视为线索,而非事实。在使用高影响力的发现、打开 PR 或告知用户工作完成之前,Fable 应重新打开重要的引用文件,确认相关的行引用或失败,并根据任务审查最终差异。让轻量级智能体收集信号;将真相判断权保留给 Fable。

常见场景

将这些视为软默认值,而非硬性规则:

  • 研究:让更轻量的智能体扫描文档、现有技术、API 和仓库表面;Fable 决定哪些证据会改变计划。
  • 编码:给更便宜的智能体分配有边界的编辑或候选补丁;Fable 负责共享文件的协调、集成和最终审查。
  • 测试:让 Fable 建议验证方向以及重要的脚本或浏览器检查。让更轻量的智能体运行目标测试、浏览器流程、截图和日志缩减,然后报告确切的命令、失败、可能的原因,以及失败看起来是 flaky、环境问题还是真实问题。
  • 调试:使用更便宜的智能体聚类日志、复现问题并尝试小修复;Fable 决定哪个诊断最可信。

如果任务很小,或者验证本身需要精细的判断,请将其保留在 Fable 中。

图表

当视觉解释有帮助时,请使用 assets/fable-orchestrator.excalidraw。

声明

对于代码库密集型工作,当独立的研究、编码或测试切片可以并行运行时,合理描述其成本效率提高 3-5 倍,速度提高 2-4 倍。这些是依赖工作负载的估计,而非保证。

好的发布文案:

通过使用更便宜的子智能体执行令牌密集型的研究、编码和测试,使 Claude Fable 更高效,从而将 Fable 的令牌用于判断、架构、综合和最终审查。

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

BuilderIO/adding-a-skill

Use in the BuilderIO/skills repo whenever adding, updating, publishing, documenting, validating, or wiring a public skill. Covers the repo-local skill files, root catalog docs, plugin metadata, @agent-native/skills dynamic install path, optional managed AGENTS/CLAUDE instruction blocks in ../agent-native/framework, and generated/synced Plan skill gotchas.

BuilderIO/agent-watchdog

Use when asked to watch, babysit, audit, review, compare, or fix another agent's work from a Codex session ID, Claude Code session/transcript, chat/thread link, PR, branch, log, or pasted run summary. Monitor until the other agent is done or blocked, reconstruct what the user asked, inspect what the agent actually changed and verified, report gaps, and optionally make scoped fixes when the user authorizes repair.

BuilderIO/efficient-frontier

Apply the same orchestration as `/efficient-fable` to any high-cost frontier model: delegate research, coding, and testing to cheaper subagents while keeping planning, synthesis, and final review with the expensive model.

BuilderIO/plan-arbiter

Use when asked to compare, cross-review, merge, judge, choose, or arbitrate competing plans from multiple agents such as Codex and Claude Code; when given two or more proposed plans, session IDs, transcripts, plan documents, PR descriptions, or pasted strategies; or when the user wants one recommended execution plan after agents review each other's proposals.

BuilderIO/plow-ahead

Use when the user explicitly wants autonomous progress without routine clarification stops: "plow ahead", "do not stop", "use your best judgment", "keep going until done", "finish while I am away", "do not ask questions unless truly blocked", or similar. Convert ordinary ambiguity into stated assumptions, proceed through implementation and validation, stop only for true blockers, and end with a clear recap of decisions, changes, verification, and residual risk.

BuilderIO/quick-recap

Use when adding or following the red/yellow/green final status block convention for agent responses, especially by installing managed AGENTS.md or CLAUDE.md instructions.

BuilderIO/read-the-damn-docs

Use when implementing, integrating, upgrading, debugging, or answering anything involving third-party APIs, libraries, frameworks, CLIs, cloud services, model/provider SDKs, fast-moving product behavior, user requests for latest/current/official behavior, unfamiliar repo docs/specs, errors that may indicate API drift, or high-stakes auth, security, billing, data, migration, deployment, compliance, or privacy behavior. Forces Codex to web-search for current official docs and read primary docs before assuming from memory.

BuilderIO/stay-within-limits

Use when long-running or parallel agent work must respect 5-hour and weekly usage limits by checking usage between waves, pausing near the cap, and resuming only when the window is clear.

BuilderIO/visual-plan

Turn ordinary text plans into rich interactive visual plans with diagrams, file maps, annotated code, open questions, and UI/prototype review when useful.

BuilderIO/visual-recap

Turn a PR, branch, commit, or git diff into an interactive visual recap with diagrams, file maps, API/schema summaries, annotated diffs, and focused review notes.

相关技能