This repository provides specialized Orchestrator Skills for Google Antigravity. It enforces an Artifact-Driven, Incremental Development Loop inspired by Kiro-Orchestrator and Claude Code. These skills prevent codebase corruption by compelling the AI agent to plan, execute, and verify atomic changes using persistent Markdown artifacts.
Antigravity operates as a single, highly capable agent. We define Skills (.agents/skills/) to constrain the agent to specific personas instead of spawning disjointed sub-agents.
- Persistent Context: Goals are defined in
requirements.mdand tracked intask.md. The agent perfectly restores context after a system crash by reading these files. - Atomic Loops: The agent cannot edit 10 files at once. It must Execute, Verify, Commit, and Repeat.
There are three ways to integrate these skills into your workflow:
Best for: Starting a new project from scratch.
- Download as ZIP: Download this repository as a ZIP and extract it.
- Initialize: Run
git initin the folder. - Outcome: You get a clean git history and the full persona framework ready to go.
Best for: Adding agentic personas to an existing codebase.
- Copy Folder: Copy the
.agents/folder directly into the root of your existing project. - Verification: Run
ls .agents/skillsto ensure they are visible. - Outcome: Your existing repo is now "Agentic-Ready" without polluting your commit history with framework code.
Best for: Building a sub-module or experiment in an isolated directory.
- Equip Scaffolder: Prompt Antigravity: "Adopt the
project-scaffolderskill and initialize a new project in./my-new-app." - Outcome: It creates a partitioned directory with baseline artifacts ready for the PM.
While you can manually copy folders, the Antigravity ecosystem supports the Skild package manager for managing community skills.
- Manual: Low overhead. Just move the
.agentsfolder. - Skild: Enables searching and installing specialized skills (e.g.,
skild install python-expert) directly from the CLI.
| Feature / Concept | Kiro CLI | Claude Code | Antigravity (This Repo) |
|---|---|---|---|
| State Management | Markdown Specs (requirements.md) |
Variable Conversation History | Persistent Artifacts (task.md) |
| Sub-task Tracking | Internal spec files | GitHub Issues | Artifact Checklists OR GitHub Issues |
| Agent Architecture | Multiple specialized sub-agents | Single versatile agent | Single base agent with modular "Skills" |
| Execution Flow | Builder β Validator Handoffs | Iterative conversation | Strict incremental-orchestrator loop |
| Code Review | Dedicated Validator Agents | Manual Developer-in-the-loop | "Verify" step strictly enforced within loop |
| Time Efficiency | Slow (Heavy multi-agent handoffs) | Fast (For initial rapid prototyping) | Moderate (Incremental loops take time but save debugging) |
| Token Usage | High (Spinning up multiple agents) | Medium-High (Context window fills linearly) | Medium (Artifacts consolidate context without history bloat) |
| Context Loss Risk | Low (Spec-driven) | High (If context window is exceeded) | Zero (Disk-based Artifacts survive restarts) |
Kiro CLI
- Strengths: Excellent separation of concerns. Nearly impossible to drift from the specification.
- Weaknesses: Over-engineered for simple tasks. Extremely slow execution and expensive token usage due to constant API calls for handoffs.
- Ideal Use Case: Massive, enterprise-level greenfield projects with strict compliance needs.
Claude Code
- Strengths: Incredible developer experience. Extremely fast for iterative prototyping and getting off the ground quickly.
- Weaknesses: Prone to the "Big-Bang Commit." The context window fills up fast, and recovering the exact train of thought is difficult if the agent fails mid-task.
- Ideal Use Case: Rapid prototyping, bug fixing, exploring undocumented codebases, and simple 1-2 file features.
Antigravity (This Repo's Approach)
- Strengths: The optimal balance. Artifacts provide the ironclad memory safety of Kiro without the overhead of massive multi-agent networks. The granular loop prevents giant Pull Requests (PRs).
- Weaknesses: Requires discipline. The initial artifact generation phase is slower than issuing direct commands to Claude.
- Ideal Use Case: Building full-stack features incrementally, tracking progress formally, and prioritizing context retention over unstructured speed.
Because this framework relies entirely on persistent Markdown artifacts and native file-system access, you can easily define automated hooks to run before or after the Orchestrator executes a task.
1. Automated Model Routing & Fallback (.agents/hooks/pre_task.sh)
We provide a pre-task hook as a baseline to handle model routing automatically in the background. It parses the YAML frontmatter from SKILL.md files (looking for ideal-model: '...') and seamlessly swaps the active agent to the optimal model (e.g., heavily reasoning with Claude Opus, or quickly formatting with Gemini Flash).
Fallback Safety: If you use a community skill that demands an expensive model you havenβt put the API key for in your .env file, the hook will warn you and gracefully fallback to a cheap, general-purpose model (gemini-3.5-flash) so you arenβt blocked from execution.
2. Custom Validation (.agents/hooks/post_task.sh)
Use the post-task template to enforce quality gates. For example, you can tell the agent to run npm run test or npm run lint automatically after every task, ensuring that broken code is never snapshot or committed.
This framework operates using environment variables for API keys.
- Credential Setup: Copy the
.env.examplefile to.env.cp .env.example .env
- Configure Keys: Open
.envand add yourGOOGLE_API_KEY,ANTHROPIC_API_KEY, etc. - Safety First: The
.gitignorein this repository is already configured to ignore.envfiles. Never remove this entry or commit your API keys to version control.
For a full list of supported models and their required keys, see MODELS.md.
Beyond standalone skills, Antigravity supports automated Workflows. Workflows are predefined lists of instructions (SOPs) that tell the AI exactly how to execute a specific, standardized process.
Workflows are defined as .md files located in the [.agents, .agent, _agents, _agent]/workflows/ directory. They require a simple YAML frontmatter block for the description, followed by the specific execution steps.
Example (.agents/workflows/status-check.md):
---
description: Run a comprehensive status check on the project workspace
---
1. List all skills available in the `.agents/skills` directory.
2. Read the `README.md` to understand the project's current state.
// turbo
3. Run `git status` to see if there are any uncommitted changes.
4. Report the findings concisely.You can execute a workflow by either:
- Slash Commands: Typing the workflow name directly in the chat (e.g.,
/status-check). - Natural Language: Asking the agent to "run the status check workflow".
When executing workflows, the agent will normally pause to ask for your permission before running any terminal commands. To bypass this for safe, repetitive commands, you can add a // turbo annotation on the line directly above the step. This grants the agent permission to auto-execute that specific command. To auto-execute all commands in a workflow, place // turbo-all anywhere in the file.
Want to see the framework in action immediately without any setup? We've created a pre-configured, sandboxed environment in the app/ directory.
- Review the Goal: Open
app/requirements.md. You will see a strict constraint demanding the agent build an Express.js server only within that folder. - Review the Tasks: Open
app/task.mdto view the step-by-step checklist. - Unleash the Builder: Prompt your Antigravity agent:
"Adopt the
incremental-orchestratorskill and execute the tasks inapp/task.md." - Watch the Loop: The agent will read the artifacts, execute the first step, verify its work against the requirements, make an atomic Git commit, and pause for your approval before continuing.
Path: .agents/skills/product-manager/SKILL.md
Role: The Interactive Interviewer / Planner.
Usage: Equip this skill when you have a vague idea. It asks you sequential questions to define your MVP features and stack, and outputs a highly detailed requirements.md file.
Path: .agents/skills/team-lead-orchestrator/SKILL.md
Role: The Architect / Project Manager.
Usage: Instruct Antigravity to adopt this skill when you have raw requirements. It outputs an implementation_plan.md and a granular task.md. It does not write implementation code.
Path: .agents/skills/incremental-orchestrator/SKILL.md
Role: The Builder / Code Reviewer.
Usage: Adopt this skill to execute the checklist after tasks are planned. It guarantees the agent verifies its own code against the specifications before creating an atomic Git commit and moving to the next task.
Path: .agents/skills/issue-creator/SKILL.md
Role: The Kanban Administrator.
Usage: Adopts Claude Code's methodology. It translates the internal task.md checklist into formal GitHub Issues using the gh CLI for external visibility and tracking.
Path: .agents/skills/doc-reviewer/SKILL.md
Role: The Senior Technical Writer.
Usage: Use this skill to restructure, edit, and clarify Markdown documentation. It focuses entirely on tone and narrative flow without touching the underlying source code.
Path: .agents/skills/markdown-formatter/SKILL.md
Role: The Documentation Linter.
Usage: Use this skill to strictly enforce formatting rules (spacing, headers, backticks) across your Markdown files to keep them clean and easily readable.
Path: .agents/skills/project-auditor/SKILL.md
Role: The Final Gatekeeper / QA.
Usage: Equip this skill before merging PRs or marking tasks as complete. It will cross-reference your actual file system against the README.md and task.md to spot undocumented code or missed requirements.
Path: .agents/skills/project-scaffolder/SKILL.md
Role: The Environment Initializer.
Usage: Equip this skill when starting a new project. It safely sandboxes future work by generating an isolated boundary directory (e.g., /app) and pre-populating baseline requirements.md and task.md specs before handoff.
Path: .agents/skills/prerequisites-checker/SKILL.md
Role: The Environment Validator.
Usage: Verifies that all required external toolings and CLI dependencies are installed and authenticated before starting a project.
Path: .agents/skills/project-board-manager/SKILL.md
Role: The Kanban Board Maintainer.
Usage: Creates and manages GitHub Projects (Kanban boards) to track issues and orchestrate project states.
For a comprehensive guide on how to apply these personas to build a complete software project (from discovery and planning to atomic code execution and QA), please read the full Usage Guide.