SKILL.md for Antigravity: File Format, Frontmatter and Example
By Antigravity Skills editorial team · Last updated
SKILL.md for Antigravity is the manifest file that turns a folder of instructions into a skill: YAML frontmatter at the top (a name and a description), then plain Markdown instructions below it. Antigravity reads the description to decide when a skill applies, and loads the full file only when it does. This page covers the format, the folder layout, where to put the file, and a template you can copy.
This is an independent, unofficial guide. Facts about Antigravity were checked against the official Antigravity skills documentation on November 26, 2026. Anything the official page does not state is marked as not documented.
At a glance
| Question | Short answer |
|---|---|
| What is SKILL.md? | The required manifest file inside a skill folder: frontmatter plus Markdown instructions. |
| Required frontmatter | description (required). name is optional and defaults to the folder name. |
| Where does it go? | <workspace-root>/.agents/skills/<skill-folder>/SKILL.md for one project, or ~/.gemini/config/skills/<skill-folder>/SKILL.md for every project. |
| Optional folders | scripts/, examples/ and resources/ next to SKILL.md. |
| How is it triggered? | The agent matches your task against the description, or you type /<skill-name>. |
Source: Antigravity skills documentation, checked 2026-11-26.
What a SKILL.md file is in Antigravity
An Antigravity skill is a folder. The only required file in that folder is SKILL.md. Searches for "antigravity skill md", "antigravity skills md" and "antigravity skill.md" all point at this one file, so the rest of this page treats those spellings as the same thing.
The official documentation says every SKILL.md begins with YAML frontmatter that defines the skill's name and its triggering criteria, followed by the instructions themselves in Markdown. The frontmatter is the part the agent reads on every turn. The body is the part it reads only after deciding the skill is relevant. Keeping that split in mind is the key to writing a good file: the frontmatter is a label, the body is the manual.
If you want the broader picture first, read what Antigravity Skills are. If you only want to add an existing skill, go straight to how to install skills.
SKILL.md frontmatter fields
The official page documents two frontmatter fields:
| Field | Required | What it does |
|---|---|---|
name | No | A unique identifier in lowercase with hyphens for spaces. Defaults to the folder name if you leave it out. |
description | Yes | A clear statement of what the skill does and when to use it. This is what the agent sees when deciding whether to apply the skill. |
Source: Antigravity skills documentation, manifest format section, checked 2026-11-26.
Other frontmatter fields, and length limits for name or description, are not documented on that page. Some skills you find on GitHub use extra keys. Antigravity's own page does not promise they do anything, so treat them as decoration until the docs say otherwise.
How to write a description that triggers
The description does the work of routing. Three habits help:
- Write it in the third person: "Reviews pull requests for security problems", not "I review pull requests".
- Say both what the skill does and when to use it, using the words a person would actually type in a request.
- Keep one skill to one job. A description that tries to cover five jobs matches everything and helps nothing.
The official page gives the same advice: include trigger keywords so the agent can match your request to the skill.
Skill folder structure
The documentation describes a skill bundle with one required file and three optional folders:
my-skill/
SKILL.md required: frontmatter and instructions
scripts/ optional: executable scripts the skill can run
examples/ optional: reference implementations
resources/ optional: templates, schemas or data filesSource: Antigravity skills documentation, anatomy of a skill, checked 2026-11-26.
Folders named references/ or assets/, which appear in some other agent-skill formats, are not mentioned on the Antigravity page. If you want to ship them, link to them from SKILL.md by relative path and test that the agent can read them. Whether they are treated specially is not documented.
A practical rule: put anything the agent must always follow in SKILL.md, and put bulky material (long templates, sample output, data) in resources/ or examples/, referenced from the body. A short SKILL.md loads fast and leaves more context for your actual task.
Where Antigravity reads SKILL.md from
Antigravity looks for skills in two kinds of places: inside the workspace for project skills, and in a global folder for skills you want everywhere.
| Surface | Workspace location | Global location |
|---|---|---|
| Antigravity App | <workspace-root>/.agents/skills/<skill-folder>/ | ~/.gemini/config/skills/<skill-folder>/ |
| Antigravity CLI | Same workspace path | ~/.gemini/config/skills/<skill-folder>/, plus plugin skills under ~/.gemini/config/plugins/<plugin-folder>/skills/ |
| Antigravity IDE | Same workspace path | ~/.gemini/config/skills/<skill-folder>/ (the older ~/.gemini/antigravity/skills/ is also supported) |
Source: Antigravity skills documentation, skill locations, checked 2026-11-26.
Two details from the same page are easy to miss. First, the App also reads .agents/skills/ in each parent folder up to the repository root, so a skill placed at the repo root applies to every subfolder. Second, the folder name for project skills changed: Antigravity defaults to .agents/skills but keeps backward compatibility for the older .agent/skills. If you copy a skill from an older tutorial that uses .agent/skills, it should still be found, but new skills belong in .agents/skills.
The CLI also loads two extra global folders, ~/.gemini/antigravity-cli/skills/ and ~/.gemini/skills/, that the App does not read. Check which surface you actually use before choosing a path.
A SKILL.md example you can copy
This is our own template, not an official sample. It follows the documented format: frontmatter, then a short numbered checklist. Save it as .agents/skills/changelog-writer/SKILL.md in your project.
---
name: changelog-writer
description: Writes a user-facing changelog entry from recent git commits. Use when the user asks for release notes, a changelog, or "what changed" since the last tag.
---
# Changelog Writer
## Steps
1. Run `git log` from the last tag to HEAD and read the commit messages.
2. Group changes under Added, Changed and Fixed.
3. Write each item as one plain sentence a customer would understand.
4. Skip refactors and dependency bumps unless they change behavior.
## Output
Return Markdown with a version heading and the three groups. Do not invent changes that are not in the commits.Notice what the example does. The description names the job and the trigger phrases. The body is short, ordered and checkable. There is no extra frontmatter, because the official page documents only name and description.
How Antigravity uses your SKILL.md
The official page describes progressive disclosure in three steps:
1. Discovery: on every turn the agent sees a list of available skills with their names and descriptions. 2. Activation: if a skill looks relevant to the task, the agent reads the full SKILL.md. 3. Execution: the agent follows the skill's instructions while it works.
You can also call a skill by hand. In the App, type /<skill-name> in the message box. In the CLI, each skill becomes a slash command. After adding or editing a skill, the page says to run /skills reload or start a new conversation so the list refreshes.
Source: Antigravity skills documentation, how the agent uses skills, checked 2026-11-26.
This is why a vague description fails quietly. If the description does not match how you phrase the task, the agent never reads the body, and your carefully written steps are never used.
Common mistakes
- A skill folder with no
SKILL.md, or a file namedskill.mdorSkill.md. The documented name isSKILL.md; match the case exactly. - Putting the folder in the wrong place, such as
.agents/skill/instead of.agents/skills/. - Forgetting
/skills reloador a new conversation after adding a skill. - A description that only says what the skill is, with no "use when" trigger.
- Stuffing long reference material into SKILL.md instead of
resources/.
Where to find skills to copy
Reading finished skills is the fastest way to learn the format. Our find skills guide shows where to search, Antigravity Awesome Skills walks through a large GitHub collection, and Agent Skills on GitHub covers the official repositories. The skills directory lists the skills we have reviewed.
FAQ
What is SKILL.md in Antigravity?
SKILL.md is the required manifest file in an Antigravity skill folder. It has YAML frontmatter with a description (and an optional name), followed by Markdown instructions the agent follows once it decides the skill is relevant.
Where do I put SKILL.md so Antigravity can read it?
For one project, put it at <workspace-root>/.agents/skills/<skill-folder>/SKILL.md. For every project, put the folder under ~/.gemini/config/skills/. The older .agent/skills folder is still supported for backward compatibility.
Is the file called SKILL.md or skill.md?
The official documentation names it SKILL.md in capitals. People search for "antigravity skills.md" and "antigravity skill.md" too, but use the capitalized name in your folders to match the documented format.
Which frontmatter fields does Antigravity support?
The official page documents name, which is optional and defaults to the folder name, and description, which is required. Other fields and length limits are not documented there.
Does Antigravity need a restart after I add a skill?
The documentation says to run /skills reload or start a new conversation after adding a skill, so the agent sees the updated list.
Can I call a skill manually?
Yes. In the Antigravity App, type /<skill-name> in the message box. In the CLI, every skill becomes a slash command.
Sources
- Antigravity skills documentation, checked 2026-11-26