How to add skills to Google Antigravity (SKILL.md and .agents/skills)
Checked against the official docs:
Google Antigravity is Google's agentic coding platform: a desktop app, a terminal app called agy, IDE extensions and a standalone IDE. Like Claude Code and Codex, it supports agent skills: folders with a SKILL.md file that teach the agent how to do a specific job. This guide covers where Antigravity looks for skills, how to write one, how to install ready-made skills such as [Google's own](/plugins/google-skills/), and what to check when a skill doesn't show up. It was checked against Antigravity's docs on 27 November 2026.
Get new guides by email
New MCP servers and agent tools, checked by hand. Free, unsubscribe anytime.
Paid prompt and rules packs are on the packs page.
Quick answer
- Make a folder for the skill in
.agents/skills/in your project, for example.agents/skills/code-review/. Use~/.gemini/config/skills/instead if you want it in every project. - Put a
SKILL.mdfile in that folder. It starts with YAML frontmatter that has adescription(required) and, optionally, aname. - Send your next message. Antigravity rereads skills before each turn and uses one when it fits your request. Type
/<skill-name>to run it on purpose. - In the Antigravity CLI, run
/skills reload(or start a new conversation) so the new slash command appears.
Free: MCP Starter Checklist
One page: Inspector smoke-test, Claude Code + Cursor connect steps, and the stdout gotcha. Join the list and download it free.
What a skill is
A skill is a folder with a required SKILL.md file: step-by-step instructions, conventions and checklists for one kind of task, plus optional scripts and reference files. On every turn the agent sees the name and description of each skill. When one looks relevant, it reads the full SKILL.md and follows it. Antigravity's docs call skills an open standard (agentskills.io), which Claude Code, Codex and other agents also support.
my-skill/
├── SKILL.md # required: instructions and metadata
├── scripts/ # optional helper scripts
├── examples/ # optional reference implementations
└── resources/ # optional templates, schemas or data1. Choose where the skill goes
- One project:
<project>/.agents/skills/<skill-folder>/. Commit it so your team gets it too. Antigravity also reads.agents/skills/in each parent folder up to the repository root. - All your projects:
~/.gemini/config/skills/<skill-folder>/. The Antigravity App, CLI and IDE all read this folder. - CLI only: the Antigravity CLI also reads
~/.gemini/antigravity-cli/skills/and~/.gemini/skills/. The App doesn't, so use~/.gemini/config/skills/for a personal skill you want everywhere.
Older projects may use .agent/skills (no "s"). Antigravity still reads it, but .agents/ is the default for new projects. The standalone Antigravity IDE also still reads the older global folder ~/.gemini/antigravity/skills/.
Antigravity scans one level deep. The skill folder must sit directly inside skills/, so .agents/skills/database/migrate-schema/SKILL.md is skipped. Move it up a level, or list it in a skills.json manifest (see the errors section below).
2. Write SKILL.md
Start the file with YAML frontmatter, then write the instructions in Markdown. This is the example from Antigravity's docs:
---
name: code-review
description: Reviews code changes for bugs, style issues, and best practices. Use when reviewing pull requests or checking code quality.
---
# Code Review Skill
When reviewing code, follow these steps:
## Review checklist
1. **Correctness**: Verify that the code satisfies specifications.
2. **Edge cases**: Ensure error conditions and boundaries are handled.
3. **Style**: Follow project naming and architectural patterns.
4. **Performance**: Identify potential bottlenecks or inefficiencies.- `description` (required): what the skill does and when to use it. This is all the agent sees when it decides whether to use the skill, so be specific. Google suggests writing it in the third person with keywords, for example "Generates unit tests for Python code using pytest conventions."
- `name` (optional): lowercase with hyphens. If you leave it out, the folder name is used.
Keep each skill to one job; several small skills work better than one that tries to do everything. If the skill includes scripts, tell the agent to run them with --help first instead of reading all the code, which keeps its context free for your task.
3. Use the skill
- Automatically: you don't have to mention the skill. The agent picks it when your request matches the description. Naming the skill in your message makes sure it gets used.
- On purpose: type
/<skill-name>in the message box, for example/code-review. In the CLI, every skill becomes a slash command.
Antigravity rereads skills before each turn, so new or edited skills apply to your next message without a restart. The CLI's slash-command list is the exception: run /skills reload or start a new conversation to refresh it.
Let Antigravity write the skill for you
After you've walked the agent through a tricky setup, run /learn, or something like /learn save the database migration steps we just used as a skill. The agent drafts a learning_proposal.md saying whether the lesson should be a rule or a skill and what it will write. Nothing is saved until you approve it. Skills it creates go in .agents/skills/<name>/SKILL.md or ~/.gemini/config/skills/<name>/SKILL.md.
Install ready-made skills
With the skills CLI (npx skills)
The open skills CLI can install skills from a GitHub repository straight into Antigravity's folders. It needs Node.js 22.20 or later. Run it from your project, and pick Antigravity when it asks which agents to install for:
npx skills add google/skillsTo install one skill for Antigravity without the prompts, name the skill and the agent. This example installs Google's Skill Finder, which pulls in the right Google skill when a request needs it:
npx skills add google/skills --skill finding-google-skills -a antigravityProject installs go into .agents/skills/. Add -g to install into ~/.gemini/config/skills/ for every project. npx skills update updates them later.
As a plugin
Plugins bundle skills with MCP servers, rules and custom agents. In the Antigravity App, open Customizations, then Marketplace, and click + on a plugin. From a terminal, use agy plugin:
# From the official marketplace
agy plugin install <plugin-name>
# From a GitHub repository or a local folder
agy plugin install https://github.com/<owner>/<repo>
agy plugin install ./my-skills-plugin
# See what is installed, including bundled skill names
agy plugin list --jsonMarketplace installs need you to be signed in to agy. Skills from a plugin are named <plugin>:<skill>, so they don't clash with your own. Google's skills repository lists its product plugins for the Antigravity CLI as agy plugin install https://github.com/google/skills/<plugin-path>.
Bring skills over from other tools
On first launch, if you pick Software Engineering, the Antigravity App offers to import MCP servers, skills, rules and instructions from Claude Code, Codex, Cursor and Gemini CLI. For writing skills that work across agents, see how to create an agent skill.
Need the Antigravity CLI?
# macOS / Linux
curl -fsSL https://antigravity.google/cli/install.sh | bash
# Windows (PowerShell)
irm https://antigravity.google/cli/install.ps1 | iex
# Check the install
agy --versionThe desktop app and the standalone IDE are downloads from antigravity.google/download.
Check which skills Antigravity loaded
- Antigravity App: click Settings at the bottom of the left sidebar, pick the project under Projects, and scroll to Customizations. It lists your skills, rules, plugins and custom agents. Personal and built-in skills have a Global badge.
- Antigravity CLI: run
/skills. Use the arrow keys to pick a skill and Enter to see its description, path and instructions. - Antigravity IDE: open the Customizations menu in the agent side panel.
Common problems and fixes
My skill doesn't show up
- Check the file name. It must be
SKILL.md, inside its own folder. - Check the folder. It should be in
.agents/skills/in the workspace (or a parent folder up to the repository root) or in~/.gemini/config/skills/. - Check the depth. The skill folder must sit directly inside
skills/. - Check the frontmatter.
descriptionis required. - In the CLI, run
/skills reloador start a new conversation.
It works in the CLI but not in the App
The skill is probably in ~/.gemini/antigravity-cli/skills/ or ~/.gemini/skills/, which only the CLI reads. Move it to ~/.gemini/config/skills/.
A skill in a subfolder of my project isn't loaded
Antigravity looks in the folder you opened and its parents, not in folders below it. If you open the repository root, a .agents/ folder in packages/web/ isn't read. Open that folder as the workspace, or point a manifest at it.
My skills live somewhere else
Add a skills.json discovery manifest to .agents/ (or to ~/.gemini/config/ for all projects). Each entry is a folder to scan one level deep, or a single skill. include_only can name nested skills:
{
"entries": [
{ "path": "tools/agent-skills" },
{ "path": ".agents/skills", "include_only": ["database/migrate-schema"] }
]
}Relative paths start at the folder that contains .agents/. Antigravity doesn't expand ~, so write home-folder paths out in full. Wildcards aren't supported.
Two skills have the same name
Antigravity keeps one. Workspace skills beat your personal ~/.gemini/config/ skills, which beat built-in ones. In the CLI, skills in ~/.gemini/antigravity-cli/skills/ and ~/.gemini/skills/ beat all of them. Plugin skills don't clash because they carry the plugin name.
FAQ
Do I need to restart Antigravity after adding a skill?
No. It rereads skills before each turn. Only the CLI's slash-command list needs /skills reload.
What's the difference between a rule and a skill?
A rule is a short constraint the agent keeps in mind, such as "always use zod for validation". A skill is a procedure it loads when needed, such as "how to run database migrations", and you can run it as a slash command.
Can I use the same skills in Claude Code or Codex?
Antigravity follows the same open skill format, and the skills CLI can install one skill for several agents at once, for example with -a antigravity -a claude-code.
Sources
Commands and config above come from these official docs. Tools change often, so check them for the latest steps.
- Antigravity docs: Agent skills (format, locations per surface, slash commands)
- Antigravity docs: Customization discovery (scan depth, manifests, priority, checking what loaded)
- Antigravity docs: Learn command (/learn)
- Antigravity docs: Plugins (marketplace and agy plugin install)
- Antigravity docs: Get started (CLI install, setup import)
- skills CLI README (npx skills, Node.js 22.20+)
- skills CLI: supported agents (antigravity key and folders)
- google/skills README (install, Skill Finder, Antigravity CLI plugins)
PluginStack is independent and not affiliated with or endorsed by the companies mentioned. Spotted something out of date? Email pluginstackai@gmail.com.
Related guides
Tools in this guide
- Rules & Prompts · Google
Google Agent Skills
Google's official repository of Agent Skills for its products and technologies, mostly Google Cloud. Skills cover topics such as Cloud Run, GKE, BigQuery, Cloud SQL, Spanner, Firebase, Gemini APIs, IAM, Cloud Logging and Monitoring, Google Ads and Google Analytics APIs, plus Well-Architected Framework reviews. A Google Skill Finder skill loads the matching skill from Google's catalog only when a request needs it. The repo also bundles Google product plugins (skills plus MCP servers) for Claude Code and Codex. Skills use the open Agent Skills format. Apache-2.0 licensed.
- Rules & Prompts · Anthropic
Agent Skills (Anthropic)
Anthropic's public repository of Agent Skills: folders with a SKILL.md file (plus optional scripts and resources) that Claude loads when a task needs them. It includes example skills, the document skills behind Claude's file creation, a skill template and a copy of the Agent Skills spec (the open standard lives at agentskills.io). Many skills are Apache-2.0; the document skills are source-available, not open source.
- Rules & Prompts · Google (Android)
Android Skills
Google's official Agent Skills for Android development: SKILL.md instructions that ground coding agents in current Android guidance for tasks where Google's evaluations show LLMs underperform. Examples include migrating XML views to Jetpack Compose, upgrading to AGP 9, setting up Navigation 3, making an app edge-to-edge, auditing R8 configuration and fixing ANRs. They follow the open Agent Skills standard, so they work with Claude Code, Codex, Gemini/Antigravity and other agents that support skills. Apache-2.0.
Get new guides by email
New MCP servers and agent tools, checked by hand. Free, unsubscribe anytime.
Paid prompt and rules packs are on the packs page.