memory-extension
Use this skill to store the chat history to MongoDB
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Use this skill to store the chat history to MongoDB
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
This skill helps to navigate tools available on MongoDB MCP Server.
This skill integrates the Gemini CLI with MongoDB Atlas and Google Cloud Application Design Center (ADC) to automate performance tuning, schema validation, and infrastructure scaling directly from your terminal.
| name | Memory Extension |
| description | Use this skill to store the chat history to MongoDB |
This extension provides a persistent memory layer for the Gemini CLI using MongoDB Atlas. It enables the AI to "remember" previous interactions, user preferences, and project-specific context across different terminal sessions.
store_memorySaves a specific fact or interaction to the long-term database.
fact (string), category (string: 'preference', 'project', 'snippet')recall_contextSearches the database for information relevant to the current prompt.
query (string)$vectorSearch against the memory collection.clear_sessionWipes the short-term memory for the current session ID.
Add your MongoDB connection string to your environment variables:
The MONGODB_URI value will be read from the mongo.config.json file.
EXPORT MONGODB_URI="mongodb+srv://<user>:<password>@cluster.mongodb.net/gemini_memory"
EXPORT VECTOR_INDEX_NAME="vector_index"