brat-product

brat-product is a skill for Claude Code, Codex from neul-labs/brat. It costs 27 tokens per session (409 once invoked), scanned A, original, MIT.

A product-requirements step that turns a user's request into structured requirements stored in a product knowledge base.

In plain words
What is it for?
Use it to create user stories, acceptance criteria, acceptance tests, priorities, and linked product notes.
Why use it?
It gives vague requests a consistent form and checks existing product information before creating or changing requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create user stories, acceptance criteria, acceptance tests, priorities, and linked product notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neul-labs/brat/brat-product
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.

Any agent
npx skills add neul-labs/brat --skill brat-product
Clone the repo
git clone --depth 1 https://github.com/neul-labs/brat

Made for: Claude Code, Codex.

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 brat-product

README.md
[![agentmods](https://agentmods.dev/badge/skills/neul-labs/brat/brat-product/github.svg)](https://agentmods.dev/skills/neul-labs/brat/brat-product)
Your own site
<a href="https://agentmods.dev/skills/neul-labs/brat/brat-product"><img src="https://agentmods.dev/badge/skills/neul-labs/brat/brat-product/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 brat-product

Your own site · 80×15
<a href="https://agentmods.dev/skills/neul-labs/brat/brat-product"><img src="https://agentmods.dev/badge/skills/neul-labs/brat/brat-product.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 409 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.00027 $0.00409
Opus 5 $0.00014 $0.00204
Sonnet 5 $0.00005 $0.00082
Haiku 4.5 $0.00003 $0.00041

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

Security

Grade A, and why

brat-product 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 11d 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.

crates/brat-skills/skills/brat-product/SKILL.md · 58 lines

What it actually says

brat-product Skill

Purpose

Analyze user intent and produce structured product requirements stored in the zkb product knowledge base.

Input Schema (JSON)

{
  "intent": "string (user's natural language request)",
  "product_context": "string (relevant product notes from KB)",
  "existing_features": ["string (list of known features from KB)"],
  "constraints": "string (business/technical constraints)"
}

Output Schema (JSON)

{
  "action": "create_requirements|update_requirements|answer",
  "requirements": {
    "title": "string",
    "user_stories": [
      {
        "story": "string (As a X, I want Y, so that Z)",
        "acceptance_criteria": ["string"],
        "priority": "P0|P1|P2"
      }
    ],
    "acceptance_tests": ["string (test descriptions)"],
    "notes_to_create": [
      {
        "title": "string",
        "body": "string",
        "tags": ["string"],
        "type": "fleeting|permanent|structure"
      }
    ]
  },
  "answer": "string (if action=answer)",
  "escalation_reason": "string (if unclear)"
}

Guardrails

  • ALWAYS query KB for existing product context before writing
  • User stories must follow "As a... I want... so that..." format
  • Every requirement needs at least one acceptance criterion
  • Create fleeting notes for raw ideas, permanent for validated requirements
  • Link new notes to existing product structure note
  • NEVER proceed to architecture phase from this skill
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. 11d ago First seen · 58 lines · 0 tokens per session scan A c3ae338ad6b5

Subscribe to this mod's changes

brat-product is a skill published in the GitHub repository neul-labs/brat (5 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 409 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-31.

Related

Other skills, from other repositories

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

workflow

Use when a task is too large for turn-by-turn orchestration and should run through the big-task workflow lane: system-wide changes, large migrations, repo-wide audits, high-confidence verification, or tasks explicitly asking to run a workflow. Claude Code uses native dynamic workflows; Codex, OpenCode, and Grok use…

jeremylongshore/tons-of-skills-marketplace · 101 tokens

swarm-plan

Full execution protocol for MODE: PLAN -- plan creation, external plan ingestion, QA gate persistence, task granularity, and traceability checks.

ZaxbyHub/opencode-swarm · 32 tokens

loop

Full execution protocol for MODE: LOOP — the compound-engineering loop: brainstorm → plan → build → review → improve, iterating under defense-in-depth stop conditions with generator/critic separation, durable resumable state, and mandatory compounding learning capture. Loaded on demand by the architect when the loop…

ZaxbyHub/opencode-swarm · 72 tokens

council

Full execution protocol for MODE: COUNCIL -- General Council research, parallel member dispatch, disagreement handling, and synthesis.

ZaxbyHub/opencode-swarm · 28 tokens

deep-research

Full execution protocol for MODE: DEEPRESEARCH — orchestrator-worker deep research over external sources: decompose, iterative websearch/webfetch retrieval, parallel sme synthesis, dual-reviewer claim verification, critic challenge of high-stakes claims, and a cited report. Loaded on demand by the architect when the…

ZaxbyHub/opencode-swarm · 82 tokens