Skip to content
All docs

Antigravity Plugins and Skills: Differences, Packaging, and Validation

By Antigravity Skills editorial team · Last updated

In Antigravity, a skill is a folder with a SKILL.md file teaching one task workflow, while a plugin is a versioned directory defined by plugin.json that packages skills alongside optional MCP servers, custom agents, rules, and lifecycle hooks. Use a standalone skill for reusable instructions in one project or machine, and use a plugin when you need versioned distribution, single-unit toggling, or bundled tools and guardrails. Understanding how Antigravity skills and plugins work together also prevents layout mistakes that pass validation while leaving skills unloaded.

Independent unofficial guide. Documentation facts were checked November 28, 2026; CLI validation outputs were captured on macOS with agy 1.5.18 on November 28, 2026. This site is not affiliated with Google.

At a glance

From the Plugins docs, Build plugins docs, and Agent Skills docs (checked 2026-11-28).

AspectSkillPlugin
Core unitFolder with SKILL.mdVersioned folder with plugin.json
ContentsInstructions, optional scripts/referencesSkills, MCP servers, agents, rules, hooks
Workspace path.agents/skills/.agents/plugins/
Global path~/.gemini/config/skills/ (App/IDE); ~/.gemini/antigravity-cli/skills/ (CLI table)~/.gemini/config/plugins/ (Plugins docs/Codelab); ~/.gemini/antigravity-cli/plugins/ (Skills docs)
LifecycleCopy into workspace or global pathMarketplace, GitHub, or local path; toggle together

When to use a skill vs a plugin

Choose a standalone skill

"A skill is a folder containing a SKILL.md file with instructions that the agent can follow when working on specific tasks" (Agent Skills docs, checked 2026-11-28). Pick a standalone skill for a single workflow: "Each skill should do one thing well" and workspace skills are "scoped to a single project and committed to version control to share across your engineering team" (Agent Skills docs, checked 2026-11-28). See What are Antigravity skills and How to install skills.

Choose a plugin

"Plugins are namespaced bundles that can contain skills, agents, rules, MCP servers, and hooks as a single deployable unit" (Feature overview, checked 2026-11-28). The October 29, 2026 launch post notes that "a plugin packages up to five extensibility primitives that install, update, and toggle on or off together as a single unit" (Plugin Marketplace blog, published 2026-10-29, checked 2026-11-28). For instance, Google Cloud's November 3, 2026 google-cloud-developer post explains: "It bundles curated skills, intelligent routing rules, and the Developer Knowledge MCP server into a single portable package" (Google Cloud Blog, published 2026-11-03, checked 2026-11-28).

How skills fit inside a plugin

"A plugin is a directory containing a required manifest file (plugin.json) and optional files or subdirectories for documentation, visual assets, and customization components" (Build plugins docs, checked 2026-11-28). Put plugin.json at the plugin root or .antigravity-plugin/plugin.json (which takes precedence in multi-tool repos), and put each skill at skills/<skill-name>/SKILL.md with optional scripts/, references/, and assets/ folders, or declare extra paths via skills in plugin.json (Build plugins docs, checked 2026-11-28). At startup, "When you start a conversation, the agent sees a list of available skills with their names and descriptions" and the CLI exposes /skill-name (Agent Skills docs, checked 2026-11-28). See the SKILL.md format guide.

These minimal files passed agy plugin validate demo-plugin --strict on agy 1.5.18:

demo-plugin/plugin.json:

{
  "name": "demo-plugin",
  "version": "0.1.0",
  "description": "One skill packaged as a plugin."
}

demo-plugin/skills/changelog-writer/SKILL.md:

---
name: changelog-writer
description: Write a changelog entry from git commits. Use when the user asks for release notes.
---

1. Run git log since the last tag.
2. Group commits into Added, Changed, Fixed.
3. Write one line per change.

What agy plugin validate actually reports

"agy plugin validate reads your plugin with the same loader Antigravity uses and groups findings by severity" (Build plugins docs, checked 2026-11-28): errors exit non-zero, warnings fail only with --strict, and notes never fail.

On November 28, 2026, we ran agy --version (1.5.18) and agy plugin validate <dir> --strict on macOS across eight local folders derived from demo-plugin. We ran only agy plugin validate; we did not install, enable, disable, or uninstall any sample.

SampleSkillsExitChange from baselineOutput (--strict)
demo-plugin10Valid plugin.json + skills/changelog-writer/SKILL.md✔ Validation passed (note: no logo)
broken-pluginNone1Truncated JSON in plugin.json1 error: unexpected EOF. The loader skips this plugin
empty-dirNone1Empty folder, no plugin.json1 error: no plugin.json found at the plugin root or in .antigravity-plugin or .gemini-plugin
no-frontmatter01Plain-text SKILL.md, no ---1 error: no frontmatter, The loader skips this skill
no-description11SKILL.md omits description1 warning: no description: the model uses it to decide when to load the skill
unknown-field11plugin.json adds "foo": 11 warning: unknown field "foo" is ignored (did you mean "logo"?)
no-name11plugin.json is {}2 warnings: no name (plugin install refuses it), no version
wrong-folder00changelog-writer/SKILL.md at root, not skills/✔ Validation passed (note: no logo; no warning/error)

Verbatim baseline output:

$ agy plugin validate demo-plugin --strict
Validating demo-plugin (demo-plugin/plugin.json)

  · plugin.json: no logo: the plugin shows a generic icon. Add "logo": "assets/logo.svg" (a .png, .svg, .jpg, .jpeg or .webp file inside the plugin)

  skills 1 · agents 0 · rules 0 · hooks 0 · mcpServers 0 · sidecars 0

✔ Validation passed
exit code: 0

The wrong-folder trap: validation passes with 0 skills

In wrong-folder, the same plugin.json and SKILL.md sat at wrong-folder/changelog-writer/SKILL.md without a skills/ parent folder. Even under --strict, validation exited 0:

$ agy plugin validate wrong-folder --strict
Validating demo-plugin (wrong-folder/plugin.json)

  · plugin.json: no logo: the plugin shows a generic icon. Add "logo": "assets/logo.svg" (a .png, .svg, .jpg, .jpeg or .webp file inside the plugin)

  skills 0 · agents 0 · rules 0 · hooks 0 · mcpServers 0 · sidecars 0

✔ Validation passed
exit code: 0

No error or warning flags the misplaced folder; only skills 0 shows nothing was discovered. Always check the skills count rather than exit code 0 alone, and see Antigravity skills not working if a skill still does not load.

Fixing common validation failures

Errors (✗) skip the plugin or skill and exit 1: fix invalid JSON (broken-plugin), add plugin.json in the root, .antigravity-plugin, or .gemini-plugin (empty-dir), and start SKILL.md with --- frontmatter (no-frontmatter). Warnings (⚠) keep skills 1 in agy 1.5.18 but fail --strict: add description (no-description), remove unknown keys (unknown-field), and set name and version (no-name, where agy warns that the plugin is named after its folder and that plugin install refuses it).

Installing and managing plugins

The steps below come from official docs; we did not run install, enable, disable, or uninstall commands in our lab.

  • App and folders: Use Customizations in the Antigravity App for Marketplace and Installed plugins, where "Plugins that you install in the App also appear in the CLI" (Feature overview, checked 2026-11-28), or copy folders to .agents/plugins/ (workspace) or ~/.gemini/config/plugins/ (global) (Plugins docs, checked 2026-11-28).
  • CLI commands: Run /plugin interactively, or run agy plugin install, agy plugin list (--json), agy plugin enable, agy plugin disable ("Toggle a plugin without removing its files"), agy plugin uninstall ("Remove the plugin files and clean up configuration registries"), and agy plugin import (Plugins docs, checked 2026-11-28).
  • Credentials: With required variables, "installing the plugin via the CLI leaves it disabled until configured." With OAuth 2.0 and no required variables, "it installs in an enabled state and prompts you in the browser to complete sign-in when its MCP server connects." (Plugins docs, checked 2026-11-28).

Where official docs and agy 1.5.18 output diverge

  • Missing description: Agent Skills docs and Build plugins docs (checked 2026-11-28) mark description required, but agy 1.5.18 emits a ⚠ warning with skills 1 and fails only under --strict.
  • Manifest paths: Build plugins docs (checked 2026-11-28) name root plugin.json and .antigravity-plugin/plugin.json, while agy 1.5.18 (empty-dir) also mentions .gemini-plugin.
  • Component count: Plugins docs (checked 2026-11-28) say "A single plugin can bundle any combination of five customization components:", while agy 1.5.18 prints six counters including sidecars 0.
  • Global CLI paths: Plugins docs and Google Cloud Developer Codelab (checked 2026-11-28) state "Antigravity CLI installs plugins globally in the .gemini/config/plugins/ folder." Meanwhile, the CLI table in Agent Skills docs (checked 2026-11-28) lists ~/.gemini/antigravity-cli/plugins/ and ~/.gemini/antigravity-cli/skills/.
  • MCP config file: Build plugins docs (checked 2026-11-28) note .mcp.json and mcp.json are "Safely ignored by Antigravity because MCP servers load from mcp_config.json." Meanwhile, Google Cloud Medium and Google Cloud Developer Codelab (checked 2026-11-28) show mcp.json.
  • SKILL.md name: Agent Skills docs (checked 2026-11-28) mark name optional ("Defaults to the folder name if not provided."), while Build plugins docs (checked 2026-11-28) require name inside plugins to match the parent folder.

FAQ

Can an Antigravity plugin contain only one skill?

Yes. demo-plugin held only plugin.json and skills/changelog-writer/SKILL.md and exited 0 with skills 1 under agy plugin validate demo-plugin --strict on agy 1.5.18.

Why did agy plugin validate pass when my skill shows 0?

In wrong-folder on agy 1.5.18, placing changelog-writer/SKILL.md at the plugin root instead of under skills/ still exited 0 with skills 0. Move it into skills/ or declare the path in plugin.json.

Does a missing logo fail agy plugin validate --strict?

No. On agy 1.5.18, missing logo is a dot-prefixed note (·) that passes --strict, though logo is required for Marketplace publishing (Build plugins docs, checked 2026-11-28).

Do plugins installed in the Antigravity App appear in the CLI?

Yes. Official docs confirm that App-installed plugins also appear in the CLI (Feature overview, checked 2026-11-28).

Can I install individual skills from a plugin repo without the full plugin?

Some repos allow both; robotics-antigravity-plugin (checked 2026-11-28) documents agy plugin install https://github.com/google-deepmind/robotics-antigravity-plugin and npx skills add google-deepmind/robotics-antigravity-plugin.

Sources

Browse the skills library

Recently updated