mnemon icon indicating copy to clipboard operation
mnemon copied to clipboard

Add Antigravity integration (App + CLI)

Open LittleNightmare opened this issue 3 days ago • 0 comments

Problem Mnemon doesn't support Google Antigravity yet. Antigravity App and CLI (agy) share the same customization layout, and neither has persistent cross-session memory. The current workaround is manually copying SKILL.md into ~/.gemini/config/skills/mnemon/, but it's skill-only — no automatic recall or writeback.

Proposed solution Add mnemon setup --target antigravity that installs:

  • Skill: ~/.gemini/config/skills/mnemon/SKILL.md (or <workspace>/.agents/skills/mnemon/SKILL.md)
  • Hooks: ~/.gemini/config/hooks.json (or <workspace>/.agents/hooks.json), with SessionStart → prime, PreInvocation → remind, Stop → nudge

These paths are shared by both App and CLI, so one target covers both. Antigravity hooks use JSON on stdin with camelCase fields and injectSteps output, so the existing Claude Code hooks need small wrappers.

Alternatives considered

Manual skill install works but isn't automatic. MCP isn't available yet — mnemon mcp serve is still an open proposal (#124).

Additional context

  • Docs: customization discovery, skills, hooks
  • Confirmed on agy 1.5.18 (Windows). Reference implementations: internal/memory/setup/minimax.go, internal/memory/setup/claude.go.

LittleNightmare avatar Nov 29 '26 09:11 LittleNightmare