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.
git clone --depth 1 https://github.com/fockus/skill-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/commands/fockus/skill-memory-bank/mb)<a href="https://agentmods.dev/commands/fockus/skill-memory-bank/mb"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/mb/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/commands/fockus/skill-memory-bank/mb"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/mb.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.00049 | $0.03358 |
| Opus 5.5 | $0.00020 | $0.01343 |
| Sonnet 5.5 | $0.00010 | $0.00672 |
| Haiku 4.5 | $0.00005 | $0.00336 |
Grade A, and why
mb 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 4d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory Bank — /mb
The /mb command is the single entrypoint for managing project Memory Bank (.memory-bank/).
Subcommands
Arguments: $ARGUMENTS
Determine the subcommand from the first word of $ARGUMENTS. Remaining words are parameters for that subcommand.
$SKILL_DIR below always means the absolute directory containing the loaded SKILL.md (or MB_SKILLS_ROOT); bundled scripts run through it, never through a bare scripts/… path. For bank-dependent operations below (recall, recap, conflicts, consolidate, verify), resolve the bank with the setup block. Set MB_AGENT to the current host id for a global registry. Keep the project as cwd and include this setup in the same shell invocation as the operation. init and bank-independent commands such as user profiles do not require an existing bank; do not run this guard for them. start and done have their own setup in the canonical command files.
SKILL_DIR="${MB_SKILLS_ROOT:-${SKILL_DIR:?Set SKILL_DIR from the loaded skill path}}"
source "$SKILL_DIR/scripts/_lib.sh"
BANK="$(mb_resolve_path)"
if [ ! -d "$BANK" ]; then
echo "[MEMORY BANK: ABSENT]"
exit 0
fi
BANK="$(cd "$BANK" && pwd -P)"
export MB_PATH="$BANK"
Subagents below are dispatched by name (the Claude Code form is shown; OpenCode, Codex, and Pi use the tools in SKILL.md § Invocation); the prompt carries only the task data, and the agent's model, effort, and tools come from its installed definition. If your agent cannot dispatch a subagent by name, read $SKILL_DIR/agents/<name>.md plus each partial listed in its compose: frontmatter and pass that text ahead of the prompt.
For the snippets below, parse the remaining user arguments into the named Bash array (ARGS_AFTER_RECAP, ARGS_AFTER_CONFLICTS, or ARGS_AFTER_CONSOLIDATE); use an empty array when omitted. Preserve each argument as a separate element, without eval or shell-string interpolation.
Routing
GraphRAG-lite retrieval routing
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.
- 4d ago Changed 1c3971850fab
- 10d ago Changed · -1,675 lines scan B → A 9c5e7ad4109c
- 1mo ago Changed · +8 lines 5e0ecb45555a
- 1mo ago Changed · +11 lines · +41 tokens per session c9c462b44565
- 2mo ago Changed · +3 lines fc3b12d14039
- 2mo ago Changed · +17 lines a35961a858c4
- 2mo ago Changed · +41 lines 2ee4632fd09e
- 2mo ago Changed · +37 lines 0a10f1229da9
- 2mo ago Changed · +15 lines f31b158b21c0
- 3mo ago First seen · 1,661 lines · 8 tokens per session scan B 70a7bb20ea25
mb is a command published in the GitHub repository fockus/skill-memory-bank (33 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 3,358 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-08-30.
mb compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mbfockus/skill-memory-bank | Command | 33 | 4d ago | MIT | A | 49 | Claude Code |
| unity-session-saveXeldarAlz/everything-claude-unity | Command | 25 | 7mo ago | MIT | A | 32 | Claude Code |
| overviewairmcp-com/mcp-standards | Command | 3 | 12mo ago | MIT | A | 0 | Claude Code |
| session-memoryairmcp-com/mcp-standards | Command | 3 | 12mo ago | MIT | A | 0 | Claude Code |
| session-endairmcp-com/mcp-standards | Command | 3 | 12mo ago | MIT | A | 0 | Claude Code |
| memory-managerairmcp-com/mcp-standards | Command | 3 | 12mo ago | MIT | A | 0 | Claude Code |
| hive-mind-memoryairmcp-com/mcp-standards | Command | 3 | 12mo ago | MIT | A | 0 | Claude Code |