mb-garden

mb-garden is a command for Claude Code from mrvladd-d/memobank. It costs 21 tokens per session (423 once invoked), scanned A, original, MIT.

A command for maintaining a Memory Bank, a repository folder that stores project knowledge and working rules. It checks links and references, runs an available linter, synchronizes documents, and archives or reorganizes outdated material.

In plain words
What is it for?
Use it to lint Memory Bank files, check constitution references, resolve known gaps, synchronize updates, split oversized documents, and archive obsolete material.
Why use it?
It helps keep project documentation consistent and reduces stale, duplicated, or contradictory information.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions AGENTS.md.

Good fit Use it to lint Memory Bank files, check constitution references, resolve known gaps, synchronize updates, split oversized documents, and archive obsolete material.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mrvladd-d/memobank/mb-garden
Install

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.

Clone the repo
git clone --depth 1 https://github.com/mrvladd-d/memobank

Made for: Claude Code.

Wrote 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.

agentmods badge for mb-garden

README.md
[![agentmods](https://agentmods.dev/badge/commands/mrvladd-d/memobank/mb-garden/github.svg)](https://agentmods.dev/commands/mrvladd-d/memobank/mb-garden)
Your own site
<a href="https://agentmods.dev/commands/mrvladd-d/memobank/mb-garden"><img src="https://agentmods.dev/badge/commands/mrvladd-d/memobank/mb-garden/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.

agentmods 80×15 button for mb-garden

Your own site · 80×15
<a href="https://agentmods.dev/commands/mrvladd-d/memobank/mb-garden"><img src="https://agentmods.dev/badge/commands/mrvladd-d/memobank/mb-garden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 423 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00423
Opus 5 $0.00010 $0.00211
Sonnet 5 $0.00004 $0.00085
Haiku 4.5 $0.00002 $0.00042

Measured 9d ago against content hash b8124024b1c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mb-garden 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 9d 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.

skills/_shared/references/commands/mb-garden.md · 40 lines

What it actually says

/mb-garden — Memory Bank maintenance

1) Быстрый чек

  • Пробеги .memory-bank/index.md и роутеры в подпапках.
  • Если есть .memory-bank/constitution.md, проверь ссылки и упоминания Constitution в MBB, spec-index, workflows, AGENTS.md и generated plans.
  • Найди stale или contradictory Constitution references: старые пути, alias-команды, legacy task/risk routing, или правила, противоречащие текущей Constitution.
  • Найди “Known gaps / TBD / TODO” и реши: закрываем или превращаем в задачи.

2) Линт (если настроен)

  • Если в репозитории есть scripts/mb-lint.mjs — запусти его.
  • Иначе пропусти этот шаг.

3) MB-SYNC

Запусти /mb-sync и пройди чеклист.

4) Архив/рефактор

  • Разбей слишком большие документы (atomic).
  • Удали/объедини дубли.
  • Устаревшее перемести в .memory-bank/archive/ (и обнови ссылки).
  • Не архивируй и не переписывай Constitution как часть чистки, если пользователь явно не просил governance amendment.
  • Если Constitution устарела или конфликтует с routed docs, flag это как blocking garden finding и предложи /constitution; не выдумывай новые domain principles.

5) Review (периодически)

Запусти /review fresh-context (например, раз в неделю или после большой волны изменений).

Changes

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.

  1. 9d ago First seen · 40 lines · 0 tokens per session scan A b8124024b1c3

Subscribe to this mod's changes

mb-garden is a command published in the GitHub repository mrvladd-d/memobank (55 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 423 once invoked, about $0.0001 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-30.