memory-extension
Use this skill to store the chat history to MongoDB
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use this skill to store the chat history to MongoDB
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
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"