Skip to content
All docs

Antigravity Skills Not Working? Fix Loading and Trigger Issues

By Antigravity Skills editorial team · Last updated

When Antigravity skills are not working, the cause is usually one of two problems: Antigravity failed to discover SKILL.md due to its directory path, nesting depth, name collision, or YAML frontmatter syntax, or the agent skipped it because of how triggering, rules, or subagent contexts work. Most cases of an Antigravity skill not loading can be resolved by checking .agents/skills placement, quoting colons in description, running /skills reload in the CLI, or calling the skill directly with a slash command. Use the table and step-by-step checks below to diagnose issues across Antigravity App, CLI, and IDE.

This is an independent, unofficial guide and is not affiliated with Google or any third-party skill marketplace. Platform facts below were checked against official Google Antigravity documentation on November 26, 2026; anything not covered in official sources is omitted or marked unverified.

At a glance

SymptomCauseHow to fix
Skill never appears anywhereFolder sits outside scanned paths, or SKILL.md is not inside a subfolderMove to <workspace-root>/.agents/skills/<skill-folder>/SKILL.md or ~/.gemini/config/skills/<skill-folder>/SKILL.md
Works in CLI but not AppStored in ~/.gemini/antigravity-cli/skills/ or ~/.gemini/skills/ (CLI only)Move to ~/.gemini/config/skills/<skill-folder>/ or project .agents/skills/
Nested skill subfolder ignoredDiscovery scans only one folder level deep under skills/Flatten to one level or register nested paths in .agents/skills.json
Wrong copy of a skill runsDuplicate skill names exist; only one is kept and project overrides globalRename one skill or remove the shadowing copy
Unnamed skills collidePre-v2.34.0 bug caused skills without name to conflictUpdate to App v2.34.0+ or add an explicit name field in SKILL.md
Error mapping values are not allowed in this contextUnquoted colon inside YAML description:Quote the description value and update CLI to 1.5.x+
New skill missing in active CLIRunning CLI sessions do not auto-load newly added foldersRun /skills reload inside the active CLI session
Skill loads but never triggersAgent matches via name and description, or task needs a RuleCall /<skill-name>, add third-person keywords to description, or use Rules
Plugin skill ignores /<skill-name>Plugin skills are named <plugin>:<skill>Invoke /<plugin>:<skill> after checking agy plugin list --json
Subagent ignores main-chat skillSubagents start with blank context and do not inherit parent historyList the skill path or plugin in the subagent frontmatter (skills or plugins)

Step 1: Check skill directory locations

An Antigravity skill is a folder containing SKILL.md (with optional scripts/, examples/, resources/, or references/ subfolders), following the open standard at agentskills.io (checked 2026-11-26) as documented in the Skills docs (checked 2026-11-26) and Workflows migration guide (checked 2026-11-26). A loose Markdown file placed directly in skills/ will not load. For initial setup, see How to Install Skills in Antigravity, Claude Code and Codex and Antigravity Skills: The Ultimate Guide to AI Agent Skills.

Project, global, and CLI-only paths

Each Antigravity surface scans specific folders (Skills docs, checked 2026-11-26):

Scope or surfaceScanned directoryNotes
Project (App, CLI, IDE)<workspace-root>/.agents/skills/<skill-folder>/Also checks parent .agents/skills/ folders up to repo root
Legacy project folder<workspace-root>/.agent/skills/<skill-folder>/Backward compatibility for singular .agent/skills still works
Global (App, CLI, IDE)~/.gemini/config/skills/<skill-folder>/Shared user-level path across App and CLI
CLI plugins~/.gemini/config/plugins/<plugin-folder>/skills/Used for plugin-installed skills
CLI-only extra folders~/.gemini/antigravity-cli/skills/ and ~/.gemini/skills/Scanned by CLI only; Antigravity App ignores both
Legacy IDE path~/.gemini/antigravity/skills/Supported by Antigravity IDE

1. Confirm your workspace uses .agents/skills/<skill-folder>/SKILL.md (singular .agent/skills remains backward-compatible, though .agents/skills is the default, per Skills docs, checked 2026-11-26). 2. If an Antigravity skill is not loading in App while working in CLI, move it out of ~/.gemini/antigravity-cli/skills/ or ~/.gemini/skills/ into ~/.gemini/config/skills/ or project .agents/skills/ (Skills docs, checked 2026-11-26). 3. Note that agy has no single-skill install command; install skills as plugins via agy plugin install or copy the folder manually (Skills docs, checked 2026-11-26).

Fix one-level scan depth limits

Antigravity scans only one level deep inside skills/ (Customization Discovery, checked 2026-11-26). Grouping skills in category subfolders hides them.

# Ignored (two levels deep)
.agents/skills/backend/sql-review/SKILL.md

# Discovered (one level deep)
.agents/skills/sql-review/SKILL.md

1. Flatten nested directories so each <skill-folder>/SKILL.md sits directly under skills/. 2. To keep nested paths, register them in a manifest file such as .agents/skills.json (Customization Discovery, checked 2026-11-26).

Step 2: Resolve name collisions and missing names

