Antigravity Awesome 合集 · Skill 合集 · 11-19 · ★ 127

81 个生产级子代理合集

JosephHampton/awesome-gemini-cli-subagents
内置 81 个可直接使用的子代理,覆盖代码审查、安全、测试、DevOps、数据 AI 与语言专家,一行命令即可安装。适合想快速给 Antigravity 补齐多角色专业能力的开发者。
git clone https://github.com/JosephHampton/awesome-gemini-cli-subagents.git

🤖 Awesome Gemini CLI & Antigravity Subagents <img src="/proxy/img?u=aHR0cHM6Ly9hd2Vzb21lLnJlL2JhZGdlLnN2Zw&sig=b5ab57c86f2c03f084c2" alt="Awesome" loading="lazy" referrerpolicy="no-referrer">

89 production-ready AI coding subagents for Gemini CLI and Antigravity CLI

Automated code review, security auditing, test generation, DevOps automation, data engineering, AI/ML pipelines, and 17 language and framework specialists. One-line install, opinionated system prompts, and full tool scoping. Let the main agent delegate to the right specialist.

<img src="/proxy/img?u=aHR0cHM6Ly9naXRodWIuY29tL0pvc2VwaEhhbXB0b24vYXdlc29tZS1nZW1pbmktY2xpLXN1YmFnZW50cy9hY3Rpb25zL3dvcmtmbG93cy92YWxpZGF0ZS55bWwvYmFkZ2Uuc3Zn&sig=7f69528c98d42880e02a" alt="validate" loading="lazy" referrerpolicy="no-referrer"> Subagents <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9naXRodWIvc3RhcnMvSm9zZXBoSGFtcHRvbi9hd2Vzb21lLWdlbWluaS1jbGktc3ViYWdlbnRzP3N0eWxlPWZsYXQmbG9nbz1naXRodWImY29sb3I9NDI4NUY0&sig=916fecce4893aa9079e8" alt="GitHub stars" loading="lazy" referrerpolicy="no-referrer"> <img src="/proxy/img?u=aHR0cHM6Ly9pbWcuc2hpZWxkcy5pby9naXRodWIvZm9ya3MvSm9zZXBoSGFtcHRvbi9hd2Vzb21lLWdlbWluaS1jbGktc3ViYWdlbnRzP3N0eWxlPWZsYXQmbG9nbz1naXRodWImY29sb3I9MzRBODUz&sig=807103ef907fc0c49b07" alt="GitHub forks" loading="lazy" referrerpolicy="no-referrer"> Gemini CLI Antigravity CLI License: CC0-1.0 PRs Welcome Last updated


What is this

Gemini CLI and Antigravity CLI both support subagents: specialist AI coding assistants the main agent delegates work to. Each subagent has its own system prompt, its own tools and its own context window, so it stays sharp on one job instead of being average at everything.

This repo is a curated, open-source library of production-ready subagents. Every agent is a single Markdown file with a real, opinionated system prompt (focus areas, a method, an output format and guardrails), not a one-line stub. Each one ships in both Gemini CLI and Antigravity CLI formats, validated automatically on every change.

Each subagent is focused: a code-reviewer that only reviews beats a general assistant that sometimes reviews. Its context stays isolated, so a big investigation runs in the subagent's window, not yours. Tools are scoped, so reviewers and auditors get no file-writing tools and report problems instead of quietly changing your code. And they're composable: let tech-lead-orchestrator plan, then hand the pieces to the specialists (see Recipes).

🚀 Install

One line, no clone needed:

# Gemini CLI
curl -fsSL https://raw.githubusercontent.com/JosephHampton/awesome-gemini-cli-subagents/main/install-agents.sh | bash

# Antigravity CLI (agy)
curl -fsSL https://raw.githubusercontent.com/JosephHampton/awesome-gemini-cli-subagents/main/install-agents.sh | bash -s -- --antigravity

Or clone and pick what you want:

git clone https://github.com/JosephHampton/awesome-gemini-cli-subagents.git
cd awesome-gemini-cli-subagents

