選項

efficient-fable

BuilderIO/skills BuilderIO/skills

透過將範圍有限的任務委派給成本較低的子代理,來統籌涉及大量令牌的研究、編碼和測試工作,同時保留 Claude Fable 負責架構設計、合成及最終審查。

...展開全部
0
更新時間 2026-09-06

高效寓言

將克勞德·費布爾(Claude Fable)用作統籌者、架構師、整合者及最終裁決者。 針對代幣消耗量大的研究、編碼、測試及 摘要編寫等任務,可使用成本較低的子代理,這些任務無需費布爾進行全面判斷。

Fable 大放異彩之處

將 Fable 保留用於:

  • 將模糊的工作分解為清晰的並行片段。
  • 架構、產品與安全性的權衡取捨。
  • 閱讀相互矛盾的子代理報告,並判斷哪些是關鍵。
  • 將部分實作整合為一個連貫的計畫。
  • 最終審查、風險評估及面向使用者的整合。

授權模式

  1. 為「耗費代幣」的風險命名:大型儲存庫搜尋、冗長日誌、龐大文件,或是 重複性編輯。
  2. 在親自閱讀所有內容之前,先將獨立工作拆分為子代理。
  3. 針對研究掃描、清點、搜尋摘要、狹域 錯誤追蹤、瀏覽器/測試執行、測試輸出簡化,以及範圍有限的程式碼 編輯,應採用成本較低的模型。
  4. 要求子代理提供簡明扼要的證據:檔案、行號參考、已執行的指令、 差異對比、不確定性,以及它們觸發的停止條件。
  5. 將 Fable 代幣用於決策層:比較結果、解決衝突、 選擇實作路徑,並審查最終修補程式。

當各切片之間互不依賴時,優先採用並行子代理。將 阻塞性或高度耦合的工作保留在本地執行。

交接封包

撰寫委派提示時,應假設子代理沒有有用的對話上下文。僅包含 其所需的上下文:

  • 儲存庫路徑與確切目標。
  • 範圍內的檔案、套件或表面,以及任何明確排除在 範圍之外的內容。
  • 應回傳的證據格式:檔案、行號參考、指令、差異比對、失敗結果、 螢幕截圖及不確定性。
  • 需執行的驗證指令或瀏覽器操作流程,以及在可判別的情況下, 成功應呈現的樣貌。
  • 停止條件:若程式碼與提示不符、命令在 合理次數的重試後仍失敗,或任務需要範圍外的檔案,應停止並回報 結果,而非自行應變。

審查委派的工作

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

常見情境

將這些視為柔性預設值,而非僵化的規則:

  • 研究:要求輕量級代理掃描文件、現有技術、API 及儲存庫表面; 由 Fable 決定哪些證據會改變計畫。
  • 編碼:讓成本較低的代理執行有限範圍的編輯或提供候選修補程式;Fable 負責 共用檔案的協調、整合及最終審查。
  • 測試:讓 Fable 建議驗證方向,以及關鍵的腳本或 瀏覽器檢查。讓輕量級代理執行針對性測試、瀏覽器 流程、螢幕截圖及日誌精簡,隨後回報確切的指令、失敗狀況、 可能原因,以及失敗是否屬於偶發性、環境因素或真實問題。
  • 除錯:使用成本較低的代理程式來彙整日誌、重現問題並嘗試 小規模修正;由 Fable 決定哪種診斷結果最值得信賴。

若任務規模極小,或驗證本身需要細膩的判斷,則應由 Fable 直接處理。

示意圖

assets/fable-orchestrator.excalidraw 當視覺化說明有助於理解時。

主張

對於以程式碼為核心的工作,若獨立的研究、編碼或測試 模塊能並行執行,將其描述為成本效益提高 3 至 5 倍 且速度提升 2 至 4 倍是合理的。請將這些視為取決於工作負載的估計值,而非 保證。

優質的發布文案:

透過在代碼量龐大的 研究、編碼和測試任務中使用成本較低的子代理,提升 Claude Fable 的效率,並將 Fable 保留用於判斷、架構、 合成及最終審查。

