- Home
- Skills
- Agents & Orchestration
- AI Memory
AI Memory
by Maxx
Git-native long-term memory for AI agents to persist project architecture, module boundaries, and coding preferences.
Free
AI Memory
Example session with this skill installed
distill the decisions from this session for the auth-service module in the mercury-api project.
- Read your context and instructions
- Compiled the ai memory
I have extracted the durable design decisions and updated the long-term memory for the auth-service module. I filtered out the temporary debugging steps and focused on the finalized JWT rotation logic and the new rate-limiting headers.
Module Memory Update: auth-service
| Category | Change Description | Target File |
|---|---|---|
| Design Decision | Switched from opaque tokens to stateless JWTs with RS256 signing for cross-service verification. | projects/mercury-api/modules/auth-service.md |
| API Contract | Added X-RateLimit-Remaining and X-Retry-After headers to all 429 responses. | projects/mercury-api/modules/auth-service.md |
| Pitfall | Do not use Date.now() for TTL calculations; use process.hrtime() to avoid clock drift issues. | projects/mercury-api/modules/auth-service.md |
| Metadata | Updated Last Verified date to 2024-05-20. | projects/mercury-api/modules/auth-service.md |
Next steps
- Review the local changes in your memory repository using
git diff. - Run
./scripts/sync.shto sync these decisions to your private Git remote. - Call
get_module_memoryin your next session to verify the new constraints are active.
Connects securely to your tools. The creator never sees your data.
About this skill
Engineering knowledge often dies in ephemeral chat threads. AI coding agents lose context across sessions, leading to repeated mistakes, architectural drift, and manual re-explanation of preferences. This skill provides a durable, Git-native memory layer that persists across Claude Code, Cursor, and other IDE agents.
What it does
- Persistent Memory Management: Maintains a three-layer hierarchy of global preferences, project architectures, and module-specific design decisions.
- Context Bootstrapping: Rapidly loads architectural constraints and past pitfalls when starting a new task or taking over an existing module.
- Decision Distillation: Extracts durable conclusions from conversations while filtering out noise like temporary debug logs or trial-and-error drafts.
- Cross-Agent Sync: Uses a private Git-backed Markdown repository to share project context across different devices and AI tools.
- Secret Blocking: Automatically checks for and blocks API keys, tokens, and PII from being saved into the long-term memory store.
How it works
- Initialize: Call
bootstraporget_core_contextto load existing project rules, module indices, and personal coding profiles. - Context Retrieval: Use
takeoverorsearch_memoryto find specific design decisions, API contracts, or related module relationships before writing code. - Execution: Implement features while following the retrieved constraints and avoiding documented "hard-won pitfalls."
- Distill: Use the
distillorremembercommands to save new architectural decisions and update theLast Verifiedtimestamps.
Frameworks & tools
The system is built on local Markdown files and Git. It includes an optional local Node.js (>= 18.18) MCP server for structured tool access. It works with any IDE-based AI agent including Claude Code, Cursor, Windsurf, and VS Code Copilot.
Why this beats prompting it yourself
Manual prompting requires you to remember what to tell the AI every single time. This skill automates the retrieval of complex module relationships and past mistakes that you would otherwise forget to mention, ensuring the AI never makes the same error twice.
Use cases
- Module Handoff: Quickly onboard an AI agent to a legacy module by loading its specific constraints and external contracts.
- Architectural Alignment: Maintain consistency across a multi-repo project by sharing a single
overview.mdfor architectural conventions. - Pitfall Prevention: Document a specific bug-prone pattern once so the agent avoids it in all future sessions.
- Agent Switching: Move a task from Claude Code to Cursor without losing the high-level design decisions made in the previous chat.
Known limitations
Does not support automatic Git commits or pushes to the memory repository. Requires manual review of diffs and syncing via provided shell scripts.
Companion Local MCP Server
Includes setup instructions for the optional open-source AI-Memory local stdio MCP server and cross-platform Git sync scripts (MIT License, search MiaoBiao / AI-Memory on GitHub).
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Node.js
GitPrint MCP
Permissions
File Scopes
Read/Write Files is scoped strictly to Markdown files inside the user's local memory repository. Terminal/Shell is used only for read-only git status checks; no automatic git commit, git push, or network requests are ever executed.
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.