fix(antigravity-plugin): fix install commands to include skills and scripts (#5282)

This commit is contained in:
Kartik
2026-05-28 13:28:13 +05:30
committed by GitHub
parent eaca45dcdb
commit e83297f150
9 changed files with 27 additions and 79 deletions
+13 -32
View File
@@ -24,45 +24,26 @@ echo 'export MEM0_API_KEY="m0-your-api-key"' >> ~/.bashrc && source ~/.bashrc
## Installation
**Option A — degit** (one command, no clone needed):
**Option A — degit** (recommended):
```bash
npx degit mem0ai/mem0/mem0-plugin/.antigravity ~/.gemini/config/plugins/mem0
# 1. Install the plugin (MCP server, hooks, scripts)
npx degit mem0ai/mem0/mem0-plugin ~/.gemini/config/plugins/mem0
# 2. Link skills into Gemini CLI's discovery path
mkdir -p ~/.gemini/skills
ln -sf ~/.gemini/config/plugins/mem0/skills/* ~/.gemini/skills/
```
**Option B — agy CLI** (if you have the repo cloned):
```bash
agy plugin install /path/to/mem0/mem0-plugin/.antigravity
```
**Option C — MCP only** (no hooks or skills):
Create `~/.gemini/config/plugins/mem0/plugin.json`:
```json
{
"name": "mem0",
"mcpServers": {
"mem0": {
"serverUrl": "https://mcp.mem0.ai/mcp/",
"headers": { "Authorization": "Token ${MEM0_API_KEY}" }
}
}
}
```
Restart Antigravity. The full plugin auto-registers the MCP server, lifecycle hooks, scripts, and all `/mem0:` skills. It reads `MEM0_API_KEY` from your environment automatically — no extra config needed.
Step 1 installs the MCP server, lifecycle hooks, and shared scripts. Step 2 links the 16 skills into `~/.gemini/skills/` where Gemini CLI discovers them.
## What's Included
| Component | Full Plugin (A/B) | MCP Only (C) |
|-----------|:-----------------:|:------------:|
| MCP Server (9 memory tools) | Yes | Yes |
| Lifecycle Hooks | Yes | No |
| 16 Slash Commands | Yes | No |
| Component | Included |
|-----------|:--------:|
| MCP Server (9 memory tools) | Yes |
| Lifecycle Hooks | Yes |
| 16 Slash Commands | Yes |
## Available MCP Tools
-4
View File
@@ -67,10 +67,6 @@ If you only need the memory tools without hooks or skills, add this to your `ope
}
```
<Info icon="check">
Start a new OpenCode session and ask: *"Search my memories for hello"*. If the `mem0` tools appear and respond, you're all set.
</Info>
## What's Included
| Component | Plugin (A) | MCP Only (B) |