Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/fockus/skill-memory-banknpx agentmods add commands/fockus/skill-memory-bank/driveWrote 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/drive)<a href="https://agentmods.dev/commands/fockus/skill-memory-bank/drive"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/drive/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/drive"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/drive.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.00050 | $0.03197 |
| Opus 5.5 | $0.00020 | $0.01279 |
| Sonnet 5.5 | $0.00010 | $0.00639 |
| Haiku 4.5 | $0.00005 | $0.00320 |
Grade A, and why
drive 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 — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/mb drive
Drive a goal file to completion in two phases: planning with the user (every acceptance criterion gets its
plans, specs, QA decision or check, one batch of approvals), then execution without the user, where
scripts/mb-drive.sh decides what runs next and /mb work and /mb team do the running.
You are the runtime. mb-drive.sh prints exactly ONE action per next call and dispatches nothing itself. You
run the action, report it with returned, call next again, and stop on a stop_* action. State lives in one run
file per drive, <bank>/.drive/<run_id>.json, so a resumed or compacted session continues where it left off.
/mb drive [--goal PATH] [--budget TOK] [--serial] [--host-serial] [--resume [RUN_ID]]
| Flag | Meaning |
|---|---|
--goal PATH |
Goal file (absolute or bank-relative); default <bank>/goal.md |
--budget TOK |
Token budget of this run (mb-work-budget.sh slot under the run id) |
--serial |
Never run items in parallel: every item goes through /mb work |
--host-serial |
This host runs one dispatch at a time (§7) |
--resume [RUN_ID] |
Continue a stored run instead of starting one (§8) |
1. Start or resume
Shell variables do not survive between tool calls: every later command writes the run id literally (or the selection takes the only live run). Start a new run with the user's flags:
SKILL_DIR="${MB_SKILLS_ROOT:-${SKILL_DIR:-$HOME/.claude/skills/memory-bank}}"
[ -f "$SKILL_DIR/scripts/_lib.sh" ] || { echo "mb: skill bundle not found at $SKILL_DIR — set MB_SKILLS_ROOT" >&2; exit 2; }
# shellcheck source=../scripts/_lib.sh
. "$SKILL_DIR/scripts/_lib.sh"
BANK="$(mb_resolve_path "${BANK:-}")"
# The user's flags: GOAL=<path> BUDGET=<tokens> SERIAL=1 HOST_SERIAL=1
args=()
[ -z "${GOAL:-}" ] || args+=(--goal "$GOAL")
[ -z "${BUDGET:-}" ] || args+=(--budget "$BUDGET")
[ "${SERIAL:-0}" != 1 ] || args+=(--serial)
[ "${HOST_SERIAL:-0}" != 1 ] || args+=(--host-serial)
# Refuses (exit 1) without a bank, without a goal (the default goal.md is scaffolded from
# templates/goal.md first), on a goal that fails scripts/mb-goal-validate.sh (its hints on stderr),
# and on a goal another live run already drives (the message names that run).
RUN_ID="$(bash "$SKILL_DIR/scripts/mb-drive.sh" start --bank "$BANK" ${args[@]+"${args[@]}"})" || exit $?
echo "run_id=$RUN_ID"
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 · +15 lines · +10 tokens per session b610d10741db
- 1mo ago Changed · +25 tokens per session 7b3c92712876
- 2mo ago Changed · +1 lines 3e2c13994183
- 2mo ago Changed · -4 lines ba794fa1646a
- 3mo ago First seen · 185 lines · 15 tokens per session scan A 9d61ab512b58
drive is a command published in the GitHub repository fockus/skill-memory-bank (33 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 3,197 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.
drive compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| drivefockus/skill-memory-bank | Command | 33 | 5d ago | MIT | A | 50 | Claude Code |
| research-verifydrobins25/craft | Command | 74 | yesterday | MIT | A | 28 | Claude Code |
| pauseToRvaLDz/trailhead | Command | 37 | yesterday | MIT | A | 11 | Claude Code |
| auditToRvaLDz/trailhead | Command | 37 | yesterday | MIT | A | 28 | Claude Code |
| unity-migrateXeldarAlz/everything-claude-unity | Command | 25 | 7mo ago | MIT | A | 26 | Claude Code |
| unity-testXeldarAlz/everything-claude-unity | Command | 25 | 7mo ago | MIT | A | 34 | Claude Code |
| specyknnv/brownspec | Command | 2 | 3mo ago | MIT | A | 20 | Claude Code |