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 rostamlabs/rostam --skill rostam-memorygit clone --depth 1 https://github.com/rostamlabs/rostamWrote 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/rostamlabs/rostam/rostam-memory)<a href="https://agentmods.dev/skills/rostamlabs/rostam/rostam-memory"><img src="https://agentmods.dev/badge/skills/rostamlabs/rostam/rostam-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/rostamlabs/rostam/rostam-memory"><img src="https://agentmods.dev/badge/skills/rostamlabs/rostam/rostam-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.00047 | $0.00567 |
| Opus 5.5 | $0.00019 | $0.00227 |
| Sonnet 5.5 | $0.00009 | $0.00113 |
| Haiku 4.5 | $0.00005 | $0.00057 |
Grade A, and why
rostam-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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rostam code-linked memory
Rostam keeps durable facts across sessions. This plugin shows memories linked to a file automatically when you read or edit it, and at session start it shows the project's most recent memories. What it shows is recalled data: it may be out of date, so check it against the code before relying on it.
Saving a fact
Call remember with one self-contained fact per call.
- If the fact is about a particular file, pass
path, the repo-relative path (server/protocol.go). Addsymbol(a function or type name) when it narrows the fact. Linked facts come back on their own the next time that file is touched. - If the fact is about the project as a whole, leave
pathout. - Leave
namespaceout: the server already uses this project's namespace, and only memories in it are shown automatically. It is normally the main checkout's directory name (also from a git worktree), but a project whose directory name another project on this machine already uses gets that name plus a short hash, so do not derive it yourself. If you do pass one, pass exactly the name the server states, never a worktree's directory name. - For in-flight state that changes, pass a stable
keyso each update replaces the last one. - Never store secrets or credentials.
Reading
- Before a nontrivial task,
recallwith the task's keywords instead of re-reading large files. - To see more of what is attached to one file, call
recall_for_filewith itspath. It returns at mostkmemories, newest first, andkdefaults to 5; pass a largerk(say 50) when you need the rest. The automatic injection is capped at a few memories. - A memory marked
[stale]was linked to a file that has changed since. One marked[stale: file missing]points at a file that no longer exists. Treat both as leads to verify. Then re-rememberthe corrected fact with the samepath,symbolandkey(a re-save replaces the whole entry, so a link you leave out is dropped);forgetthe old memory when it had no key.
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.
- 3d ago First seen · 45 lines · 47 tokens per session scan A 345698ef1e5a
rostam-memory is a skill published in the GitHub repository rostamlabs/rostam (37 stars, last pushed 3d ago), licensed Apache-2.0. It adds 47 tokens to every session and 567 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-11-27.
rostam-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rostam-memoryrostamlabs/rostam | Skill | 37 | 3d ago | Apache-2.0 | A | 47 | Claude Code |
| vector-databasesLuuOW/meridian-mcp | Skill | 0 | 1mo ago | MIT | A | 71 | Claude Code, Codex |
| data-vector-databasesj4flmao/agent-skills | Skill | 46 | 13d ago | MIT | A | 90 | Claude Code, Codex |
| rag-evalLucasSantana-Dev/hitgate | Skill | 4 | 17d ago | MIT | A | 0 | Claude Code, Codex |
| rag-qdrantdavila7/claude-code-templates | Skill | 34k | today | MIT | A | 45 | Claude Code, Codex |
| clawmemyoloshii/ClawMem | Skill | 212 | 5d ago | MIT | B | 120 | Claude Code |
| cortex-distillXBlueSky/cortexes | Skill | 26 | 3d ago | Apache-2.0 | A | 41 | Claude Code |