在 GitHub 上查看
---
name: efficient-fable
description: Orchestrate token-heavy research, coding, and testing by delegating bounded tasks to cheaper subagents while reserving Claude Fable for architecture, synthesis, and final review.
---

# Efficient Fable

Use Claude Fable as the orchestrator, architect, synthesizer, and final judge.
Use cheaper subagents for token-heavy research, coding, testing, and
summarization that do not require Fable's full judgment.

## Where Fable Shines

Reserve Fable for:

- Decomposing ambiguous work into clean parallel slices.
- Architecture, product, and safety tradeoffs.
- Reading conflicting subagent reports and deciding what matters.
- Integrating partial implementations into one coherent plan.
- Final review, risk assessment, and user-facing synthesis.

## Delegation Pattern

1. Name the expensive-token risk: large repo search, long logs, broad docs, or
   repetitive edits.
2. Split independent work into subagents before reading everything yourself.
3. Use cheaper models for research scans, inventory, search summaries, narrow
   bug hunts, browser/testing passes, test output reduction, and bounded code
   edits.
4. Ask subagents for concise evidence: files, line references, commands run,
   diffs, uncertainties, and stop conditions they hit.
5. Spend Fable tokens on the decision layer: compare results, resolve conflicts,
   choose the implementation path, and review the final patch.

Prefer parallel subagents when the slices do not depend on each other. Keep
blocking or highly coupled work local.

## Handoff Packets

Write delegated prompts as if the subagent has no useful chat context. Include
only the context it needs:

- The repo path and exact objective.
- The files, packages, or surfaces in scope and anything explicitly out of
  scope.
- The evidence format to return: files, line refs, commands, diffs, failures,
  screenshots, and uncertainty.
- The verification commands or browser flows to run, plus what success should
  look like when that is knowable.
- Stop conditions: if the code does not match the prompt, a command fails after
  a reasonable retry, or the task needs out-of-scope files, stop and report
  instead of improvising.

## Vetting Delegated Work

Treat subagent reports as leads, not facts. Before using a high-impact finding,
opening a PR, or telling the user the work is done, Fable should reopen the
important cited files, confirm the relevant line refs or failures, and review
the final diff against the task. Let lighter agents gather signal; keep
truth-judgment with Fable.

## Common Scenarios

Treat these as soft defaults, not rigid rules:

- Research: ask lighter agents to scan docs, prior art, APIs, and repo surfaces;
  Fable decides what evidence changes the plan.
- Coding: give cheaper agents bounded edits or candidate patches; Fable owns
  shared-file coordination, integration, and final review.
- Testing: have Fable suggest the validation direction and the scripts or
  browser checks that matter. Let lighter agents run targeted tests, browser
  flows, screenshots, and log reduction, then report exact commands, failures,
  likely causes, and whether failures look flaky, environmental, or real.
- Debugging: use cheaper agents to cluster logs, reproduce issues, and try
  small fixes; Fable decides which diagnosis is most trustworthy.

If a task is tiny or the validation itself needs delicate judgment, keep it
with Fable.

## Diagram

Use `assets/fable-orchestrator.excalidraw` when a visual explanation helps.

## Claims

For codebase-heavy work, it is reasonable to describe this as up to 3-5x more
cost-efficient and 2-4x faster when independent research, coding, or testing
slices can run in parallel. Treat those as workload-dependent estimates, not
guarantees.

Good launch copy:

> Make Claude Fable more efficient by using cheaper subagents for token-heavy
> research, coding, and testing, saving Fable for judgment, architecture,
> synthesis, and final review.

所有檔案

0 個檔案

安裝 efficient-fable

請將技能檔案下載並解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/BuilderIO/skills/tree/main/skills/efficient-fable # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/ Claude 會自動偵測並使用該技能
儲存庫 BuilderIO/skills

相關技能

notion-automation
更新時間 2026-06-29
airtable-automation
更新時間 2026-06-29
seo-programmatic
更新時間 2026-06-29
revops
更新時間 2026-06-29
OR