@nexus-catalyst/antigravity-plugin
v0.1.2
Published
Nexus-Catalyst memory hooks for Antigravity CLI
Readme
@nexus-catalyst/antigravity-plugin
Automatic memory for Antigravity. Nexus-Catalyst recalls relevant context before each prompt and stores each turn — no manual tool calls.
How it works
Antigravity supports hook-based context injection, so (like Claude Code) this plugin injects recalled memories directly rather than relying on the model to call MCP tools:
| Hook | Trigger | What it does |
|------|---------|--------------|
| pre-prompt | Before the model sees your prompt | Queries NC and injects an <nc-context> block |
| stop | After each turn completes | Sends the last prompt + response to NC for storage |
See _docs/antigravity-support.md.
Prerequisites
- Node.js 18+
- A Nexus-Catalyst account — sign up at nexus-catalyst.com
- A Plugin API key from app.nexus-catalyst.com → Account → API Keys
Install
npm install -g @nexus-catalyst/antigravity-plugin
nc-antigravity install
nc-antigravity set-key "nc_pk_live_..."Verify:
nc-antigravity statusCommands
nc-antigravity install Register NC hooks
nc-antigravity set-key Save your NC plugin key (shared across all NC plugins)
nc-antigravity uninstall Remove NC hooks (nothing else is touched)
nc-antigravity status Show installation state and API key statusConfiguration
One key works across all NC tool plugins. set-key writes it to
~/.nexus-catalyst/config.json; it can also be supplied via NC_PLUGIN_API_KEY.
NC_API_BASE_URL overrides the endpoint (default https://mcp.nexus-catalyst.com).
License
MIT — see LICENSE. Part of the Nexus-Catalyst/cli-hooks monorepo. The memory service requires an NC account.
