AI Memory

    by Maxx

    0

    Git-native long-term memory for AI agents to persist project architecture, module boundaries, and coding preferences.

    Free

    Security scanned

    Works with the AI Agents you already use

    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

    CategoryChange DescriptionTarget File
    Design DecisionSwitched from opaque tokens to stateless JWTs with RS256 signing for cross-service verification.projects/mercury-api/modules/auth-service.md
    API ContractAdded X-RateLimit-Remaining and X-Retry-After headers to all 429 responses.projects/mercury-api/modules/auth-service.md
    PitfallDo not use Date.now() for TTL calculations; use process.hrtime() to avoid clock drift issues.projects/mercury-api/modules/auth-service.md
    MetadataUpdated Last Verified date to 2024-05-20.projects/mercury-api/modules/auth-service.md

    Next steps

    1. Review the local changes in your memory repository using git diff.
    2. Run ./scripts/sync.sh to sync these decisions to your private Git remote.
    3. Call get_module_memory in 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

    1. Initialize: Call bootstrap or get_core_context to load existing project rules, module indices, and personal coding profiles.
    2. Context Retrieval: Use takeover or search_memory to find specific design decisions, API contracts, or related module relationships before writing code.
    3. Execution: Implement features while following the retrieved constraints and avoiding documented "hard-won pitfalls."
    4. Distill: Use the distill or remember commands to save new architectural decisions and update the Last Verified timestamps.

    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.md for 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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.jsGitPrint MCP

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    File Scopes

    RULES.md
    profile.md
    projects/**/*.md
    archive/**/*.md

    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.

    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill solves the "ephemeral context" problem by providing a Git-native Markdown layer where AI agents can store and retrieve architectural decisions, module boundaries, and coding preferences that usually get lost when a chat session ends.

    The skill is designed for any IDE-based agent that supports local tool execution, including Claude Code, Cursor, Windsurf, and VS Code Copilot, utilizing a local Node.js-based MCP server for structured access.

    Setup involves initializing a private Git repository for your memory files and connecting the provided Node.js MCP server to your agent's configuration to enable tool-based memory retrieval and distillation.

    For security, the skill includes a built-in "Secret Blocking" feature that automatically identifies and prevents API keys, tokens, and PII from being saved into your long-term memory store.

    Unlike static prompts, this skill acts as a dynamic database that automatically retrieves only relevant module relationships and "hard-won pitfalls" for the specific task at hand, reducing token noise and manual effort.

    You receive the complete MCP server implementation, a structured Markdown template system for organizing project hierarchy, and the specialized tool definitions that allow your agent to "distill" and "search" memory.

    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.

    Free