1. Check duplicate names across scopes: when multiple skills share a name, Antigravity keeps only one, with project skills overriding global and built-in skills (Customization Discovery, checked 2026-11-26). Check project .agents/skills/ and parent repo directories if edits in ~/.gemini/config/skills/ appear ignored. 2. Fix missing name collisions: name in SKILL.md is optional and defaults to the folder name (Skills docs, checked 2026-11-26). Before App v2.34.0, skills without name collided with one another; v2.34.0 fixed this fallback (Skills docs, checked 2026-11-26; Changelog, checked 2026-11-26). Update to v2.34.0+ or add an explicit name: line (see SKILL.md for Antigravity: Format, Frontmatter, Example).

Step 3: Fix YAML frontmatter and description errors

Official SKILL.md frontmatter defines only name (optional) and description (required), with no model, tools, or effort fields (Skills docs, checked 2026-11-26).

Quote colons in description

An unquoted colon in description: causes the skill to fail loading with mapping values are not allowed in this context (Changelog, checked 2026-11-26). Antigravity CLI 1.5.x fixed this parser bug (Changelog, checked 2026-11-26), yet quoting descriptions prevents parse errors across every version.

# Broken: fails with "mapping values are not allowed in this context"
---
name: release-notes
description: Generates notes: formats changelog entries
---

# Fixed: wrap description in double quotes
---
name: release-notes
description: "Generates notes: formats changelog entries."
---

1. Confirm description is present and non-empty. 2. Wrap any description containing a colon in double quotes and upgrade CLI to 1.5.x+. 3. Write description in third person with task keywords, since the agent only sees name and description on each turn when deciding whether to read SKILL.md (Skills docs, checked 2026-11-26).

Step 4: Reload CLI and invoke skills explicitly

1. Run /skills reload: after adding a skill during a running CLI session, run /skills reload so CLI rescans skill folders (Skills docs, checked 2026-11-26). 2. Call /<skill-name>: in App, mention the skill or type /<skill-name>; CLI automatically converts each skill into a /<skill-name> slash command (Skills docs, checked 2026-11-26). 3. Use <plugin>:<skill> for plugins: plugin-installed skills use the <plugin>:<skill> name format (Customization Discovery, checked 2026-11-26). Run agy plugin list --json to verify the plugin name, then call /<plugin>:<skill> (Skills docs, checked 2026-11-26). 4. Do not package legacy workflows in plugins: plugins do not load commands/ folders or legacy workflows/ Markdown files (Changelog, checked 2026-11-26). See Antigravity Workflows Guide for migration options.

Step 5: Separate Skills from Rules

Official docs draw a clear split: write a rule for constraints and invariants, and write a skill for multi-step workflows (Rules docs, checked 2026-11-26).

1. Move always-on constraints into AGENTS.md or GEMINI.md (always active, no frontmatter), or into .agents/rules/<name>.md and ~/.gemini/config/rules/<name>.md (Rules docs, checked 2026-11-26). 2. Keep rules/ one level deep with a valid trigger (always_on, model_decision, glob, or manual); missing or mistyped values like alwaysOn cause Antigravity to silently discard the rule (Rules docs, checked 2026-11-26). 3. User and workspace rules have a separate 20,000-token budget so large rule sets do not crowd out skills (Changelog, checked 2026-11-26).

Step 6: Declare skills in custom subagent frontmatter

Custom subagents live in .agents/agents/<name>.md (or <name>/agent.md), ~/.gemini/config/agents/, or plugins/<name>/agents/ (Subagents docs, checked 2026-11-26). Because a subagent does not inherit the parent's existing conversation history and starts with a blank context, any skill it needs must be listed in its own frontmatter under skills (for example, skills/my-helper-skill) or plugins (Subagents docs, checked 2026-11-26).

---
name: release-reviewer
description: Reviews release PRs and validates changelog entries.
model: inherit
skills:
  - skills/release-notes
---

1. Add required skill paths under skills or plugin names under plugins in the subagent file. 2. Check spelling in tools, since mistyped tool names can make a subagent get stuck (Subagents docs, checked 2026-11-26).

FAQ

Does Antigravity still support .agent/skills instead of .agents/skills?

Yes. Antigravity defaults to .agents/skills and maintains backward compatibility for singular .agent/skills (Skills docs, checked 2026-11-26).

Why does my skill load in CLI but not in App?

Antigravity CLI scans ~/.gemini/antigravity-cli/skills/ and ~/.gemini/skills/, which App does not read (Skills docs, checked 2026-11-26). Move the skill to ~/.gemini/config/skills/ or project .agents/skills/.

What causes "mapping values are not allowed in this context"?

An unquoted colon in SKILL.md description: triggers that YAML error (Changelog, checked 2026-11-26). Wrap the description in double quotes and upgrade CLI to 1.5.x+.

How do I load a skill added during an active CLI session?

Run /skills reload inside the running CLI session so Antigravity rescans skill directories (Skills docs, checked 2026-11-26). Then call it directly with /<skill-name>.

Why does a plugin skill ignore /<skill-name>?

Plugin skills use <plugin>:<skill> naming (Customization Discovery, checked 2026-11-26). Check the plugin name via agy plugin list --json and invoke /<plugin>:<skill>.

Why do custom subagents ignore skills used in the main chat?

Subagents start from a blank context and do not inherit parent conversation history (Subagents docs, checked 2026-11-26). List the needed skill paths in skills or plugins in plugins inside the subagent frontmatter.

Sources

Browse the skills library

Recently updated