Description
Follow-up to #241. That issue moved Antigravity skills to .agents/skills, but as @MRDGH2821 pointed out, Antigravity also supports MCP, hooks, and several other customization types. Right now capa only wires up skills, AGENTS.md, and rules for the antigravity provider (src/shared/providers/entries/partial-integration.ts). This issue covers the rest.
Current state
| Feature |
Status in capa |
Skills (.agents/skills/) |
✅ Done (#241) |
Instructions (AGENTS.md) |
✅ Done |
Rules (.agents/rules/*.md) |
✅ Done |
MCP (.agents/mcp_config.json) |
❌ Held back: remote entries need serverUrl, not url |
Hooks (.agents/hooks.json) |
❌ An antigravity hook shape exists in hook-handlers.ts, but the provider entry has no hooks config |
| Workflows / slash commands |
❌ Not wired up |
| Sub-agents |
❌ Not wired up |
| Plugins |
❌ Not declared |
Scope
References
Description
Follow-up to #241. That issue moved Antigravity skills to
.agents/skills, but as @MRDGH2821 pointed out, Antigravity also supports MCP, hooks, and several other customization types. Right now capa only wires up skills,AGENTS.md, and rules for theantigravityprovider (src/shared/providers/entries/partial-integration.ts). This issue covers the rest.Current state
.agents/skills/)AGENTS.md).agents/rules/*.md).agents/mcp_config.json)serverUrl, noturl.agents/hooks.json)antigravityhook shape exists inhook-handlers.ts, but the provider entry has nohooksconfigScope
entryUrlKey: 'serverUrl'support toMcpIntegration(if it isn't there yet), then register capa in.agents/mcp_config.json(global:~/.gemini/config/mcp_config.json). Check that custom headers work.hooksintegration for.agents/hooks.json(global:~/.gemini/config/hooks.json). Docs list the eventsPreToolUse,PostToolUse,PreInvocation,PostInvocation, andStop. Matchers are regexes (""/"*"match everything) and only apply to the tool events. Check the top-level shape: the docs say the file maps hook names to event configs, which may not match the Claude-like shapebuildClaudeLikeEntrycurrently assumes.subagentsintegration if Antigravity has a file-based format.detectInstalledchecks the legacy.agent/dir. It should also check.agents/.docs/providers/antigravity.md, the matrix indocs/providers/README.md, andregistry.test.ts.antigravityout ofpartial-integration.tsinto its own entry file once it's fully supported.References