# How to create Antigravity skills (workspace and global paths)

Canonical: https://clawdocx.com/docs/antigravity-create-skills
Author: Theo Marsh
Difficulty: BEGINNER
Published: 2026-02-24
Updated: 2026-11-11

> An Antigravity skill is a folder with a SKILL.md. Where it goes in a workspace, the global path all three surfaces share, and the one field you must set.

An Antigravity skill is a folder containing a `SKILL.md` file, and creating one is mostly a question of which folder. For a single project, put it in `<workspace-root>/.agents/skills/<skill-folder>/`, which every surface finds; for a skill you want in every project, all three surfaces read `~/.gemini/config/skills/`, and the CLI reads two further locations on top of that. Inside the file, only `description` is required.

If you are here because you have workflows to move, skip to the migration section. Workflows are deprecated, but the documentation says they keep working for now and names no cut-off date.

## What is a skill, in Antigravity's terms?

A skill is a folder with instructions the agent follows for a specific task. `SKILL.md` is the only required file in it, and three optional subdirectories have conventional meanings:

```text
my-skill/
├── SKILL.md      # required: instructions and metadata
├── scripts/      # optional: executable scripts
├── examples/     # optional: reference implementations
└── resources/    # optional: templates, schemas or data files
```

The documentation describes loading in three stages, and the first one is why the description matters more than anything else you write. On every turn the agent sees only each skill's name and description. If a skill looks relevant it then reads the full `SKILL.md`, and only then does it follow the instructions. A skill with a vague description is a skill that never reaches stage two.

## Which fields does SKILL.md require?

Two fields are documented, and only one of them is required.

| Field | Required | What it is for |
|---|---|---|
| `description` | Yes | "A clear description of what the skill does and when to use it." This is what the agent uses to decide whether to apply the skill |
| `name` | No | "A unique identifier for the skill (lowercase, hyphens for spaces)." Defaults to the folder name when omitted |

That is the whole contract. Anything else in your frontmatter is not something the documentation asks for, and the body below the frontmatter is ordinary Markdown that the agent reads as instructions.

The practical consequence of `name` defaulting to the folder name is that your folder name is your slash command. Name the folder for the task, in lowercase with hyphens, and you can leave `name` out entirely.

## Where does the file go?

The workspace path is the same everywhere, and so is the global path the documentation leads with. The detail that costs people an afternoon is that the CLI reads extra locations the App ignores.

| Surface | Workspace path | Global path | Manual invocation |
|---|---|---|---|
| Antigravity App (2.0) | `<workspace-root>/.agents/skills/<skill-folder>/` | `~/.gemini/config/skills/<skill-folder>/` | `/<skill-name>` in the message box |
| Antigravity IDE | `<workspace-root>/.agents/skills/<skill-folder>/` | `~/.gemini/config/skills/<skill-folder>/` | Not documented; autonomous use and the Customizations menu |
| Antigravity CLI | `<workspace-root>/.agents/skills/<skill-folder>/` | `~/.gemini/config/skills/<skill-folder>/`, shared with the App | Each skill becomes a slash command in the interactive TUI |

Three footnotes on that table, each taken from the documentation rather than inferred:

- **All three surfaces share `~/.gemini/config/skills/`.** The CLI additionally loads skills from `~/.gemini/antigravity-cli/skills/` and `~/.gemini/skills/`, which the documentation says the Antigravity App does not read, so a skill in either of those is a CLI-only skill. The IDE additionally still supports a legacy `~/.gemini/antigravity/skills/` path.
- **The folder name is `.agents`, with an s.** Antigravity defaults to `.agents/skills` and still supports `.agent/skills` for backward compatibility. If a skill is not loading, that missing letter is the first thing to check.
- **Workspace skills are inherited up the tree.** Antigravity also reads `.agents/skills/` in each parent folder up to the repository root.
- **Plugins bring their own skills**, which the CLI loads from `~/.gemini/config/plugins/<plugin-folder>/skills/`.

In the Antigravity IDE you can inspect all active skills from the **Customizations** menu in the agent side panel. That is the fastest way to tell "my skill is not loading" from "my skill is loading and being ignored", and the two have completely different fixes. The documentation describes no equivalent for the App; for the CLI it points instead to its own Customization discovery page for checking what Antigravity loaded.

If you juggle more than one agent, the folder conventions differ per tool rather than per spec, and our guide to [where agent skills go](/docs/agent-skills-where-skills-go) lays out `.agents/skills`, `.claude/skills` and `.github/skills` side by side.

## A complete example skill

Here is a full skill you can create in two commands. It uses nothing but the free surface, and it leaves `name` out to show the folder-name default working.

```bash
mkdir -p .agents/skills/changelog-entry
```

Then write `.agents/skills/changelog-entry/SKILL.md`:

