agree

agree is a command for Claude Code from fockus/skill-memory-bank. It costs 38 tokens per session (1,275 once invoked), scanned A, original, MIT.

A command for maintaining a central list of confirmed project decisions, called agreements.

In plain words
What is it for?
Use it to add, defer, reject, or replace agreements, optionally linking them to an ADR—an Architecture Decision Record that explains an important technical choice.
Why use it?
It keeps decisions in one consistent registry and prevents manual edits from breaking its IDs or format.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to add, defer, reject, or replace agreements, optionally linking them to an ADR—an Architecture Decision Record that explains an important technical choice.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fockus/skill-memory-bank/agree
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/fockus/skill-memory-bank

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 agree

README.md
[![agentmods](https://agentmods.dev/badge/commands/fockus/skill-memory-bank/agree/github.svg)](https://agentmods.dev/commands/fockus/skill-memory-bank/agree)
Your own site
<a href="https://agentmods.dev/commands/fockus/skill-memory-bank/agree"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/agree/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 agree

Your own site · 80×15
<a href="https://agentmods.dev/commands/fockus/skill-memory-bank/agree"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/agree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,275 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.00038 $0.01275
Opus 5.5 $0.00015 $0.00510
Sonnet 5.5 $0.00008 $0.00255
Haiku 4.5 $0.00004 $0.00128

Measured 1mo ago against content hash bc768c724196, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

commands/agree.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agree: $ARGUMENTS

/mb agree <subcommand> [args] is the thin dispatch to scripts/mb-agree.sh — the ONLY writer of <bank>/agreements.md (REQ-002). The model never edits the registry or the managed block by hand; every mutation goes through this script so IDs stay monotonic, the format never drifts, and parallel sessions serialize safely through the lock. Full protocol (what is/isn't an agreement, the 4 statuses, ADR routing, anti-examples): references/agreements.md.

0. Validate arguments

If $ARGUMENTS is empty, show the subcommand table below and ask which one to run. Do not guess a subcommand from a bare statement.

1. CLI contract

Subcommand Args Effect Exit
add "<statement>" [--supersedes N] [--adr NNN] [--source S] New active entry (default source user-confirmed, lazy-creates agreements.md from the template on first use); with --supersedes N atomically archives AGR-N as superseded and links it to the new entry 0; 2 usage (empty/multiline statement); 1 invalid --supersedes target or damaged file
defer N — Move active AGR-N to ## Deferred 0; 1 not active
reject N — Move active AGR-N to ## Archive marked rejected 0; 1 not active
question "<text>" — Append - Q-NNN: <text> to ## Open Questions (no managed-block sync) 0
resolve N — Close open question Q-N 0; 1 not found
list [--all] Print ## Active (default) or the whole registry 0
sync — Rebuild the managed block in CLAUDE.md/AGENTS.md from the file (reconciles hand edits) 0; 1 damaged block/file

Statements are single-line — an embedded newline is a usage error (exit 2). Every mutating subcommand takes the <bank>/.agreements.lock (same _lock_acquire/_lock_release idiom as mb-work-progress-append.sh), writes via temp-file + mv, then re-syncs the managed block. MB_AGREEMENTS=off (env or a .mb-config line) turns every subcommand into an explained no-op, exit 0, zero writes.

Read the full file on GitHub · 88 lines

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. 1mo ago Changed · +25 tokens per session bc768c724196
  2. 3mo ago First seen · 88 lines · 13 tokens per session scan A d81005761fa2

Subscribe to this mod's changes

agree is a command published in the GitHub repository fockus/skill-memory-bank (33 stars, last pushed 5d ago), licensed MIT. It adds 38 tokens to every session and 1,275 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.

Related

agree compared with commands from other repositories

agree next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agreefockus/skill-memory-bankCommand335d agoMITA38Claude Code
research-verifydrobins25/craftCommand74yesterdayMITA28Claude Code
pauseToRvaLDz/trailheadCommand37yesterdayMITA11Claude Code
auditToRvaLDz/trailheadCommand37yesterdayMITA28Claude Code
unity-migrateXeldarAlz/everything-claude-unityCommand257mo agoMITA26Claude Code
unity-testXeldarAlz/everything-claude-unityCommand257mo agoMITA34Claude Code
specyknnv/brownspecCommand23mo agoMITA20Claude Code