# Moth for Gemini CLI Requirement: Node.js with npm/npx available. Install the extension from a local path or GitHub URL: ```bash gemini extensions install ./integrations/gemini-cli gemini extensions install ``` MCP command: ```bash npx -y @stfade/moth moth-mcp ``` Manual settings fallback: ```json { "mcpServers": { "moth": { "command": "npx", "args": ["-y", "@stfade/moth", "moth-mcp"] } } } ``` Merge `settings.json` into your Gemini CLI settings if extension installation is not available or if workspace settings should override extension configuration. Verified memory lifecycle: ```txt Use analyze_error before fixing. Call remember_fix_result only after a fix was attempted, a verification command was run, and the result is clearly passed or failed. Never call remember_fix_result for suggestions only. ```