./install-agents.sh --list                           # see every category and agent
./install-agents.sh --category security              # just one category (repeatable)
./install-agents.sh --project                        # this project only, shareable with your team
./install-agents.sh --antigravity --category quality-testing
./install-agents.sh --uninstall                      # remove them again

Antigravity users can also install it as a plugin:

agy plugin install ./antigravity/awesome-subagents

| | Gemini CLI | Antigravity CLI | | -------------------------- | ------------------- | ----------------------------------------------------------------- | | User-level (every project) | ~/.gemini/agents/ | ~/.gemini/config/agents/ | | Project-level | .gemini/agents/ | .agents/agents/ | | Source files | agents/ | antigravity/awesome-subagents/ |

Then just describe the work, e.g. _"review this diff for security issues"_, and the main agent delegates to the matching subagent. In Gemini CLI you can also call one directly with @security-auditor, or manage them with /agents.

Moving from Gemini CLI to Antigravity? Your .gemini/agents/*.md files will not load in Antigravity as they are: it rejects Gemini model names such as gemini-3-pro-preview and uses different tool names. Run ./install-agents.sh --antigravity to get versions converted for it.


📚 The collection

🏗️ Core Development

| Agent | What it does | | --------------------------------------------------------------------------------------- | ------------------------------------------------------------- | | backend-architect | Scalable backend systems, service boundaries, and data models | | frontend-developer | Accessible, performant UI components and state | | fullstack-engineer | End-to-end vertical feature slices across the whole stack | | api-designer | Clean, consistent REST / GraphQL / gRPC contracts | | microservices-architect | Service decomposition and distributed-system design | | mobile-app-developer | Cross-platform and native mobile features | | graphql-architect | GraphQL schemas, resolvers, and federation without N+1s | | electron-desktop-developer | Secure Electron apps with native-feeling UX | | browser-extension-developer | Manifest V3 extensions for Chrome and Firefox | | realtime-websocket-engineer | WebSocket / SSE systems that survive disconnects | | design-system-engineer | Component libraries, design tokens, and accessible theming |

🧠 Language Specialists

| Agent | What it does | | ------------------------------------------------------------------------- | ------------------------------------------------------------- | | typescript-pro | Advanced, type-safe TypeScript | | python-pro | Clean, idiomatic, fully typed Python | | go-pro | Idiomatic, concurrent Go | | rust-pro | Safe, idiomatic Rust that works with the borrow checker | | java-pro | Modern Java and the JVM ecosystem | | react-pro | Modern React patterns, hooks, and performance | | nextjs-pro | Next.js App Router, server components, and rendering strategy | | vue-pro | Vue 3 Composition API, Pinia, and Nuxt | | angular-pro | Modern Angular with signals and standalone components | | svelte-pro | Svelte 5 runes and SvelteKit | | flutter-pro | Flutter and Dart for fast native-feeling apps | | swift-ios-pro | SwiftUI and structured concurrency on iOS | | kotlin-android-pro | Kotlin and Jetpack Compose on Android | | csharp-dotnet-pro | Modern C# and ASP.NET Core | | laravel-pro | PHP and Laravel the way the framework intends | | rails-pro | Ruby on Rails with convention over configuration | | cpp-pro | Modern C++ with RAII discipline and sanitizers |

☁️ Infrastructure & DevOps

| Agent | What it does | | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------- | | devops-engineer | CI/CD pipelines and release automation | | kubernetes-operator | Kubernetes workloads, manifests, and troubleshooting | | terraform-engineer | Modular, safe Terraform / OpenTofu | | cloud-architect | Cloud infra on AWS / GCP / Azure with cost in mind | | docker-specialist | Lean, secure Dockerfiles and Compose setups | | sre-incident-responder | Incident triage and blameless postmortems | | aws-specialist | AWS services, IAM, networking, and cost awareness | | github-actions-specialist | Fast, secure GitHub Actions pipelines | | serverless-architect | Event-driven serverless with idempotency built in | | observability-engineer | Logs, metrics, traces, SLOs, and alerts that matter | | cicd-pipeline-engineer | Build-once promotion pipelines with tested rollback | | platform-engineer | Golden paths, self-service templates, and developer portals | | finops-engineer | Cloud cost cuts, rightsizing, and unit economics |

✅ Quality & Testing

| Agent | What it does | | -------------------------------------------------------------------------------- | --------------------------------------------- | | code-reviewer | Thorough, prioritized code review | | test-automator | Meaningful unit and integration tests | | e2e-tester | Stable Playwright / Cypress end-to-end tests | | performance-optimizer | Evidence-based performance fixes | | debugger | Systematic root-cause debugging | | refactoring-specialist | Safe, behaviour-preserving refactors | | load-testing-engineer | Realistic load tests that name the bottleneck | | visual-regression-tester | Flake-proof screenshot testing for UI changes |

🛡️ Security

| Agent | What it does | | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------- | | security-auditor | Defensive code review for common vulnerability classes | | dependency-auditor | Third-party CVE and supply-chain review | | secrets-detector | Detect committed secrets so they can be rotated and removed | | threat-modeler | Design-time STRIDE threat modeling | | auth-reviewer | Review authentication and authorization logic | | container-security-auditor | Image, Kubernetes, and supply-chain hardening | | ai-red-teamer | Adversarial testing of AI systems: injection, jailbreaks, exfiltration | | privacy-engineer | PII mapping, data minimization, retention, and GDPR/CCPA requests |

📊 Data, AI & Databases

| Agent | What it does | | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | data-engineer | Reliable ETL / ELT and data pipelines | | ml-engineer | Reproducible ML training, evaluation, and deployment | | prompt-engineer | Testable LLM prompts and agent instructions | | sql-pro | Query writing and performance tuning | | postgres-expert | Deep PostgreSQL tuning and features | | database-designer | Relational schema and data modeling | | analytics-engineer | Trustworthy analytics models and metrics | | llm-integration-engineer | LLM product features with evals and cost control | | rag-architect | Retrieval-augmented generation that cites its sources | | mongodb-expert | Document modelling and aggregation performance | | redis-expert | Caching, queues, and realtime data in Redis | | mlops-engineer | Reproducible training pipelines and monitored models | | data-visualization-engineer | Honest, fast charts and dashboards | | mcp-server-engineer | Safe Model Context Protocol servers: tools, resources, transports | | llm-evals-engineer | Eval suites, graders, and CI gates for LLM features | | voice-ai-engineer | Realtime voice agents: STT/TTS, turn-taking, low latency |

🧰 Developer Experience

| Agent | What it does | | ----------------------------------------------------------------------------- | ---------------------------------------------------- | | documentation-writer | Clear developer and user documentation | | api-documenter | Accurate API reference and OpenAPI specs | | git-workflow-manager | Clean Git history and workflow | | dependency-upgrader | Safe, staged dependency upgrades | | dx-optimizer | Faster builds and a smoother local dev loop | | monorepo-manager | Turborepo / Nx / workspaces with trustworthy caching |

🎯 Specialized Domains

| Agent | What it does | | ---------------------------------------------------------------------------------------- | ----------------------------------------------------- | | accessibility-auditor | WCAG accessibility audit and fixes | | seo-optimizer | Technical and on-page SEO | | blockchain-developer | Smart contracts and on-chain safety | | game-developer | Gameplay systems and real-time performance | | embedded-systems-engineer | Firmware for resource-constrained devices | | stripe-payments-integrator | Payment flows and webhooks treated as safety-critical |

🧭 Product & Orchestration

| Agent | What it does | | ------------------------------------------------------------------------------------ | ------------------------------------------- | | product-strategist | Scoping, specs, and ruthless prioritization | | tech-lead-orchestrator | Decompose and sequence large tasks | | code-archaeologist | Understand legacy and unfamiliar codebases | | agent-workflow-designer | Design multi-agent workflows and pipelines |


🧪 Recipes

Subagents are most useful in combination. A few that work well together:

| Goal | Hand it to | Prompt to try | | ----------------------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- | | Ship a feature safely | tech-lead-orchestrator → specialists → code-reviewer | _"Plan this feature, build it, then review the diff before I commit."_ | | Pre-release security pass | threat-modeler → security-auditor → auth-reviewer → dependency-auditor | _"Do a security pass on the payments module before release."_ | | Fix a nasty bug | debugger → test-automator | _"Find the root cause of this failing test, fix it, and add a regression test."_ | | Make it faster | performance-optimizer → load-testing-engineer | _"Profile the checkout API and prove the fix under load."_ | | Get to grips with a legacy codebase | code-archaeologist → documentation-writer | _"Explain how billing works here and write it up for new joiners."_ | | Clean up safely | refactoring-specialist → test-automator | _"Refactor this module without changing behaviour, tests first."_ | | Production incident | sre-incident-responder → observability-engineer | _"Triage this outage, then add the alert that would have caught it."_ | | Scope a new product idea | product-strategist → api-designer → backend-architect | _"Turn this idea into a scoped spec and an API design."_ |

📐 Agent format

Each agent in agents/ is a Markdown file with YAML frontmatter. The body is the system prompt.

Gemini CLI

---
name: security-auditor
description: Reviews code for security weaknesses and recommends fixes.
kind: local
tools:
  - read_file
  - grep_search
model: gemini-3-pro-preview
temperature: 0.2
max_turns: 20
---

You are a defensive security reviewer...

| Field | Required | Purpose | | -------------- | :------: | ----------------------------------------------------------------------------- | | name | Yes | Unique slug, used as the tool name and with @name | | description | Yes | When to use this agent; the router reads it to decide | | kind | | local (default) or remote (A2A) | | tools | | Tool allowlist; supports * and mcp_* wildcards. Omit to inherit all tools | | mcpServers | | MCP servers available only to this agent | | model | | Pin a model, or inherit the session's | | temperature | | 0.0 to 2.0 (default 1) | | max_turns | | Turn budget (default 30) | | timeout_mins | | Time budget in minutes (default 10) |

Antigravity CLI

The same agent, converted by scripts/build-antigravity.sh:

---
name: security-auditor
description: Reviews code for security weaknesses and recommends fixes.
tools:
  - view_file
  - list_dir
  - grep_search
  - find_by_name
model: pro
---

You are a defensive security reviewer...

Antigravity uses model: pro | flash | inherit and its own tool names (view_file, grep_search, find_by_name, write_to_file, replace_file_content, run_command, search_web and others). It also supports mainAgent, subagent, commandExecutionPolicy, mcpServers and skills. See the Antigravity subagents docs and the Gemini CLI subagents docs for the full references.

❓ FAQ

Which should I use, Gemini CLI or Antigravity CLI? Google moved free and Google One users from Gemini CLI to Antigravity CLI in June 2026. Gemini CLI is still maintained for Gemini Code Assist Standard and Enterprise. This collection supports both, so use whichever you have.

Will 89 subagents slow things down or confuse the router? Not noticeably. Until it delegates, the main agent only sees each subagent's name and one-line description, not the full system prompt. If you want a leaner set, install just the categories you use with --category.

Can a subagent change my files? Only through the tools it declares. Reviewers and auditors such as code-reviewer, security-auditor and secrets-detector have no file-writing tools. Some of them can run shell commands (for example git diff or a dependency scan), which go through your CLI's normal approval and sandbox settings. Builders such as python-pro can edit files and run commands.

Can I edit them? Yes, they are CC0. Copy one, change the prompt, and make it yours. If your change would help everyone, open a PR.

Contributing

New agents, sharper prompts and fixes are all welcome. Edit or add files in agents/ only, then run:

./scripts/build-antigravity.sh   # regenerate the Antigravity versions
./scripts/validate.sh            # the same checks CI runs

See CONTRIBUTING.md for the quality bar.

📈 Star history

If these AI coding subagents save you time, a ⭐ helps other Gemini CLI and Antigravity CLI users find them.