# Bantamkit Memory

> Your coding agent remembers your corrections across sessions — local, offline, no account. Free, MIT.

Bantamkit Memory is a free AI agent skill on Agensi by kktestdev, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [kktestdev](https://www.agensi.io/creators/supakit-kitjanabumrungsak)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Uses: 2
- Version: 1.2
- Last updated: 2026-10-30
- Security: scan passed (2026-10-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/bantamkit-memory
- Tags: llm-ops, bantamkit, mcp-server, context-management, claude-code, cursor

## About this skill

Every new session, your coding agent starts from zero. It asks for the same preferences again. It repeats a fix you already found. It forgets the decision you made yesterday.

**bantamkit memory fixes that.** It gives your agent a small, durable memory that lives in plain Markdown files in your repo. Your agent checks that memory *before* it acts, and saves to it whenever you correct it.

### What you get

- **Recall before acting.** Before a task that looks like past work, the agent searches memory and gets back the matching facts in full, so it starts from what you already know.
- **Saves the things that matter.** Corrections and preferences (`feedback`), ongoing decisions (`project`), facts about you (`user`), and links to dashboards or tickets (`reference`).
- **No duplicates, no bloat.** A save that looks like an existing memory is refused, and the reply names the existing one so the agent updates it instead of piling up copies. `memory_compact` and `memory_dream` merge and archive old facts to stay inside a token budget.
- **Plain files you own.** Every memory is one readable `.md` file in `.bantamkit/memory/` in your project, with personal facts in `~/.bantamkit/memory/`. You can commit them, review them in a PR, or delete them.
- **Private by design.** Runs locally over stdio. No account, no API key, and no network calls once it is installed.
- **Optional auto-recall in Claude Code.** `--install-hooks` makes matching memories show up on every prompt, without the agent having to ask.

### Setup (one minute)

```bash
npx -y bantamkit-mcp@0.37.1 --install claude   # or: cursor | copilot | claude-desktop
```

Restart your host and the memory tools appear. Node.js 20+ is all you need. A Python build is on PyPI too, as `pip install "bantamkit[mcp]"`.

### New in 0.37.1

- **Safer skill writes.** Temp files are created exclusively, so a symlink planted at the temp name is refused instead of followed (#250).
- **Skill fixes.** Approving a stored draft re-checks it against the current catalogue, undo after an automatic improvement restores the right version, and a long-running server now finds skills installed after it started.
- **Windows.** Skill state is replaced atomically. Thanks to contributor @Aschenbath.

### New in 0.37.0

- **Skill audit.** The `skill_audit` prompt checks the skills your agent has installed: two skills sharing a trigger phrase, a skill catalogue over its size budget, broken frontmatter, and skills never called in the last 30 days. For a plugin nobody uses, it proposes a `settings.json` change and never applies it for you. A daily run reports any new finding once, in one short line at session start.
- **Skills learned from experience (opt-in).** bantamkit notices work you repeat successfully and proposes it as an Agent Skill. You review proposals with the `skill_propose` prompt. Automatic install stays off unless you set `BANTAMKIT_SKILL_AUTO=on`.

### Works with

Claude Code, Claude Desktop, Cursor and VS Code Copilot. It also works with any MCP host that runs a stdio server.

### Open source

MIT licensed, with source at [github.com/Ink01101011/bantamkit](https://github.com/Ink01101011/bantamkit). The same tools ship as Node (npm) and Python (PyPI) implementations, and a conformance suite of 19,000+ cases checks that both answer the same way on the same memory store.

### Known limitations

- Recall ranks by **words** (BM25F over name, description and keywords), not by meaning. Write descriptions in the words you will search with later. The skill teaches your agent to do that.
- You need to restart your host once after install.
- It never stores secrets, and never stores things already in your repo or git history.

## Requires

- Bantamkit MCP
- Node.js 20+
- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Bantamkit Memory skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does bantamkit memory differ from a standard AI context window?

This skill adds a persistent memory layer to your coding environment, allowing agents to remember architectural decisions, project constraints, and specific user preferences that would otherwise be lost when a chat session ends or an IDE restarts.

### Which AI agents and IDEs are compatible with this skill?

It is fully compatible with Claude Code, Claude Desktop, Cursor, and VS Code Copilot, provided you are running the bantamkit-mcp server (v0.36.0 or higher).

### Where is my project memory stored, and is it shared with any external servers?

All data is stored locally on your machine in `.bantamkit/memory` or your home directory; the skill makes zero external network calls after installation, ensuring your project details and preferences remain private.

### What is the setup process after I add this skill to my agent?

The skill provides structured logic for the agent to automatically verify the MCP server status via npx and prompts you to restart your host (IDE or Terminal) to finalize the integration.

### Will the memory storage eventually slow down my agent or bloat the context window?

The skill includes an automated consolidation feature that merges related facts and archives stale data, ensuring the agent stays within token limits while maintaining the most relevant project information.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
