brief

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

A command that turns a rough request and attached documents into a checked, one-page project brief saved under `briefs/`.

In plain words
What is it for?
Use it at the start of work when the request is several paragraphs plus source documents. It copies source files into `inputs/` and can ask a small number of clarifying questions.
Why use it?
It gives a vague request a shared written shape before deeper discussion and planning begin.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

Good fit Use it at the start of work when the request is several paragraphs plus source documents. It copies source files into inputs/ and can ask a small number of clarifying questions.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/fockus/skill-memory-bank/brief"><img src="https://agentmods.dev/badge/commands/fockus/skill-memory-bank/brief.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 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,594 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.00043 $0.01594
Opus 5.5 $0.00017 $0.00638
Sonnet 5.5 $0.00009 $0.00319
Haiku 4.5 $0.00004 $0.00159

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

Security

Grade A, and why

brief 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 14d 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/brief.md · 113 lines

How it starts

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

/mb brief [--request | --request-file ] [--input ]… [--auto]

Formalize a raw request into a one-page brief stored with its sources, so the work enters the pipeline already shaped: brief → discuss → sdd → work.

This command is deliberately NOT an interview. /mb discuss owns the deep elicitation; briefing asks at most a handful of questions and only when it has to.

When to use

At the very start, when the request is a paragraph of prose plus a pile of documents and nobody has written down what the work actually is. Skip it when the request is already one clear sentence — go straight to /mb discuss.

Arguments

  • <topic> — matches [a-z0-9][a-z0-9-]*. Anything else is error=usage, exit 2, before anything is written.
  • --request <text> — the request inline.
  • --request-file <path> — the request read from a file.
  • --input <path> — repeatable; a source document to scan and copy into inputs/.
  • --auto — skip the clarifying-question gate and infer on best effort.

There is no overwrite or re-publish flag in MVP. Re-formalizing is done on a new <topic>, or after the user deletes briefs/<topic>/ by hand.

Pre-flight

Resolve the skill bundle root once and invoke every bundled helper through it — the working directory during /mb brief is the user's project, so a bare relative scripts/mb-… call either exits 127 or runs somebody else's script:

SKILL_DIR="${MB_SKILLS_ROOT:-$HOME/.claude/skills/memory-bank}"   # memory-bank skill bundle root
[ -f "$SKILL_DIR/scripts/mb-brief.sh" ] || {
  echo "mb: skill bundle not found at $SKILL_DIR — set MB_SKILLS_ROOT" >&2; exit 2; }

Never derive the root from $0: in an executable-Markdown snippet $0 is the shell, not this file.

Request source

Exactly one source of request text is used, and the rule is enforced before any candidate file is written.

  • Passing both --request and --request-file is error=usage, exit 2; when neither flag is given, the request is only the text of the user message that carried the invocation.
  • A --request whose value has no non-whitespace character is error=request_empty before the candidate is written, exit 2.
  • A --request-file that is missing, a symlink, a directory or contains .. is error=request_unreadable path=<p> before the candidate is written, exit 2.
  • A --request-file whose contents have no non-whitespace character is error=request_empty path=<p>, likewise before the candidate is written.

Read the full file on GitHub · 113 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. 14d ago Changed · +25 tokens per session f327a9470529
  2. 1mo ago First seen · 113 lines · 18 tokens per session scan A e07266fbb625

Subscribe to this mod's changes

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