kimi-memory

kimi-memory is a skill for Claude Code from cbuntingde/kimi-memory. It costs 54 tokens per session (2,649 once invoked), scanned A, original, MIT.

A persistent memory system for Kimi Code that stores user preferences, project decisions, and past session information in local SQLite databases.

In plain words
What is it for?
Use it when you want Kimi to remember, recall, or save information globally, for a project, or for a current session.
Why use it?
It helps the agent retain useful context between sessions instead of making you repeat facts, decisions, or working conventions.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Good fit Use it when you want Kimi to remember, recall, or save information globally, for a project, or for a current session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cbuntingde/kimi-memory/kimi-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cbuntingde/kimi-memory --skill kimi-memory
Clone the repo
git clone --depth 1 https://github.com/cbuntingde/kimi-memory

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kimi-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/cbuntingde/kimi-memory/kimi-memory/github.svg)](https://agentmods.dev/skills/cbuntingde/kimi-memory/kimi-memory)
Your own site
<a href="https://agentmods.dev/skills/cbuntingde/kimi-memory/kimi-memory"><img src="https://agentmods.dev/badge/skills/cbuntingde/kimi-memory/kimi-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kimi-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/cbuntingde/kimi-memory/kimi-memory"><img src="https://agentmods.dev/badge/skills/cbuntingde/kimi-memory/kimi-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,649 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.02649
Opus 5.5 $0.00022 $0.01060
Sonnet 5.5 $0.00011 $0.00530
Haiku 4.5 $0.00005 $0.00265

Measured 1mo ago against content hash ffb81a311e7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kimi-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/kimi-memory/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

kimi-memory

The kimi-memory plugin gives the Kimi agent a three-layer memory store backed by local SQLite, exposed through MCP tools, and seeded at session start.

The skill follows progressive disclosure: this file covers routing, hygiene, types, and the typical flow. Deeper material lives in references/:

  • references/tools.md — the full MCP tool catalog.
  • references/recall-acknowledgement.md — how to acknowledge [recall], [focus], [thread], [tool-recall] segments on the hook status line.
  • references/active-memory.md — v9+ behaviour: continuous retrieval, mid-turn recall, decay, cross-session thread, background consolidation, auto-GC.
  • references/decay-contract.md — the Ebbinghaus decay + reinforcement contract, with the formula and the migration that introduced it.

Layer routing rules

Pick the right scope for every fact you save or recall:

Layer Scope When
Global user memory scope: "global" Cross-project preferences, profile facts, reusable procedures (e.g. "user prefers dark mode", "use pnpm globally", "how to onboard the agent on a new machine").
Project durable memory scope: "project" (default) Repository-specific facts, decisions, conventions, workflows for the active project.
Project working memory working_memory_set/get/clear (project-only) Transient current focus, in-flight tasks, recent decisions you want surfaced next turn.
Session archive conversation_* tools (project-only) Automatic full per-session transcript; no manual reads unless the user asks.

Read the full file on GitHub · 92 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed ffb81a311e7a
  2. 2mo ago Changed 805da7d5d5b0
  3. 2mo ago Changed 14437719a372
  4. 2mo ago Changed · +4 lines 8b3c4c39a332
  5. 3mo ago First seen · 88 lines · 54 tokens per session scan A 83a87738ac1c

Subscribe to this mod's changes

kimi-memory is a skill published in the GitHub repository cbuntingde/kimi-memory (0 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 2,649 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

kimi-memory compared with skills from other repositories

kimi-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kimi-memorycbuntingde/kimi-memorySkill02mo agoMITA54Claude Code
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74ktodayCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k14d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex