subagent-orchestrator
यह क्या करती है
यह agent छोटे agents को संभालता है, ताकि बड़े काम जिनमें कई files शामिल हों, पूरे हो सकें। यह काम को बांटता है, खर्च और usage का ध्यान रखता है, और यह सुनिश्चित करता है कि सब एक साथ ठीक से चलें, बिना ज़रूरत से ज़्यादा resources खर्च किए।
कब इस्तेमाल करें
- ✓जब किसी काम में 3 से ज़्यादा files शामिल हों।
- ✓जब आप चाहते हों कि कई agents एक साथ काम करें।
- ✓जब पहले usage limit (quota) की दिक्कत आ चुकी हो।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/subagent-orchestrator/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस काम को, जिसमें कई files में एक नया feature बनाना है, छोटे हिस्सों में बांटो, ध्यान रखो कि agents एक साथ (parallel) काम करें और quota की सीमा का पालन हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह पहले बड़े काम को छोटे हिस्सों में बांटने की योजना बनाता है, और तय करता है कि कौन सा agent किस file पर क्या करेगा। फिर इन agents को एक साथ चलाता है, और हिस्से जोड़ने से पहले जांचता है कि सब कुछ ठीक चल रहा है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Subagent Orchestrator
A quota-aware, parallel subagent coordination skill for Antigravity 2.0. Turns one big task into a set of isolated, efficient agent missions — without burning your weekly quota.
Use this skill when
- A task spans 3+ files or components
- You want multiple agents working at the same time
- You've hit quota issues mid-task before
- The task involves both planning AND building
- You need browser agent + code agent + terminal agent running together
Do not use this skill when
- Editing a single file or fixing one bug
- Writing a quick script under 50 lines
- Asking a question or generating a plan only
Phase 1 — DECOMPOSE (before any agent runs)
Before spawning any subagent, the orchestrator MUST produce a Mission Brief. Announce:
"Running subagent-orchestrator skill. Decomposing task into isolated missions."
Then output a Mission Brief in this format:
MISSION BRIEF
─────────────────────────────────────────
Goal: [one sentence, what done looks like]
Total Agents: [N]
Quota Strategy: [FLASH / SONNET / MIXED]
Expected Token Cost: [LOW / MEDIUM / HIGH]
AGENTS:
[1] ID: agent-001
Role: [e.g. Planner / Builder / Tester / Browser]
Scope: [exact files or URLs this agent touches]
Model: [Gemini Flash / Claude Sonnet]
Input: [what it receives]
Output: [what it produces]
Depends on: [none / agent-001]
[2] ...
─────────────────────────────────────────
Wait for user to approve the Mission Brief before proceeding. If the user edits it, update and re-confirm. Never skip this step.
Phase 2 — QUOTA ROUTING
Before assigning models, apply this decision tree:
Is this task > 20 files OR > 500 lines of new code?
YES → Use Gemini Flash for all agents. Reserve Sonnet for final review only.
NO → Is this task creative UI / complex logic / API design?
YES → Use Sonnet for builder agent, Flash for all others.
NO → Use Gemini Flash for everything.
Model cost rules (never violate these):
- Claude Opus → NEVER use in subagents. Too expensive.
- Claude Sonnet → Max 1 subagent per mission.
- Gemini Flash → Default for all subagents. Fast, cheap, separate quota pool.
- Browser subagent → Always runs on its own pool. Use sparingly (1 per mission max).
Phase 3 — CONTEXT ISOLATION
Each subagent gets a scoped context packet. Never give all agents the full codebase.
For each agent, prepare:
AGENT CONTEXT PACKET — agent-[ID]
Files to read: [list only what this agent needs]
Files to write: [list only what this agent will create/edit]
Do NOT read: [explicitly exclude irrelevant files]
Knowledge: [paste only the relevant section of GEMINI.md]
Rule: If an agent doesn't need node_modules, package-lock.json, .next/, or dist/ — add them to a .antigravityignore before the agent runs.
Phase 4 — PARALLEL EXECUTION
Spawn agents in dependency order:
Round 1 (no dependencies): Run agents in parallel
Round 2 (depends on Round 1): Wait for all Round 1 outputs, then run
Round 3 (final): Integrate + verify
Between rounds, the orchestrator MUST:
- Collect each agent's output artifact
- Run a 3-point spot check:
- Did the agent stay within its assigned scope?
- Are there any import/export conflicts with other agents' outputs?
- Did any agent produce a placeholder ("TODO", "implement later")?
- If any check fails → re-run that agent with corrected context. Do NOT continue.
Phase 5 — ERROR RECOVERY
If a subagent fails or produces broken output:
RECOVERY PROTOCOL
─────────────────────────────────────────
1. Do NOT re-run the full mission.
2. Identify the exact failure point.
3. Spawn a single repair agent with:
- Only the broken file(s) as scope
- The error message as context
- Model: Gemini Flash (cheapest for repairs)
4. Validate the repair before continuing.
─────────────────────────────────────────
Never cascade a broken output to the next agent. Always fix before moving forward.
Phase 6 — INTEGRATION CHECK
After all agents complete, run a final integration sweep:
- All imports resolve correctly
- No duplicate function/variable names across files
- No hardcoded values that should be env variables
- No
console.logleft in production files - Types are consistent across components (TypeScript)
- Build would succeed (
npm run buildmentally verified)
…
अक्सर पूछे जाने वाले सवाल
'quota' क्या है?
यह एक तय सीमा है कि किसी समय अवधि (जैसे एक हफ़्ते) में आप AI सेवा का कितना इस्तेमाल कर सकते हैं। यह agent उस सीमा से ज़्यादा इस्तेमाल होने से बचने में मदद करता है।
'छोटे agents' क्या होते हैं?
ये सरल AI सहायकों की तरह हैं, जिनमें से हर एक काम के किसी खास हिस्से पर ध्यान देता है, जैसे कोड लिखना, testing करना या web browse करना।
agents को parallel में क्यों चलाएं?
काम जल्दी पूरा करने के लिए। अलग-अलग हिस्सों पर एक साथ काम करने वाले कई agents, एक ही agent के सब कुछ एक के बाद एक करने से जल्दी खत्म कर देते हैं।
जानकारी
लेखक का मूल विवरण
Coordinate quota-aware parallel subagents for large, multi-file Antigravity tasks.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5879
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।