brownfield-create-story

brownfield-create-story is a command for Claude Code from cakemail/cakemail-api-documentation-mcp. It costs 0 tokens per session (937 once invoked), scanned A, a copy of brownfield-create-story, MIT.

A planning command for small changes to an existing software project, known as a brownfield project.

In plain words
What is it for?
Use it to assess a small change and create one focused user story that can be completed in a single development session.
Why use it?
It avoids unnecessary architecture and planning work when a contained enhancement or bug fix follows existing patterns.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to assess a small change and create one focused user story that can be completed in a single development session.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/cakemail/cakemail-api-documentation-mcp/brownfield-create-story
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/cakemail/cakemail-api-documentation-mcp

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 brownfield-create-story

README.md
[![agentmods](https://agentmods.dev/badge/commands/cakemail/cakemail-api-documentation-mcp/brownfield-create-story.svg)](https://agentmods.dev/commands/cakemail/cakemail-api-documentation-mcp/brownfield-create-story)
Your own site
<a href="https://agentmods.dev/commands/cakemail/cakemail-api-documentation-mcp/brownfield-create-story"><img src="https://agentmods.dev/badge/commands/cakemail/cakemail-api-documentation-mcp/brownfield-create-story.svg" alt="Measured on agentmods" 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 937 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 97% copy Near-identical to another mod 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.00937
Opus 5 $0.00000 $0.00468
Sonnet 5 $0.00000 $0.00187
Haiku 4.5 $0.00000 $0.00094

Measured 7d ago against content hash 82f80d5a5eec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

brownfield-create-story 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 7d 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.

Origin

This is a copy

97% identical to brownfield-create-story — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/BMad/tasks/brownfield-create-story.md · 154 lines

How it starts

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

/brownfield-create-story Task

When this command is used, execute the following task:

Create Brownfield Story Task

Purpose

Create a single user story for very small brownfield enhancements that can be completed in one focused development session. This task is for minimal additions or bug fixes that require existing system integration awareness.

When to Use This Task

Use this task when:

  • The enhancement can be completed in a single story
  • No new architecture or significant design is required
  • The change follows existing patterns exactly
  • Integration is straightforward with minimal risk
  • Change is isolated with clear boundaries

Use brownfield-create-epic when:

  • The enhancement requires 2-3 coordinated stories
  • Some design work is needed
  • Multiple integration points are involved

Use the full brownfield PRD/Architecture process when:

  • The enhancement requires multiple coordinated stories
  • Architectural planning is needed
  • Significant integration work is required

Instructions

1. Quick Project Assessment

Gather minimal but essential context about the existing project:

Current System Context:

  • Relevant existing functionality identified
  • Technology stack for this area noted
  • Integration point(s) clearly understood
  • Existing patterns for similar work identified

Change Scope:

  • Specific change clearly defined
  • Impact boundaries identified
  • Success criteria established

2. Story Creation

Create a single focused story following this structure:

Story Title

{{Specific Enhancement}} - Brownfield Addition

User Story

As a {{user type}}, I want {{specific action/capability}}, So that {{clear benefit/value}}.

Story Context

Existing System Integration:

  • Integrates with: {{existing component/system}}
  • Technology: {{relevant tech stack}}
  • Follows pattern: {{existing pattern to follow}}
  • Touch points: {{specific integration points}}

Read the full file on GitHub · 154 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. 7d ago First seen · 154 lines · 0 tokens per session scan A 82f80d5a5eec

Subscribe to this mod's changes

brownfield-create-story is a command published in the GitHub repository cakemail/cakemail-api-documentation-mcp (0 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 937 tokens. A static security scan graded it A with 0 findings. It is 97% identical to brownfield-create-story, differing in 2 lines, and is treated as a copy.