q-brief

q-brief is a command for Claude Code from assafkip/investigators-copilot. It costs 0 tokens per session (445 once invoked), scanned A, original, MIT.

A structured report command that summarises the current state of an investigation after required review steps are complete.

In plain words
What is it for?
Use it to create an executive summary, cited findings, a target overview, a timeline, collection gaps, and next steps.
Why use it?
It checks for missing challenge work, client questions, or pre-mortem analysis before producing a brief, preventing a report from skipping those required checks.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the investigators-copilot plugin — 6 skills, 24 commands, 1 agent, 2 hooks shipped together

Good fit Use it to create an executive summary, cited findings, a target overview, a timeline, collection gaps, and next steps.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/assafkip/investigators-copilot/q-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/assafkip/investigators-copilot

Made for: Claude Code.

Or install investigators-copilot, the plugin that ships this one along with the rest of its 6 skills, 24 commands, 1 agent, 2 hooks.

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 q-brief

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/assafkip/investigators-copilot/q-brief"><img src="https://agentmods.dev/badge/commands/assafkip/investigators-copilot/q-brief.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 445 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.00000 $0.00445
Opus 5.5 $0.00000 $0.00178
Sonnet 5.5 $0.00000 $0.00089
Haiku 4.5 $0.00000 $0.00044

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

Security

Grade A, and why

q-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 15d 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/q-brief.md · 22 lines

What it actually says

Generate a structured investigation brief summarizing current state.

Active case: read the case folder name from the first line of .active-case (written by /q-begin and /q-new-case). Every path below is inside investigations/<case>/. If .active-case is missing or empty, ask the founder which case to use. Never read or write the legacy root folders canonical/, investigations/<case>/, memory/.

Execute the /q-brief steps from .q-system/commands.md. Summary:

  1. Gate check (blocking, all three): investigation/findings/CHALLENGE-*.md exists (else run /q-challenge); /q-client-questions has been run and answered; output/analyses/ holds a premortem (else run /analyze premortem). If any gate fails, name it and stop.
  2. Read investigations/<case>/canonical/scope.md, all targets, all findings, timeline, and completed analyses in output/analyses/
  3. Generate brief with:
    • Executive summary: 3-5 bullet points answering the primary question
    • Key findings: confirmed intelligence with confidence levels and citations
    • Target matrix: all targets, status, key connections
    • Timeline summary: major events in chronological order
    • Collection gaps: what we still need
    • Hypotheses status: supported / refuted / undetermined
    • Recommended next steps: prioritized by impact, tagged with Energy + Time Est
  4. Evidence pass: every URL the brief relies on is an [EV-NNNN] item (capture missing ones with capture-evidence.sh --batch <file> --case <case>), then render with python3 skills/osint/scripts/render-report.py <brief.md> <out.md> (fails on a broken citation)
  5. Save to investigations/<case>/output/briefs/brief-YYYY-MM-DD.md
  6. Present to founder

Argument: $ARGUMENTS (optional: "executive" for short version)

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. 15d ago First seen · 22 lines · 0 tokens per session scan A db5373453c48

Subscribe to this mod's changes

q-brief is a command published in the GitHub repository assafkip/investigators-copilot (77 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 445 tokens. 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-11-15.

Related

q-brief compared with commands from other repositories

q-brief next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
q-briefassafkip/investigators-copilotCommand7728d agoMITA0Claude Code
q-client-questionsassafkip/huntkitCommand531mo agoMITA0Claude Code
q-new-caseassafkip/huntkitCommand531mo agoMITA0Claude Code
q-screenshotsassafkip/huntkitCommand531mo agoMITA0Claude Code
q-endassafkip/huntkitCommand531mo agoMITA0Claude Code
q-intakeassafkip/huntkitCommand531mo agoMITA0Claude Code
q-osintassafkip/huntkitCommand531mo agoMITA0Claude Code