```markdown
---
description: Writes a changelog entry for a merged change, in Keep a Changelog style. Use when asked to add a changelog entry, to update CHANGELOG.md, or after a pull request is merged.
---

# Changelog entry

Write one entry describing a change from the reader's point of view, not the diff's.

## Steps

1. Read the change. Prefer the pull request title and body over the commit list.
2. Pick exactly one category: Added, Changed, Deprecated, Removed, Fixed or Security.
3. Write one sentence, present tense, starting with a verb. Name the user-visible effect.
4. If the change alters existing behaviour, say what the old behaviour was.
5. Add it under the `## [Unreleased]` heading in CHANGELOG.md, under its category,
   creating the category heading only if it is missing.

## Rules

- One entry per change. Split anything that needs the word "and" twice.
- No issue numbers in the sentence itself. Put them in parentheses at the end.
- Never invent a version number or a release date.

## Example

Added: `--dry-run` previews an update without installing it (#412).
```

That is the whole skill. Because the folder is `changelog-entry`, the skill is named `changelog-entry`, so in the app you can call it directly with `/changelog-entry`, and in the CLI's interactive TUI it appears as `/changelog-entry` too.

Notice what the description does. It says what the skill produces and then lists three situations that should trigger it, including phrasings a person would actually type. That is the part the agent sees before it has read anything else.

## How do you write a skill the agent actually picks?

The documentation's own best practices are short, and three of them are worth repeating because they are about restraint rather than technique:

- **Keep each skill focused on one task.** A skill that does three things has a description that matches none of them well.
- **Write specific descriptions.** This is the only text the agent uses at discovery time.
- **Have the agent run scripts with `--help` rather than reading their source.** A script's source in context is tokens spent on something its usage line already says.
- **For a complex skill, include a decision tree**, so the agent picks a branch instead of reading the whole file as one set of instructions.

On size the migration guide is explicit: legacy workflows carried a 12,000-character file-size limit, and it lists skills as an "Unrestricted bundle" with a modular multi-file architecture instead. That is not a licence to write a long one. Progressive disclosure means the body is loaded in full the moment the skill activates, so length costs you context on every use.

## What about workflows? They are deprecated but still work

If you have existing workflows, nothing breaks today. The migration guide states that "Workflows are deprecated, and a new workflows system is on the way", and that "Your current workflows keep working for now". Asked directly whether workflows stop working immediately, its FAQ answers "No", and says you can keep using them or migrate them to skills in the meantime. The page names no cut-off date, so this is a retirement of the current implementation rather than the end of the idea, and migration is planned work rather than an emergency.

The automatic route is one command, and it is App-only: the documentation says `/migrate-workflows` is available only in the Antigravity App 2.12.0 and later, not in the Antigravity CLI or the Antigravity IDE.

```text
/migrate-workflows
```

The agent scans both the global `~/.gemini/config/workflows/` and workspace `.agents/workflows/` directories, parses each workflow's frontmatter and body, scaffolds `.agents/skills/<workflow-name>/SKILL.md`, archives each original by appending `.bak`, and activates the new skills immediately. The `.bak` rename is the part to appreciate: nothing is deleted, so you can compare the two afterwards.

By hand, for a single workflow, the documented steps are:

```bash
mkdir -p .agents/skills/deploy-staging
mv .agents/workflows/deploy-staging.md .agents/skills/deploy-staging/SKILL.md
```

Then make sure the new `SKILL.md` starts with `name` and `description` YAML frontmatter, optionally move scripts and reference files into subdirectories such as `scripts/` and `references/`, and test it by typing `/deploy-staging` in the app. The two vendor pages name different folders for the same job: `references/` is what the migration page uses for reference files, while the skills page lists `resources/` for templates, schemas and data files. Both pages treat these subdirectories as optional conventions rather than requirements, and your `SKILL.md` is where you tell the agent which files to read, so pick one and name it there. For a global workflow the destination is `~/.gemini/config/skills/deploy-staging` instead.

The path change in table form, which is the whole migration:

| Scope | Old path | New path |
|---|---|---|
| Workspace | `.agents/workflows/<name>.md` | `.agents/skills/<name>/SKILL.md` |
| Global | `~/.gemini/config/workflows/<name>.md` | `~/.gemini/config/skills/<name>/SKILL.md` |

One ordering rule worth knowing before you migrate a name twice: the migration guide says skills take precedence over legacy workflows, so if both `.agents/skills/deploy/` and `.agents/workflows/deploy.md` exist, Antigravity runs the skill.

If you came to Antigravity from Gemini CLI, our [Gemini CLI to Antigravity CLI migration guide](/docs/antigravity-migrate-from-gemini-cli) covers moving skills and MCP configuration across at the same time.

## When should a skill be a plugin instead?

A plugin is a container. The documentation describes plugins as packaging "reusable skills, Model Context Protocol (MCP) servers, custom agents and subagents, rules, and lifecycle hooks into a single versioned unit". Skills are one optional part of it, and a plugin's skills sit at `plugins/<plugin-name>/skills/<skill-name>/SKILL.md`.

Only `plugin.json` is required, and the published schema lists exactly one required field inside it, `name`. Adding the schema URL and a description makes a practical starting point:

```json
{
  "$schema": "https://antigravity.google/schemas/v1/plugin.json",
  "name": "my-custom-plugin",
  "description": "A brief description of what my plugin does."
}
```

`name` is a lowercase kebab-case identifier and must match `^[a-z0-9]+(-[a-z0-9]+)*$`. The field reference marks it required for `agy plugin validate --strict`, `agy plugin install` and the Marketplace, and says it "defaults to the folder name when loaded from a local directory without a `name`". Setting `$schema` turns on editor autocomplete and validation, and the schema sets `additionalProperties` to `false`, so a key the schema does not list is a key you cannot add.

So the rule of thumb is distribution. One skill for yourself or your repository is a folder in `.agents/skills/`. A set of skills you want to hand to other people, or that needs an MCP server or a hook beside it, is a plugin. On the CLI, plugins install from the official marketplace, a GitHub repository URL or a local directory, and a bare plugin name defaults to `<plugin-name>@antigravity-plugins-official`:

```bash
agy plugin install <plugin-name>@antigravity-plugins-official
agy plugin install <plugin-name>
agy plugin install https://github.com/<owner>/<repo>
agy plugin install </path/to/local/plugin>
agy plugin list --json
```

Installing somebody else's plugin means running somebody else's instructions, and a skill is instructions the agent follows without asking. ClawDocx does not vet, endorse or certify any third-party skill or plugin, including anything on an official marketplace. Read [how to audit a SKILL.md](/docs/skill-security-audit) and apply it to each skill a plugin brings with it before you install. There is a dedicated validate command, and it is worth running on anything you did not write yourself: `agy plugin validate ./my-plugin` checks `plugin.json`, component frontmatter, MCP server and hook configuration and logo paths, and `--strict` treats warnings as errors. It validates shape, not intent, so it tells you nothing about what the instructions inside the skills actually do.

## Where to go next

The [Antigravity hub](/ai-agents/antigravity) carries the platform facts we keep verified, including the surfaces and what each one costs. For the folder conventions across every agent that reads the Agent Skills format, [where agent skills go](/docs/agent-skills-where-skills-go) is the companion to this page.

## What we could not confirm

The paths, fields and commands above are quoted from Antigravity's own documentation, read on 9 November 2026. We did not run them: this guide is documentation-grounded rather than a hands-on test, so if a path on your machine differs from the table above, trust your machine over this page. In the IDE, the Customizations menu is the documented way to see what actually loaded.

`verifiedVersion` here names Antigravity App v2.29.1, the release we checked these paths and fields against. The changelog dates it 7 November 2026 and does not mark it as the latest release: it dates both v2.30.0 and v2.31.0 9 November 2026, and as of 11 November 2026 it marks v2.31.0 as the latest. We have not re-checked the paths and fields above against those two releases. The skills documentation itself carries no version number, so we cannot say which release each documented path first applied to.

## Frequently asked questions

**Where do you put an Antigravity skill?**

For one project, put it in `<workspace-root>/.agents/skills/<skill-folder>/`, which is the same path on the app, the IDE and the CLI. For a skill you want everywhere, all three surfaces read `~/.gemini/config/skills/<skill-folder>/`. The CLI additionally loads skills from `~/.gemini/antigravity-cli/skills/` and `~/.gemini/skills/`, which the documentation says the Antigravity App does not read.

**What does a SKILL.md actually need?**

One field. The documentation marks `description` as required and `name` as optional, and says `name` defaults to the folder name when you leave it out. The description is what the agent reads when deciding whether your skill is relevant, so it is the field worth spending time on rather than the one to fill in quickly.

**How do you run a skill by name instead of waiting for the agent to pick it?**

In the Antigravity App, type `/<skill-name>` in the message box. In the CLI, each skill becomes a slash command in the interactive TUI, so a skill named `deploy-staging` is available as `/deploy-staging`; if you add a skill while the CLI is running, the documentation says to run `/skills reload` or start a new conversation. The IDE documentation describes autonomous use and the Customizations menu rather than a manual slash command.

**Are Antigravity workflows going away?**

They are deprecated, but not yet gone. The migration guide says "Workflows are deprecated, and a new workflows system is on the way" and that "Your current workflows keep working for now", and its FAQ answers "Will my workflows stop working immediately?" with "No." The page names no cut-off date. You can migrate whenever you like by running `/migrate-workflows` in the Antigravity App 2.12.0 or later, which converts each workflow into a skill and appends `.bak` to the original file.

**Can a plugin ship skills?**

Yes. A plugin is a container that bundles skills alongside subagents, rules, MCP servers and hooks, and its skills live at `plugins/<plugin-name>/skills/<skill-name>/SKILL.md`. Only `plugin.json` is required in a plugin. On the CLI, `agy plugin list --json` reports a plugin's skills in a `skills` array.

## Sources

- [Antigravity docs: Skills](https://antigravity.google/docs/skills/)
- [Antigravity docs: Plugins](https://antigravity.google/docs/plugins/)
- [Antigravity docs: Migrating workflows to skills](https://antigravity.google/docs/migration/workflows-to-skills/)
- [Antigravity docs: Build plugins](https://antigravity.google/docs/build-plugins)
- [Antigravity docs: Changelog](https://antigravity.google/docs/changelog)