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 skills add SherryLi-vc/strata-memory --skill strata-memorygit clone --depth 1 https://github.com/SherryLi-vc/strata-memoryWrote 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.
[](https://agentmods.dev/skills/sherryli-vc/strata-memory/strata-memory)<a href="https://agentmods.dev/skills/sherryli-vc/strata-memory/strata-memory"><img src="https://agentmods.dev/badge/skills/sherryli-vc/strata-memory/strata-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.
<a href="https://agentmods.dev/skills/sherryli-vc/strata-memory/strata-memory"><img src="https://agentmods.dev/badge/skills/sherryli-vc/strata-memory/strata-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.03944 |
| Opus 5.5 | $0.00030 | $0.01578 |
| Sonnet 5.5 | $0.00015 | $0.00789 |
| Haiku 4.5 | $0.00008 | $0.00394 |
Grade B, and why
strata-memory scanned grade B 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 today.
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.
Reads MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
- Project scope: `.mcp.json` at the project root. Claude Code expands `${STRATA_API_KEY}` from the environment when the session starts. Approve the server in `/mcp` the first time. How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Strata Memory
Purpose
strata-memory is an open-source MCP memory server (v2.1.0, MIT) for one agent or several agents sharing a palace.
- SQLite is the single source of truth (memories, audit, trajectories).
- Chroma is a companion vector index. Rebuild it from SQLite; do not treat it as authoritative.
- Markdown from
strata_projectis a read-only human view. - Writes go through a Quality Kernel and CBT middleware.
- Recall is two-step:
recall_contextreturns short cards (id,summary,score).expand_memory_detailloads full text for one id.
Repository: https://github.com/SherryLi-vc/strata-memory
This skill does not bundle the server. Install it from that repository. The strata-memory-mcp package is not on PyPI, so do not use uvx.
When to Use
- The user wants persistent memory, long-term context, or an MCP memory server
- Several agents should share durable facts through one palace
- Session scratch notes should become durable only after the user confirms them
- Recall should stay small: search cards first, then expand the hits that matter
When not to use
- Storing passwords, API keys, tokens, or other secrets
- Recording relative times (
yesterday,刚才,today) insidefact_claim; use an ISO date - Storing hedged wording (
probably,maybe,也许) asmemory_type: factual_truth - Rebuilding the vector index unless the user has agreed (
confirm=true)
Data and network
Tell the user this before the first write or recall:
- Rows live under
STRATA_PALACE(default~/.strata/palace). - The configured embedding endpoint receives memory text and recall queries (
commit_memory,promote_session,recall_context, and index rebuild), unless the provider islocal. - Default option is SiliconFlow: provider
siliconflow, modelBAAI/bge-m3, base URLhttps://api.siliconflow.cn/v1. That model returns 1024 dimensions and is truncated toSTRATA_EMBEDDING_DIMENSION(default 384). STRATA_EMBEDDING_PROVIDER=openaioropenai_compatiblecalls any OpenAI-compatiblePOST /embeddingsendpoint. SetSTRATA_EMBEDDING_BASE_URLandSTRATA_EMBEDDING_MODEL. The vector length must equalSTRATA_EMBEDDING_DIMENSION(OpenAItext-embedding-3-smalluses 1536 when that provider is selected). Then rebuild the index.STRATA_EMBEDDING_PROVIDER=localruns an in-process model (defaultsentence-transformers/all-MiniLM-L6-v2, 384 dimensions). Install withuv sync --extra local. Text stays on the machine.- A local server (Ollama, llama.cpp, TEI, vLLM) is
openai_compatiblewith a loopbackSTRATA_EMBEDDING_BASE_URLsuch ashttp://127.0.0.1:11434/v1. Loopback does not require an API key. Text is sent to that URL. - Key lookup for HTTP providers: explicit argument,
STRATA_EMBEDDING_API_KEY,STRATA_API_KEY, thenSILICONFLOW_API_KEY(SiliconFlow) orOPENAI_API_KEY(OpenAI-compatible). Empty values, values shorter than 20 characters, and values containing...are rejected. - Never ask the user to paste a key into chat. Never echo a key, write one into memory, or commit one. The user sets it in their own shell profile or host config.
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.
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.
- today First seen · 260 lines · 76 tokens per session scan B 92a00c40b8a2
strata-memory is a skill published in the GitHub repository SherryLi-vc/strata-memory (0 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 3,944 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.
Other skills, from other repositories
docmancer
Work from the same local memory as every other coding agent on this machine. Recall prior decisions, preferences, instructions, and project conventions that Claude Code, Codex, Cursor, and other agents wrote here, with cited sources, fully local. Also searches a separate local technical-documentation index.
memoryguard
Local-first MCP memory backend and governance console for coding agents. Auto-organize, quarantine, supersede, and rollback shared memories across multiple agents.
squish
ALWAYS use this skill when working with agents, memory, context, persistence, or AI agent state. Use when the user mentions: 'the agent forgot', 'save this', 'remember that', 'context is lost', 'memory', 'MCP server', 'agent memory', 'persistent memory', 'session context', 'project context', 'recall', 'remember'…
squish-memory
Persistent memory system for Claude Code. Use when you need to store, recall, or search project memories, facts, decisions, and learnings across sessions. Triggers on: remember, recall, memory, forget, search memories, store context, project knowledge, what did we decide, previous conversation.
openakashic
Persistent memory for AI agents across sessions. Search what others figured out, write what you learn, publish what deserves a wider audience.
agent-memory-discipline
Rules for when an agent should recall from long-term memory before acting and when it should save decisions, corrections and failures afterwards. Works with any memory backend.