#569569th of 706 in Skills, plugins and prompts
memory.cpp
Local CLI that compiles repo memory into cache-stable context for coding agents
- Stars
- 661
- License
- MIT
- Last commit
- Nov 2026
- Language
- Rust
Missed the latest GitHub check; these facts may be older.
Overview
memory.cpp stores repo decisions, fixes and rules in a local SQLite vault and compiles them into token-budgeted prompt packs. Each pack separates a blake3-hashed stable prefix from a fresh suffix, targets Anthropic, OpenAI, Gemini or generic formats, and excludes stale, contradicted or secret-bearing memories. It also writes a ledger and lockfile of what was sent, and can install an MCP server for clients such as Claude.
Who it is for: Engineers feeding repo history to coding agents who want prompt-cache reuse
Strengths
- Stable prefix excludes task text, so its hash is identical across tasks and prompt caches can hit
- Freshness proofs and negative memory block stale, contradicted or secret content before prompting
- Ledger, lockfile and verify-pack make each compiled context reproducible and auditable
- Local SQLite vault; README states no cloud, accounts, telemetry or network calls by default
Weaknesses
- CAMC-Bench uses a synthetic corpus; README says it measures mechanism, not real-world win rates
- KV and latency figures are estimates unless measured separately with the runtime bench script
- No tagged release; must be built from source with cargo or the install scripts
- Large CLI surface with many research-oriented commands to learn
What it needs
- Needs Rust toolchain (cargo), SQLite (local vault)
- Models: Anthropic, OpenAI, Gemini, generic
Also in Skills, plugins and prompts
See all 706| Rank | Project | Score |
|---|---|---|
| #567 | old-coderAgent skill that requires a test plan up front and an evidence report after | 47 out of 100 |
| #568 | claude-token-optimizerCLI that shrinks the CLAUDE.md and notes Claude Code loads at session start | 47 out of 100 |
| #570 | elon-musk-skillAgent Skill that answers using Elon Musk's decision frameworks and speaking style | 47 out of 100 |
| #571 | snarktank/ralphBash loop that reruns Amp or Claude Code until every PRD story passes | 46 out of 100 |
| #572 | inference-optimisation-skillAgent skill for hill-climbing local LLM server speed with measured controls | 46 out of 100 |