{
  "markdown": "# Engram Extension for Gemini CLI\n\nThis extension integrates [Engram](https://github.com/Gentleman-Programming/engram) with Gemini CLI to provide long-term persistent memory between sessions.\n\n## Features\n\n- **Persistent Memory:** Save discoveries, architectural decisions, and bug fixes.\n- **Session Context:** Automatically retrieves context from previous sessions at startup.\n- **Memory Protocol:** Built-in instructions (`GEMINI.md`) that guide the agent on what and when to save.\n- **Automated Hooks:** Startup and shutdown notifications to ensure memory hygiene.\n- **Custom Commands:** Directly interact with your memory from the CLI.\n\n## Requirements\n\n- [Engram](https://github.com/Gentleman-Programming/engram) must be installed on your system and available in your `PATH`.\n\n## Installation\n\nTo link this extension locally from the project root:\n\n```bash\ngemini extensions link .\n```\n\nor\n\n```bash\ngemini extensions install https://github.com/anthuanvasquez/gemini-cli-engram\n```\n\nTo uninstall this extension:\n\n```bash\ngemini extensions uninstall gemini-cli-engram\n```\n\n## Custom Commands\n\nOnce linked, you can use these commands directly in your terminal:\n\n- **`gemini mem:stats`**: Show general statistics of your Engram memory.\n- **`gemini mem:search \"query\"`**: Perform a full-text search across all your saved memories.\n- **`gemini mem:context [project]`**: Show the most recent context and summaries for a specific project.\n\n## How it Works\n\nWhen a session starts, the extension:\n1.  Activates the Engram MCP server.\n2.  Loads the memory protocol from `GEMINI.md`.\n3.  Executes a `SessionStart` hook that displays current Engram statistics.\n\nDuring the session, the agent will follow the rules defined in the protocol to save relevant information using `mem_save` and retrieve context using `mem_context`.\n\nAt the end of the session, the agent will be reminded to save a summary (`mem_session_summary`).\n",
  "bytes": 1917,
  "sha": "80e1a1695c7d42683839bdc9e05bd0a278136ab35ffadbb89e30ebeb0a29f77d",
  "repo_slug": "anthuanvasquez/gemini-cli-engram",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_anthuanvasquez_gemini_cli_engram_60701038/readme"
}