delegate
यह क्या करती है
यह स्किल बताती है कि कब बड़े काम के हिस्से उन सब-एजेंट को सौंपे जाएँ जो एक साथ काम करते हैं। यह कई-चरण कोडिंग, शोध या जाँच के काम चलाने वाले लोगों के लिए है।
कब इस्तेमाल करें
- ✓जब बड़ा काम ऐसे स्वतंत्र हिस्सों में बँट सके जो एक साथ चल सकें।
- ✓जब आप किसी सहायक से सीमित फ़ाइलों की केवल-पढ़ने वाली समीक्षा चाहें।
- ✓जब कोई यांत्रिक बदलाव या टेस्ट रन साफ़ सीमा के साथ सौंपा जा सके।
Skill का लिंक
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/delegate/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस माइग्रेशन को हिस्सों में बाँटिए, सहायक फ़ाइलें स्कैन करें और आप डिज़ाइन सँभालें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
मूल AI फ़ैसले और अंतिम समीक्षा अपने पास रखता है, हर सहायक को साफ़ नतीजा और स्वीकृति मापदंड देता है, और स्वतंत्र सहायकों को साथ चलाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Delegate
Use sub-agents when they can do focused work in parallel while the parent keeps architectural judgment, integration, and final verification.
Keep vs Delegate
Keep in the parent:
- Understanding the user's actual request and constraints
- Architecture, security, product, and release-risk decisions
- Cross-module integration
- Final review, test interpretation, and user-facing summary
Delegate to sub-agents:
- Read-only exploration over a bounded file set
- Mechanical edits with a clear file ownership boundary
- Focused test or lint runs
- Boilerplate generation from an explicit spec
- Independent checks that can run while parent work continues
Do not delegate tiny one-step tasks, ambiguous product decisions, destructive operations without a clear acceptance criterion, or final verification.
Launch Focused Work
Use agent for a focused child run. Launch independent children together so they can run in parallel.
Give each child a concrete outcome and acceptance criteria. Let it continue until the work is complete or it needs input. Do not invent time, turn or token budgets, or tell it to stop early because a percentage of a budget has elapsed. The runtime carries any limits explicitly configured by the owner.
Prefer provider-neutral model_strength over hardcoded model ids. Children inherit the active model by default (model_strength: "same"), including type: "explore", so pass model_strength: "faster" explicitly to get the cheaper same-family sibling for read-only exploration:
{
"name": "config_audit",
"prompt": "Inspect crates/tui/src/config.rs and crates/tui/src/settings.rs for duplicate model-default logic. Return file/line findings only; do not edit files.",
"type": "explore",
"model_strength": "faster",
"cwd": "."
}
For code changes, give the child a precise write boundary and tell it not to revert unrelated edits. Keep implementation children capable with model_strength: "same":
{
"name": "docs_patch",
"prompt": "Update only docs/configuration.md to document the new [statusline] keys. Match the surrounding style. Do not edit other files.",
"type": "implement",
"model_strength": "same",
"cwd": "."
}
Use fork_context: true only when the child genuinely needs the current conversation prefix. Leave it omitted for fresh, narrower context.
Route the Work
Choose the route per child from agent(action:"roster") (no provider request), not from memory. It lists each role's resolved route and the models you may pick.
thinkingoverrides a saved tier on any role. Dial:off low medium high xhigh max ultra, plusinherit(role default, then session effort) andauto.modelandmodel_strengthapply to unpinned routes only. A pinned profile refuses a conflicting model; to choose a model, start an unpinned role such asgeneral.model_strength: "faster"is the same-family faster sibling,"same"the session model.- Read the receipt, not your request:
child_routeshows the provider, model and route source, andrequested_reasoningvseffective_reasoningshows what the route actually ran. - Route by stakes. Mechanical work: the cheapest sufficient route with
thinking: "off"or"low". Implementation: a capable route atmediumor above. Review and verification: a strong route athigh, on a different route than the author when independence matters.
Evaluate and Verify
Sub-agent outputs are self-reports. Re-check material claims before relying on them:
- Read changed files directly.
- Run the relevant tests locally.
- Inspect unexpected diffs before committing.
- Verify externally visible or destructive claims against source data.
Prompt Shape
A good delegation prompt includes:
- The exact task
- Files or modules owned by the child
- Files or behavior the child must not touch
- Expected output format
- Acceptance criteria
Weak prompt:
Fix the settings bug.
Strong prompt:
Own only crates/tui/src/settings.rs and its tests. Preserve existing config key names. Verify with the existing checks that provider-specific API key changes do not restart provider onboarding. Return the changed paths and test command output.
अक्सर पूछे जाने वाले सवाल
मुख्य AI के पास क्या रहता है?
आपके अनुरोध की समझ, आर्किटेक्चर और सुरक्षा के फ़ैसले, मॉड्यूल के बीच एकीकरण और अंतिम समीक्षा मूल AI के पास रहते हैं।
क्या नहीं सौंपना चाहिए?
बहुत छोटे एक-चरण वाले काम, अस्पष्ट उत्पाद फ़ैसले, साफ़ मापदंड के बिना विनाशकारी कार्रवाइयाँ और अंतिम सत्यापन।
क्या मैं सहायक का मॉडल नियंत्रित कर सकता हूँ?
हाँ। स्किल प्रदाता-निरपेक्ष मॉडल-शक्ति सेटिंग पसंद करती है, और सहायक डिफ़ॉल्ट रूप से सक्रिय मॉडल लेते हैं।
जानकारी
लेखक का मूल विवरण
Strategic delegation for multi-step coding, research, or verification work. Use when a task can be split into parent reasoning plus focused sub-agent execution through the agent tool.
repo: codewhale-hq/Codewhale
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6523
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
best-of-n
41kआपके एजेंट को किसी कठिन समस्या के लिए कई स्वतंत्र उत्तर बनवाने, उन्हें एक ही मापदंड पर आँकने, और केवल वही लागू करने में मदद करती है जो जाँच पास करे।
dataviz
41kआपके एजेंट को आपके डेटा के लिए सही चार्ट या डैशबोर्ड चुनने में मदद करती है, साफ़ लेबल, स्रोत नोट्स और एक्सिस व गायब मानों की जाँच के साथ।
debug
41kआपके एजेंट को अंदाज़े लगाने के बजाय बग को दोबारा पैदा करके, दायरा छोटा करके, असली कारण ढूँढने में मदद करती है, और सुधार केवल आपकी मंज़ूरी पर करती है।
dependency-update
41kआपके एजेंट को किसी तय सेट की सॉफ़्टवेयर निर्भरताएँ अपडेट करने, उनके रिलीज़ नोट्स पढ़ने, टूटे बदलावों को ठीक करने और प्रोजेक्ट की जाँच चलाने में मदद करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।