Community研究與資料分析github.com

BuilderIO/efficient-fable

當在程式碼庫或 token 密集型工作中執行 Claude Fable 時,使用此技能讓 Fable 負責編排、研究、編碼和測試,同時讓更便宜的次級代理執行有界限的繁重工作。

efficient-fable 是什麼?

Efficient Fable 是一種 AI 代理技能,旨在讓 Claude Fable(通常是最高階、最昂貴的模型)在程式碼庫或 token 密集型工作中,專注於其最擅長的領域:架構決策、結果綜合、風險評估和最終審查。它透過將 token 密集型的任務(如大規模搜尋、廣泛閱讀文件、重複性編輯和測試執行)委派給更便宜的次級代理,來大幅提升成本效益和速度。此技能支援一個明確的委派模式:Fable 負責分解模糊任務、分派獨立工作,然後將次級代理的報告視為線索而非事實,並親自驗證關鍵發現。常見應用場景包括研究、編碼、測試和除錯,透過精準的分工與監控,可實現高達 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 的新對話。

說明文件

Efficient Fable

使用 Claude Fable 作為編排者、架構師、綜合者以及最終判斷者。 使用更便宜的次級代理來處理 token 密集型的研究、編碼、測試和摘要,這些任務不需要 Fable 的完整判斷力。

Fable 的優勢領域

保留 Fable 用於:

  • 將模糊的工作分解為清晰的並行任務。
  • 架構、產品和安全性的取捨。
  • 閱讀衝突的子代理報告並決定哪些是重要的。
  • 將部分實作整合成一個連貫的計畫。
  • 最終審查、風險評估以及對使用者的綜合報告。

委派模式

  1. 指出高 token 消耗的風險:大型程式庫搜尋、長日誌、廣泛的文件或重複的編輯。
  2. 在親自閱讀所有內容之前,將獨立的工作拆分給子代理。
  3. 使用更便宜的模型來進行研究掃描、盤點、搜尋摘要、狹義的 bug 搜尋、瀏覽器/測試執行、測試輸出縮減以及有界限的程式碼編輯。
  4. 要求子代理提供簡潔的證據:檔案名稱、行號參考、執行的命令、差異比較、不確定性以及他們遇到的停止條件。
  5. 將 Fable 的 token 花費在決策層:比較結果、解決衝突、選擇實作路徑,以及審查最終的 patch。

當任務之間沒有相互依賴時,優先使用並行的子代理。保持阻塞性或高度耦合的工作在本機執行。

交接包裹

撰寫委派提示時,假設子代理沒有任何有用的聊天上下文。僅包含它需要的上下文:

  • 儲存庫路徑和確切目標。
  • 範圍內的檔案、套件或表面,以及任何明確排除在範圍之外的內容。
  • 要回傳的證據格式:檔案、行號參考、命令、差異比較、失敗資訊、螢幕截圖和不確定性。
  • 要執行的驗證命令或瀏覽器流程,以及在可預見的情況下,成功應該是什麼樣子。
  • 停止條件:如果程式碼不符合提示、命令在合理重試後失敗,或任務需要範圍外的檔案,則停止並回報,而不是自行發揮。

審查委派的工作

將子代理的報告視為線索,而非事實。在使用高影響力的發現、開啟 PR 或告知使用者工作已完成之前,Fable 應重新開啟重要的引用檔案,確認相關的行號參考或失敗資訊,並根據任務審查最終的 diff。讓較輕量的代理收集訊號;將真相判斷權保留給 Fable。

常見場景

將這些視為軟性預設值,而非硬性規則:

  • 研究:要求較輕量的代理掃描文件、既有技術、API 和儲存庫表面;由 Fable 決定哪些證據會改變計畫。
  • 編碼:給予較便宜的代理有界限的編輯或候選 patch;Fable 負責共享檔案的協調、整合和最終審查。
  • 測試:讓 Fable 建議驗證方向以及重要的腳本或瀏覽器檢查。讓較輕量的代理執行目標測試、瀏覽器流程、螢幕截圖和日誌縮減,然後回報確切的命令、失敗資訊、可能的原因,以及失敗是看起來不穩定、環境問題還是真實的錯誤。
  • 除錯:使用較便宜的代理來分類日誌、重現問題並嘗試小規模修復;Fable 決定哪個診斷最值得信賴。

如果任務很小,或者驗證本身需要細緻的判斷,則保留給 Fable。

圖表

當需要視覺化說明時,使用 assets/fable-orchestrator.excalidraw。

聲明

對於程式碼庫密集的工作,當獨立的研究、編碼或測試工作可以並行執行時,將其描述為成本效益最高可達 3-5 倍,速度最高可達 2-4 倍是合理的。將這些視為依工作負載而定的估計值,而非保證。

好的發布文案:

讓 Claude Fable 更有效率,使用更便宜的次級代理來處理 token 密集型的研究、編碼和測試,將 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.

相關技能