rostam-memory

rostam-memory is a skill for Claude Code from rostamlabs/rostam. It costs 47 tokens per session (567 once invoked), scanned A, original, Apache-2.0.

A skill for saving and recalling project facts with Rostam's memory tools, especially facts linked to a file or code symbol. Linked facts reappear when that file is touched.

In plain words
What is it for?
It is for storing file-specific or project-wide facts and retrieving them during later coding work.
Why use it?
It preserves useful project knowledge across sessions while warning that recalled facts may be outdated.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rostam-memory plugin — 1 skill, 2 hooks, 1 MCP server shipped together

Good fit It is for storing file-specific or project-wide facts and retrieving them during later coding work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rostamlabs/rostam/rostam-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 rostamlabs/rostam --skill rostam-memory
Clone the repo
git clone --depth 1 https://github.com/rostamlabs/rostam

Made for: Claude Code.

Or install rostam-memory, the plugin that ships this one along with the rest of its 1 skill, 2 hooks, 1 MCP server.

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 rostam-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/rostamlabs/rostam/rostam-memory/github.svg)](https://agentmods.dev/skills/rostamlabs/rostam/rostam-memory)
Your own site
<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.

agentmods 80×15 button for rostam-memory

Your own site · 80×15
<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>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 567 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.00047 $0.00567
Opus 5.5 $0.00019 $0.00227
Sonnet 5.5 $0.00009 $0.00113
Haiku 4.5 $0.00005 $0.00057

Measured 3d ago against content hash 345698ef1e5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

integrations/claude-code-plugin/skills/rostam-memory/SKILL.md · 45 lines

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). Add symbol (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 path out.
  • Leave namespace out: 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 key so each update replaces the last one.
  • Never store secrets or credentials.

Reading

  • Before a nontrivial task, recall with the task's keywords instead of re-reading large files.
  • To see more of what is attached to one file, call recall_for_file with its path. It returns at most k memories, newest first, and k defaults to 5; pass a larger k (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-remember the corrected fact with the same path, symbol and key (a re-save replaces the whole entry, so a link you leave out is dropped); forget the old memory when it had no key.

Read the full file on GitHub · 45 lines

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. 3d ago First seen · 45 lines · 47 tokens per session scan A 345698ef1e5a

Subscribe to this mod's changes

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.

Related

rostam-memory compared with skills from other repositories

rostam-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rostam-memoryrostamlabs/rostamSkill373d agoApache-2.0A47Claude Code
vector-databasesLuuOW/meridian-mcpSkill01mo agoMITA71Claude Code, Codex
data-vector-databasesj4flmao/agent-skillsSkill4613d agoMITA90Claude Code, Codex
rag-evalLucasSantana-Dev/hitgateSkill417d agoMITA0Claude Code, Codex
rag-qdrantdavila7/claude-code-templatesSkill34ktodayMITA45Claude Code, Codex
clawmemyoloshii/ClawMemSkill2125d agoMITB120Claude Code
cortex-distillXBlueSky/cortexesSkill263d agoApache-2.0A41Claude Code