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 atournayre/claude-marketplace --skill memorygit clone --depth 1 https://github.com/atournayre/claude-marketplaceWrote 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/atournayre/claude-marketplace/memory)<a href="https://agentmods.dev/skills/atournayre/claude-marketplace/memory"><img src="https://agentmods.dev/badge/skills/atournayre/claude-marketplace/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/atournayre/claude-marketplace/memory"><img src="https://agentmods.dev/badge/skills/atournayre/claude-marketplace/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.00079 | $0.04725 |
| Opus 5 | $0.00039 | $0.02363 |
| Sonnet 5 | $0.00016 | $0.00945 |
| Haiku 4.5 | $0.00008 | $0.00473 |
Grade A, and why
claude-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 12d 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 — 695 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory files are automatically loaded at session startup, consuming tokens from your 200k context window. Every instruction competes with Claude Code's ~50 built-in instructions, leaving ~100-150 effective instruction slots for your customizations.
Two approaches available:
- CLAUDE.md - Single file, simpler, best for small projects
- .claude/rules/ - Modular files with optional path-scoping, best for large projects
<quick_start>
<bootstrap_new_project>
Run /init in Claude Code to auto-generate a CLAUDE.md with project structure.
Or create manually at project root:
# Project Name
## Tech Stack
- [Primary language/framework]
- [Key libraries]
## Commands
- `npm run dev` - Start development
- `npm test` - Run tests
- `npm run build` - Build for production
## Code Conventions
- [2-3 critical conventions]
## Important Context
- [1-2 architectural decisions worth knowing]
</bootstrap_new_project>
<quick_add_memory>
Press # during a Claude Code session to quickly add new memory items without editing the file directly.
</quick_add_memory>
<edit_memory>
Use /memory command to open CLAUDE.md in your system editor.
</edit_memory>
</quick_start>
<file_hierarchy> Claude Code loads CLAUDE.md files in a specific order. Higher priority files are loaded first and take precedence.
<loading_order>
| Priority | Location | Purpose | Scope |
|---|---|---|---|
| 1 (Highest) | /Library/Application Support/ClaudeCode/CLAUDE.md (macOS) |
Enterprise policy (managed by IT) | All org users |
| 2 | ./CLAUDE.md or ./.claude/CLAUDE.md |
Project memory (git-tracked) | Team via git |
| 2 | ./.claude/rules/*.md |
Modular rules (git-tracked) | Team via git |
| 3 | ~/.claude/CLAUDE.md |
User preferences (global) | All your projects |
| 3 | ~/.claude/rules/*.md |
Personal modular rules (global) | All your projects |
| 4 (Lowest) | ./CLAUDE.local.md |
Personal project prefs (auto-gitignored) | Just you |
| </loading_order> |
<recursive_loading> Claude recurses UP from current directory to root, loading all CLAUDE.md files found.
Running Claude in foo/bar/ loads:
foo/bar/CLAUDE.mdfoo/CLAUDE.md- Root-level files
Claude also discovers CLAUDE.md in SUBTREES when reading files in those directories. </recursive_loading>
<monorepo_strategy> For monorepos, use layered approach:
root/
├── CLAUDE.md # Universal: tech stack, git workflow
├── apps/
│ ├── web/CLAUDE.md # Frontend-specific patterns
│ └── api/CLAUDE.md # Backend-specific patterns
└── packages/
└── shared/CLAUDE.md # Shared library conventions
Root file defines WHEN to use patterns; subtree files define HOW. </monorepo_strategy> </file_hierarchy>
<rules_directory>
The .claude/rules/ directory provides a modular alternative to monolithic CLAUDE.md files. Instead of one large file, you organize instructions into multiple focused markdown files.
<when_to_use_rules>
Use .claude/rules/ when:
- Project has many distinct concerns (testing, security, API, frontend)
- Different rules apply to different file types
- Team members maintain different areas
- You want to update one concern without touching others
Use CLAUDE.md when:
- Project is small/simple
- All rules are universal
- You prefer a single source of truth </when_to_use_rules>
<rules_structure>
.claude/rules/
├── code-style.md # Formatting and conventions
├── testing.md # Test requirements
├── security.md # Security checklist
├── frontend/
│ ├── react.md # React-specific patterns
│ └── styles.md # CSS conventions
└── backend/
├── api.md # API development rules
└── database.md # Database conventions
What ships with it
5 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.
- 12d ago First seen · 695 lines · 79 tokens per session scan A 418badc23195
claude-memory is a skill published in the GitHub repository atournayre/claude-marketplace (9 stars, last pushed 6mo ago), licensed MIT. It adds 79 tokens to every session and 4,725 once invoked, about $0.0004 per session on Opus 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-31.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.