Community研究&データ分析github.com

BuilderIO/efficient-fable

Claude Fable をコードベースが重い作業やトークンを多く消費する作業で使用する場合に、Fable が調査、コーディング、テストを統括し、安価なサブエージェントが境界のある重労働を担当するようにするためのスキルです。

efficient-fable とは?

このスキルは、Claude Fable を高コストなオーケストレーターとして活用し、トークンを大量に消費する調査やコーディング、テストなどの作業を、より安価なサブエージェントに委譲することで、全体的なコスト効率と処理速度を向上させる設計パターンを提供します。Fable はアーキテクチャの決定、統合、最終レビューといった高度な判断が必要な部分に集中し、サブエージェントは境界が明確な処理(リポジトリ検索、バグ調査、テスト実行など)を担当します。このスキルは、Claude Code や Cursor などのエージェントフレームワーク上で動作し、並列処理が可能な作業を分割することで、最大 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に質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Efficient Fable(効率的なファブル)

Claude Fable をオーケストレーター、アーキテクチャ設計者、統合者、最終判定者として使用します。 Fable の完全な判断力を必要としない、トークンを大量に消費する調査、コーディング、テスト、 要約には、より安価なサブエージェントを使用します。

Fable が活躍する場面

Fable は以下の作業に温存します:

  • あいまいな作業をクリーンな並列スライスに分解すること。
  • アーキテクチャ、プロダクト、安全性に関するトレードオフの判断。
  • 競合するサブエージェントのレポートを読み、何が重要かを判断すること。
  • 部分的な実装を一貫した計画に統合すること。
  • 最終レビュー、リスク評価、ユーザー向けの総合的なまとめ。

委譲パターン

  1. トークン消費が多いリスクを特定する:大規模なリポジトリ検索、長いログ、広範なドキュメント、または反復的な編集。
  2. すべてを自分で読む前に、独立した作業をサブエージェントに分割する。
  3. 調査スキャン、インベントリ、検索の要約、限定的なバグハント、ブラウザ/テストの実行、テスト出力の削減、および境界のあるコード編集には、より安価なモデルを使用する。
  4. サブエージェントには簡潔な証拠(ファイル、行参照、実行したコマンド、差分、不確実性、遭遇した停止条件)を求める。
  5. Fable のトークンは判断層に費やす:結果を比較し、競合を解決し、実装パスを選択し、最終的なパッチをレビューする。

スライスが互いに依存しない場合は、並列サブエージェントを優先します。ブロッキングや結合度の高い作業はローカルに保持してください。

委譲パケット

委譲するプロンプトは、サブエージェントに役立つチャットコンテキストがないかのように記述します。必要なコンテキストのみを含めます:

  • リポジトリのパスと正確な目的。
  • スコープ内のファイル、パッケージ、または対象領域、および明示的にスコープ外のもの。
  • 戻すべき証拠の形式:ファイル、行参照、コマンド、差分、失敗、スクリーンショット、および不確実性。
  • 実行する検証コマンドまたはブラウザフロー、およびそれが既知の場合に成功の状態がどうあるべきか。
  • 停止条件:コードがプロンプトと一致しない場合、コマンドが適切な再試行後に失敗した場合、またはタスクにスコープ外のファイルが必要な場合は、その場で対処せずに停止して報告する。

委譲作業の検証

サブエージェントのレポートは事実ではなく手がかりとして扱います。影響の大きい発見を使用する前、PR を開く前、または作業が完了したことをユーザーに伝える前に、Fable は重要な引用ファイルを再度開き、関連する行参照や失敗を確認し、タスクに対する最終的な差分をレビューする必要があります。軽量エージェントにシグナルを収集させ、真実の判断は Fable に委ねます。

一般的なシナリオ

これらは厳格なルールではなく、ソフトなデフォルトとして扱ってください:

  • 調査:軽量エージェントにドキュメント、先行技術、API、リポジトリの表面をスキャンさせる。Fable がどの証拠が計画を変更するかを判断する。
  • コーディング:安価なエージェントに境界のある編集や候補パッチを与える。Fable は共有ファイルの調整、統合、最終レビューを担当する。
  • テスト:Fable に検証の方向性と重要なスクリプトやブラウザチェックを提案させる。軽量エージェントにターゲットテスト、ブラウザフロー、スクリーンショット、ログ削減を実行させ、正確なコマンド、失敗、原因の可能性、および失敗が不安定、環境起因、または本物のどれに見えるかを報告させる。
  • デバッグ:安価なエージェントにログのクラスタリング、問題の再現、小さな修正の試行を行わせる。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.

関連スキル