delegating-work
できること
このスキルは、複数の手順のタスクを始める前に、メインのスレッドと安価なサブエージェントのどちらが作業すべきかを、エージェントに判断させます。コーディング、ブラウザーのテスト、プルリクエストのフォロー、テストのループを扱います。エージェントを運用し、コストを管理したい人向けです。
使う場面
- ✓自分でコードを書く、または複数のファイルにまたがる変更をしようとしているとき。
- ✓タスクにブラウザーのテスト、CIのポーリング、繰り返しのテストと修正の実行が含まれるとき。
- ✓独立して切り出せるものがない、小さな単独の編集のとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/delegating-work/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“始める前に、この修正のどの部分を安価なヘルパーエージェントに任せ、どの部分を自分で確認するかを決めてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、開始前にタスクを確認します。実装、ブラウザーの作業、繰り返しのループはサブエージェントに渡し、レビューと判断はメインのスレッドに残します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Delegating Work
Activation guard
Use this at the moment you're about to start a multi-step task yourself — before the first line of code, the first browser action, the first CI poll, or the first test run. It applies whenever the main thread is about to do work, not just when the user says "parallelize this."
Skip it for a genuinely single small edit with nothing independent to split off — spawning overhead would exceed the work itself.
Do NOT do this on the main thread
Each of these is a real temptation, not a hypothetical — they're the single most-repeated correction the user gives, most recently today (2026-07-31):
- Writing the implementation yourself because the change "looks quick." Spawn a coding subagent even for a small fix; the main thread reviews the diff, it doesn't produce it. "Hmm why are you coding on the main thread? You're supposed to spawn cheaper models like sonnet to write the code."
- Driving the browser yourself for a UI check or E2E pass. Spawn a subagent to run Playwright / Chrome DevTools MCP and report back. "use cheaper sub agents for testing ... don't use fable (you) for browser automation bro"
- Babysitting a PR yourself (polling CI, pushing fixups). Spawn a subagent to watch and fix. "please use a cheaper model to do the babysitting - like sonnet. not you"
- Running the test/fix retry loop yourself. Spawn a subagent to run tests, read failures, patch, and re-run until green. "i prefer to use terra sub agents for testing/fixing and not use you, the main thread, for these things like i see you doing rn"
- Doing a mechanical multi-file sweep yourself (renames, lint fixes, the same small edit repeated across files). Split by file set, one subagent per slice.
- Skipping delegation "just this once" because the task feels urgent. Cost is the reason to delegate, not an excuse to skip it. "this run is getting really expensive ... fable model is now per-token pricing so this is costing me thousands"
Decision table
| Kind of work | Tier |
|---|---|
| Planning, architecture, ambiguity calls | Main thread |
| Synthesis / final review of subagent output | Main thread |
| Talking to the user | Main thread |
| Writing an implementation slice | Cheap subagent |
| Browser automation / E2E verification | Cheap subagent |
| PR babysitting (CI polling + fixups) | Cheap subagent |
| Test-fix-retry loops | Cheap subagent |
| Mechanical sweeps (rename, lint, repeated edit) | Cheap subagent(s), one per disjoint file set |
| Research / repo scans / docs extraction | Cheap subagent |
Default to the cheapest tier that can do the work reliably — Haiku for bulk/mechanical work, Sonnet for anything needing real coding judgment. Reserve the expensive/frontier model for the main-thread row above. This is a standing instruction: don't ask the user for permission to parallelize.
What the main thread keeps
Planning, prioritization, ambiguity resolution, integrating what subagents return, final review before the user sees it, and all direct conversation with the user. Everything else in this table is a delegation candidate by default, not an exception.
Parallel edits are the intended pattern, not a risk
Parallel subagents editing disjoint files is normal and expected here. Assign non-overlapping file sets before you fan out, and have each subagent re-read existing changes before editing. Use the shared checkout's normal read-before-edit discipline.
Related skills
This skill is the decision point; it doesn't replace the workflows that follow it:
efficient-frontier— the orchestration workflow once you've decided to delegate: handoff packets, fan-out limits, the review loop.efficient-fable— the same workflow, plus Fable's per-token pricing as a reason it matters even more.delegate-to-agent— the briefing contract (objective / context / output / boundaries) and fan-out discipline (cap ~3, default to one) for spawning a sub-agent from the main thread.
よくある質問
すべての小さな変更にこれを適用しますか?
いいえ。1つの単純な編集であれば、委任の準備の方が作業より高くつくので、委任しないとスキルは述べています。
メインのスレッドは何をしますか?
すべての作業を自分で作るのではなく、結果をレビューして判断します。
ブラウザーの作業を委任するのはなぜですか?
ブラウザーの確認はサブエージェントが実行して報告でき、メインのスレッドを作業に集中させられるとスキルは述べています。
詳細
作者による元の説明
Which tier — main thread vs. a cheaper subagent — owns a piece of work, decided at the moment you're about to start it. Use before writing an implementation yourself, driving a browser, babysitting a PR, running a test/fix loop, or doing a mechanical multi-file sweep on the main thread.
repo: BuilderIO/agent-native
人気
- GitHubのスター
- 7.6k
- ランキング
- #13155
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。