antigravity-cli

Delegate multi-step repository tasks to Antigravity CLI as an isolated subagent.

5|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/amirkiarafiei/subagent-cli-skills --skill antigravity-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: antigravity-cli
Source: https://github.com/amirkiarafiei/subagent-cli-skills/tree/main/skills/antigravity-cli
Command: npx skills add https://github.com/amirkiarafiei/subagent-cli-skills --skill antigravity-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It reduces orchestrator context usage and token cost by offloading large, multi-step coding, refactors, research, and security passes to Antigravity CLI running as a subagent.

Core Features & Use Cases

  • Long-horizon repo execution: Runs bounded, multi-file tasks (feature slices, migrations, docs sweeps) with a dedicated pass instead of keeping everything in the main thread.
  • Specialist subagents via prompt steering: Uses @codebase_investigator, @generalist, @gemini-cli-security, and @code-review to match the subtask to a suitable specialist in isolated context.
  • Context handoff discipline: Requires including original goal, prior decisions, scope, constraints, and explicit verification so the isolated session stays aligned with the orchestrator’s intent.

Quick Start

Use Antigravity CLI in headless mode to run a single long-horizon prompt that includes the full goal, prior decisions, scope, constraints, a required verification command, and the expected output format.

Frequently Asked Questions about antigravity-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce orchestrator context burn during large multi-file refactors?

Context burn is reduced by delegating large multi-file refactors to Antigravity CLI running as an isolated subagent. This offloads long-horizon repository execution into a dedicated session, preserving the main thread's context and reducing token cost.

What is context handoff discipline when delegating repository work to a subagent?

Context handoff discipline requires providing the isolated session with the original goal, prior decisions, scope, and constraints. This explicit shared-state handoff ensures the delegated subagent stays aligned with the orchestrator's intent throughout the task.

How do I run a security audit across multiple files without keeping everything in the main thread?

Run a security audit across multiple files by offloading the task to a specialist subagent like @gemini-cli-security. This executes the deep security pass in an isolated context, returning only the final results to the orchestrator.

Can I use prompt steering to match subtasks to specialist subagents for complex code work?

Yes, you can use prompt steering to match subtasks to specialist subagents such as @codebase_investigator, @generalist, and @code-review. This ensures complex code work is handled by the most suitable isolated context.

Does delegating web research and documentation sweeps require interactive execution?

No, delegating web research and documentation sweeps requires programmatic, non-interactive execution. The subagent runs a single long-horizon prompt in headless mode with a mandatory verification step and controlled output format.

What are the limitations of using isolated subagents for long-horizon repo execution?

The limitation of using isolated subagents is the strict requirement for explicit shared-state handoff. Without passing the full goal, prior decisions, scope, constraints, and verification commands, the isolated session may drift from the orchestrator's intent.