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 pmikutel/directed-memory-bank --skill memory-bank-writergit clone --depth 1 https://github.com/pmikutel/directed-memory-bankWrote 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/pmikutel/directed-memory-bank/memory-bank-writer)<a href="https://agentmods.dev/skills/pmikutel/directed-memory-bank/memory-bank-writer"><img src="https://agentmods.dev/badge/skills/pmikutel/directed-memory-bank/memory-bank-writer/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/pmikutel/directed-memory-bank/memory-bank-writer"><img src="https://agentmods.dev/badge/skills/pmikutel/directed-memory-bank/memory-bank-writer.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.00032 | $0.00431 |
| Opus 5.5 | $0.00013 | $0.00172 |
| Sonnet 5.5 | $0.00006 | $0.00086 |
| Haiku 4.5 | $0.00003 | $0.00043 |
Grade A, and why
memory-bank-writer 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.
What it actually says
memory-bank-writer
Routing skill for writes to memory-bank/. Loads the inventory and the RAM-layer process so the agent knows what exists and how to maintain it.
Load:
memory-bank/project/doc-guide.md— required. Style, length, and hygiene rules for every memory-bank file.memory-bank/_index.md(the inventory — needed when authoring writes)memory-bank/tasks/process.mddocs/what-goes-where.md(if this project ships the standard's docs alongside)
Rules of thumb:
- Follow
doc-guide.mdon every write. Length budgets, no duplication, bullets over paragraphs, reference don't copy. - Decision rationale lives in two places: inline
**Why:**intechnical/<topic>.md(standing rule) and chronologically intasks/log/pr-*.md(the moment). If a log entry's rationale recurs or becomes a coding rule, followtasks/process.md→ promote durable knowledge totechnical/. Don't create adecisions/directory. - Knowledge layer files (
project/,technical/) change slowly. Update only when the underlying truth has shifted. - When you add or rename a memory-bank file, update
_index.mdfirst, then update any integration-layer artefact (skill, rule, hook,AGENTS.md) that should reference the new file. tasks/work/<slug>.md: update frontmatter (status,branch,updated) as state changes. Don't fabricate scratchpads that won't be useful.tasks/log/pr-<num>-<slug>.md: typically written by automation on PR merge. Scale length to complexity (3–6 / 8–12 / 15–20 lines). Don't document routine quality checks as achievements.
No knowledge in this file — see the listed files.
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 First seen · 27 lines · 32 tokens per session scan A 0cf5596d33f0
memory-bank-writer is a skill published in the GitHub repository pmikutel/directed-memory-bank (6 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 431 once invoked, about $0.0001 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-31.
Other skills, from other repositories
02-project-memory
Build the project's memory of its architecture, conventions, and decisions, and wire it into your AI tools. Use when the user wants to set up or refresh project memory, or rewire it into a tool. Not for editing one existing memory file.
10-learn
Capture durable project learnings. Use when the user wants to remember, record, or formalize a decision, convention, lesson, pitfall, reusable workflow, or review finding. Not for preferences or temporary notes.
contorium-workspace-memory
Use Contorium workspace memory layers (focus, session events, Git, export) when resuming AI work or avoiding repeated project explanation.
knowledge-org
A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.
memory-system
A guide to giving an AI agent persistent, user-specific memory across conversations. It covers what to remember, how to store it, how to update or compress it, and when to use memory instead of a shared knowledge base.
kb-builder
Build an Obsidian-compatible knowledge base from public web sources using the TinyFish CLI. Use this skill when a user wants a builder-grade markdown knowledge base on a technical topic, asks for a structured research vault, or wants a topic compiled from live public sources into interlinked markdown files. Supports…