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 nimadorostkar/Claude-Skills-collection --skill agent-memorygit clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collectionWrote 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/nimadorostkar/claude-skills-collection/agent-memory)<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/agent-memory"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/agent-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/nimadorostkar/claude-skills-collection/agent-memory"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/agent-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00091 | $0.01186 |
| Opus 5.5 | $0.00036 | $0.00474 |
| Sonnet 5.5 | $0.00018 | $0.00237 |
| Haiku 4.5 | $0.00009 | $0.00119 |
Grade A, and why
agent-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 1mo 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 — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Memory
Purpose
Give an agent state that outlives its context window. Anything the agent must not forget belongs in a file it can re-read — not in a conversation history that will be compacted away.
When to Use
- A task that spans more turns than the context window holds.
- Work that continues across sessions.
- An agent that repeatedly rediscovers the same fact or repeats the same failed approach.
- Accumulating knowledge about a codebase or a domain over time.
Capabilities
- Deciding what deserves persistence.
- File-based memory the agent reads and writes.
- Structuring notes for retrieval rather than for narrative.
- Staleness detection and pruning.
Inputs
- The task and its expected duration.
- What has been learned that would be expensive to rediscover.
- What has been tried and failed.
Outputs
- A memory file that survives compaction and session end.
- Notes structured so that the relevant part is findable.
- A pruning discipline so the memory does not become a stale swamp.
Workflow
- Write down what would be expensive to rediscover — File locations, API shapes, the reason an approach was abandoned, a constraint the user stated once. Not the narrative of how you got there.
- Write it as facts, not as a story — "The auth middleware is in
src/mw/auth.tsand it does not run on/health." Not "I looked for the auth middleware and eventually found it." - Record failures explicitly — "Tried X. It does not work because Y." This is the highest-value memory content, because without it the agent will try X again.
- Re-read at the start of each session — Memory that is not read is not memory.
- Prune what is stale — A note that was true three refactors ago is now a trap. Date the entries and check them.
- Keep it small — This file is loaded every session. It competes with the actual work for context.
Best Practices
- The most valuable memory is a record of what failed and why. Without it, an agent will confidently repeat a failed approach in a new session.
- Structure the file so the agent can find the relevant section without reading all of it. Headings, not prose.
- Do not persist the conversation. Persist the conclusions.
- A memory file that grows monotonically will eventually be mostly wrong. Pruning is part of the discipline, not an afterthought.
- Distinguish stable facts (architecture, conventions) from working state (what I am doing now). They have different lifetimes and belong in different sections or different files.
- Date the entries. A fact from six months ago about a fast-moving codebase is a hypothesis.
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.
- 1mo ago Changed · +50 tokens per session 35af063022d7
- 3mo ago First seen · 104 lines · 41 tokens per session scan A 2e52d89f0829
agent-memory is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 1,186 once invoked, about $0.0004 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-08-30.
agent-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-memorynimadorostkar/Claude-Skills-collection | Skill | 41 | today | MIT | A | 91 | Claude Code |
| context-bankruptcymohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 108 | Claude Code |
| context-engineering-reviewmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 111 | Claude Code |
| memory-file-maintenancemohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 146 | Claude Code |
| agent-project-filemohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 109 | Claude Code |
| recall-sessiontobihagemann/turbo | Skill | 428 | yesterday | MIT | A | 45 | Claude Code |
| dreamtobihagemann/turbo | Skill | 428 | yesterday | MIT | A | 49 | Claude Code |