thinkhaven: Command for Claude Code

.claude/commands/BMad/tasks/brownfield-create-story.md

brownfield-create-story is a command for Claude Code from hollandkevint/thinkhaven. It costs 0 tokens per session (937 once invoked), scanned A, a copy of brownfield-create-story, Apache-2.0.

A command for creating one small user story in an existing software project, also called a brownfield project. The story is intended for a focused enhancement or bug fix.

In plain words
What is it for?
It helps assess the current system and write a narrowly scoped story when the change follows existing patterns and needs little design work.
Why use it?
It helps decide when a small change can be handled alone and when a larger planning process is needed.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is hollandkevint/thinkhaven's own configuration. It tells Claude Code how to work on thinkhaven itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything thinkhaven configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hollandkevint/thinkhaven. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hollandkevint/thinkhaven/main/.claude/commands/BMad/tasks/brownfield-create-story.md
Clone the repo
git clone --depth 1 https://github.com/hollandkevint/thinkhaven

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/hollandkevint/thinkhaven/brownfield-create-story/github.svg)](https://agentmods.dev/commands/hollandkevint/thinkhaven/brownfield-create-story)
Your own site
<a href="https://agentmods.dev/commands/hollandkevint/thinkhaven/brownfield-create-story"><img src="https://agentmods.dev/badge/commands/hollandkevint/thinkhaven/brownfield-create-story/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 brownfield-create-story

Your own site · 80×15
<a href="https://agentmods.dev/commands/hollandkevint/thinkhaven/brownfield-create-story"><img src="https://agentmods.dev/badge/commands/hollandkevint/thinkhaven/brownfield-create-story.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 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 10d ago against content hash 82f80d5a5eec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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. 10d 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 hollandkevint/thinkhaven (5 stars, last pushed 11d ago), licensed Apache-2.0. 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.