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.
npx agentmods add commands/cbuntingde/kimi-memory/memosgit clone --depth 1 https://github.com/cbuntingde/kimi-memoryWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00029 | $0.00536 |
| Opus 5 | $0.00015 | $0.00268 |
| Sonnet 5 | $0.00006 | $0.00107 |
| Haiku 4.5 | $0.00003 | $0.00054 |
Grade A, and why
memos scanned grade A with 1 finding 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 yesterday.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- curl with a 2-second timeout, or `Test-NetConnection 127.0.0.1 -Port 8765` What it actually says
/kimi-memory:memos
Open the local kimi-memos-dashboard in the user's default browser. The dashboard
runs as a standalone companion app under ~/.kimi-code/plugins/managed/kimi-memos-dashboard/
and is intentionally NOT a Kimi plugin (per its own AGENTS.md) — this slash
command is a thin integration, not a control surface.
Steps:
- Probe whether
http://127.0.0.1:8765/is responding (HEAD request via Bash- curl with a 2-second timeout, or
Test-NetConnection 127.0.0.1 -Port 8765on PowerShell).
- curl with a 2-second timeout, or
- If not responding, tell the user:
kimi-memos-dashboard is not running. Start it with:cd ~/.kimi-code/plugins/managed/kimi-memos-dashboard && npm startand then re-run/memos. Do not start it for them — the dashboard binds a port and the user should opt in. - If responding, open the dashboard URL in the default browser:
- Windows (Git Bash / cmd):
start "" "http://127.0.0.1:8765/" - Windows (PowerShell):
Start-Process "http://127.0.0.1:8765/" - macOS:
open "http://127.0.0.1:8765/" - Linux:
xdg-open "http://127.0.0.1:8765/"
- Windows (Git Bash / cmd):
- Report the URL back to the user.
Notes:
- The dashboard reads the same SQLite files that this plugin writes to, with
PRAGMA query_only=ONenforced, so opening it cannot mutate memory data. - The dashboard binds
127.0.0.1by default; LAN exposure is not provided here. - Optional bearer-token auth is respected by the dashboard itself; this command does not bypass it.
- The default port (
127.0.0.1:8765) and token scheme are owned bykimi-memos-dashboard, not by this plugin. If the dashboard re-binds or changes its auth, the probe in step 1 will return a connection error and the user must adjust the URL or restart the dashboard before re-running/kimi-memory:memos.
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.
- yesterday First seen · 42 lines · 29 tokens per session scan A 8c8e8f741514
memos is a command published in the GitHub repository cbuntingde/kimi-memory (0 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 536 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
tree-ring-capture
Capture a concise validated lesson decision warning or preference in Tree Ring Memory.
tree-ring-audit
Audit consolidate or forget stale sensitive or superseded Tree Ring Memory entries.
tree-ring-update
Check for or install a verified Tree Ring Memory CLI update without changing installation scope.
tree-ring-certify
Generate Tree Ring harness or recall-quality evidence without confusing it with the full framework release suite.
tree-ring-dox-sync
Preview and synchronize DOX-style AGENTS.md guidance as source-linked Tree Ring memory.
tree-ring-recall
Recall durable Tree Ring Memory context before starting or resuming work.