More screenshots

    Works with the AI Agents you already use

    Agent Memory — Long-Term Memory for AI Agents

    by Li Tieniu

    1

    Durable, inspectable memory for AI agents. Append-only facts, a human-editable MEMORY.md, and BM25 recall with no vector database — so your agent remembers preferences, conventions, and decisions between sessions.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Agent Memory — Long-Term Memory for AI Agents

    Agent Memory — Long-Term Memory for AI Agents

    Example session with this skill installed

    Our project uses pnpm, not npm. Please remember that for all future commands and update the memory.

    • Read your context and instructions
    • Compiled the agent memory

    I have updated the project memory to reflect the preference for pnpm. This change has been recorded as a keyed fact to prevent future conflicts with npm-related instructions.

    Memory Update Log

    ActionKeyValueScopeConfidence
    UPDATEpkg.managerUse pnpm; package-lock.json is not maintained.project1.0
    ARCHIVEpkg.managerUse npm for package management.project1.0

    Next steps

    1. Run python scripts/memory.py recall "package manager" to verify the active fact.
    2. Check MEMORY.md to see the updated status in the rendered view.
    3. Run python scripts/memory.py stats to confirm the old fact was successfully archived.
    package-lock.json

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Agents lose context the moment a session ends or a context window overflows. Standard RAG is often too heavy for simple project preferences, while basic prompting leads to "hallucinated" memories that you cannot audit or fix.

    This skill provides a durable, file-based memory system that stores facts as plain text. It uses an append-only architecture to ensure every change is traceable, providing a human-readable MEMORY.md file that allows you to manually override agent inferences.

    What it does

    • Persistent storage saves project conventions, user preferences, and technical decisions across restarts.
    • Hybrid recall uses BM25 retrieval to pull relevant facts into the prompt without heavy vector database overhead.
    • Manual overrides allow humans to edit a specific section of the memory file that the agent can read but never overwrite.
    • Session compaction manages long-running conversations by summarizing goals and decisions before hitting context limits.
    • Conflict resolution uses a keyed system to ensure new facts supersede old ones rather than creating contradictory duplicates.

    How it works

    1. Initialize the system to create the local file structure and the human-readable view.
    2. Recall previous context at the start of a task or when the user references past decisions.
    3. Record new stable conclusions using the add or update commands after a preference is confirmed.
    4. Rebuild the store after manual edits to the Markdown file to synchronize the agent's internal state.

    Why this beats prompting it yourself

    Generic "remember this" prompts are volatile and easily ignored by the model over time. This skill enforces a strict write discipline, ensuring only high-confidence, actionable data is stored. Because it uses local files, your memory is portable, version-controllable, and completely transparent to the developer.

    Use cases

    • Maintain coding standards by storing specific linting rules or architecture patterns for a project.
    • Track environment details like staging ports, API versions, and deployment targets.
    • Manage user preferences such as preferred libraries, language nuances, or CLI flags.
    • Audit agent logic by reviewing the append-only history of what the agent thinks it knows.

    Known limitations

    Requires Python 3.9 or higher. Does not support third-party vector databases or network-based retrieval. Designed for project-specific facts rather than large-scale document RAG.

    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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    Python 3.9+

    Runs entirely on local text files. No API key, no network calls, no packages to install. The script refuses any memory folder outside the current project, and one corrupt line is quarantined instead of breaking the store.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a durable, file-based memory system that stores facts as plain text. It solves the problem of agents losing context between sessions by using an append-only architecture and a human-readable Markdown file for auditing and manual overrides.

    You need Python 3.9 or higher available in your environment. The skill operates locally using a specific file structure including a facts database and a Markdown file, requiring no third-party vector databases or network-based retrieval.

    The skill generates a local directory containing a JSONL file of fact snapshots and a human-readable MEMORY.md file. This Markdown file allows you to see exactly what the agent knows and provides a dedicated section where you can manually override agent inferences.

    This skill is designed for project-specific facts like coding standards, environment details, and user preferences. It is not intended for large-scale document RAG, storing secrets or passwords, or managing transient chat states.

    You can instruct your agent to use the recall command when you refer to past decisions or project conventions. For new information, tell the agent to record stable conclusions using the add or update commands once a preference is confirmed.

    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.