一键导入
subagent-orchestrator
Coordinate quota-aware parallel subagents for large, multi-file Antigravity tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Coordinate quota-aware parallel subagents for large, multi-file Antigravity tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | subagent-orchestrator |
| risk | safe |
| source | community |
| description | Coordinate quota-aware parallel subagents for large, multi-file Antigravity tasks. |
| version | 1.0.0 |
| author | community |
| tags | ["subagents","orchestration","quota","parallel","multi-agent"] |
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.
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.
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):
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.
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:
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.
After all agents complete, run a final integration sweep:
console.log left in production filesnpm run build mentally verified)If any check fails, spawn one final repair agent scoped to the exact issue.
Track estimated usage throughout the mission:
| Event | Quota Impact |
|---|---|
| Agent spawned | LOW (setup) |
| File indexed (each) | LOW |
| Tool call (file read/write) | MEDIUM |
| Terminal command | MEDIUM |
| Browser subagent activated | HIGH |
| Thinking mode enabled | VERY HIGH |
If estimated usage crosses 60% of sprint quota mid-mission:
Mission Progress: ████████░░ 4/5 agents complete
Quota Status: ▓▓▓▓░░░░░░ ~40% sprint used
See examples/ folder:
nextjs-feature.md — Building a full Next.js feature with 3 parallel agentsapi-plus-frontend.md — Backend API agent + Frontend UI agent running in paralleldebug-mission.md — Repair mission for a broken build using minimal quotaAudit deployed Vercel apps for cost and performance issues using metrics, project config, code scans, and version-aware recommendations.
Senior SecOps engineer skill for application security, vulnerability management, compliance verification, and secure development practices. Runs SAST/DAST scans, generates CVE remediation plans, checks dependency vulnerabilities, creates security policies, enforces secure coding patterns, and automates compliance checks against SOC2, PCI-DSS, HIPAA, and GDPR. Use when conducting a security review or audit, responding to a CVE or security incident, hardening infrastructure, implementing authentication or secrets management, running penetration test prep, checking OWASP Top 10 exposure, or enforcing security controls in CI/CD pipelines.
Content quality and E-E-A-T analysis with AI citation readiness assessment. Use when user says "content quality", "E-E-A-T", "content analysis", "readability check", "thin content", or "content audit".
Run a broad SEO audit across technical SEO, on-page SEO, schema, sitemaps, content quality, AI search readiness, and GEO. Use as the umbrella skill when the user asks for a full SEO analysis or strategy.
TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling.
Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.