Community研究与数据分析github.com

BuilderIO/高效前沿

将 `/efficient-fable` 的编排方式应用于任何高成本前沿模型:将研究、编码和测试委托给更便宜的子代理,同时将规划、综合和最终审查保留给昂贵模型。

高效前沿 是什么?

Efficient Frontier 技能为 AI 代理(如 Claude Code 或 Cursor)提供了一种系统性的成本优化策略。其核心理念是“贵金用在刀刃上”:仅在最需要判断力的任务(架构决策、优先级排序、歧义解决、风险评估、信息综合和最终审查)中使用昂贵的前沿模型,而将可重复、有明确边界或消耗大量令牌的工作(如代码库扫描、文档提取、自动化测试、日志分析及机械性编辑)交给更便宜、更快速的子代理并行处理。 该技能通过定义清晰的“移交包”(Handoff Packet)来确保委托任务的独立性和可验证性,每个包都包含目标、范围、输出格式及停止条件,从而让子代理能自包含地执行任务并返回紧凑证据。主管模型会集中审查这些证据,而非直接信任结论,必要时还会重新运行关键验证或解决子代理间的分歧。 在场景化应用上,该技能覆盖了研究、编码、测试和调试四大领域:研究时委托扫描与比对,编码时委托有清晰归属的补丁或重构,测试时委托运行脚本和减少日志,调试时委托多个独立线索的并行排查。此外,技能还设定了关键的限制条件(如不委托当前阻塞任务、不允许同时编辑相同文件、不盲目信任高风险结论),确保成本节约不会以牺牲质量和正确性为代价。

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

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

在你喜欢的 AI 中提问

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

文档

高效前沿 是做什么的?

在昂贵前沿模型的边际判断真正重要的地方使用它。将可重复、有边界或令牌密集的工作推给更便宜/更快的子代理。

工作流

  1. 识别仅由前沿模型决策的任务:架构、优先级排序、歧义解决、风险、综合和最终审查。
  2. 识别可委托的工作:研究扫描、仓库清单、搜索、文档提取、浏览器/测试执行、日志精简、测试失败聚类、狭窄编码和机械性编辑。
  3. 为独立切片并行生成子代理,并附带明确的所有权、有边界的范围、验证门和预期的证据。
  4. 要求紧凑的回报:发现、变更的文件、执行的命令、剩余风险、触发的停止条件以及任何前沿模型必须决策的事项。
  5. 在呈现结果前进行集中整合与审查。

移交包

将委托的提示编写为自包含的包。假设接收代理未见过之前的对话。包含仓库路径、目标、范围、范围外的区域、相关文件或搜索目标、预期的返回格式、验证命令和停止条件。

有用的停止条件:

  • 实时代码与移交中的假设不匹配。
  • 验证命令在合理的修复或重试后仍失败两次。
  • 工作似乎需要超出分配范围的文件。
  • 代理无法为其声明提供具体证据。

审查循环

将委托的输出视为待检查的证据,而非可直接转发的结论。重新打开重要的引用的文件,浏览高风险差异,并在声明完成之前重新运行或抽查重要的验证。如果委托的代理有分歧,在前沿模型层解决分歧。

常见场景

以下为软性建议:

  • 研究:委托广泛的仓库扫描、文档提取和来源比较;前沿模型保留判断什么重要的权利。
  • 编码:当文件所有权明确时,委托有边界的补丁、重构或机械性编辑;集中整合和审查。
  • 测试:让前沿模型选择验证策略和脚本,然后使用更便宜的代理运行单元检查、浏览器流程、截图和日志精简。要求它们返回确切的命令、失败、可能的原因以及信号看起来是不稳定的、环境导致的还是产品相关的。
  • 调试:让独立的代理沿着不同的理论、日志或重现路径进行探索;将最终诊断保留给前沿模型。

护栏

  • 如果你的下一步依赖于当前的阻塞项,则不要委托它。
  • 不要要求多个代理同时编辑相同的文件。
  • 当风险较高时,不要盲目相信子代理的结论;亲自检查重要的证据。
  • 不要声称具有通用的成本节约。此模式在探索与实现、测试或研究可以并行化时效果最佳。

默认框架

“我将使用前沿模型作为编排者和审查者,并使用更便宜的子代理处理令牌密集型的研究、编码或测试,以便昂贵的令牌用于判断、综合和最终质量。”

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-fable

Use when running Claude Fable on codebase-heavy or token-heavy work and the user wants Fable to orchestrate research, coding, and testing while cheaper subagents do bounded heavy lifting.

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.

相关技能