TaskSentinel: Command for Claude Code

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

brownfield-create-story is a command for Claude Code from gonewx/TaskSentinel. It costs 0 tokens per session (929 once invoked), scanned A, original, MIT.

A command for writing one small user story for an existing software project, often called a brownfield project. It is intended for a focused enhancement or bug fix that follows the project's current patterns.

In plain words
What is it for?
Use it to assess a small existing-system change and create one development story with clear boundaries.
Why use it?
It helps define a narrowly scoped change without starting a larger product or architecture process. It also checks that the work is small, isolated, and straightforward to integrate.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is gonewx/TaskSentinel's own configuration. It tells Claude Code how to work on TaskSentinel 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 TaskSentinel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gonewx/TaskSentinel. 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/gonewx/TaskSentinel/main/.claude/commands/BMad/tasks/brownfield-create-story.md
Clone the repo
git clone --depth 1 https://github.com/gonewx/TaskSentinel

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/gonewx/tasksentinel/brownfield-create-story.svg)](https://agentmods.dev/commands/gonewx/tasksentinel/brownfield-create-story)
Your own site
<a href="https://agentmods.dev/commands/gonewx/tasksentinel/brownfield-create-story"><img src="https://agentmods.dev/badge/commands/gonewx/tasksentinel/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 929 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.00929
Opus 5 $0.00000 $0.00464
Sonnet 5 $0.00000 $0.00186
Haiku 4.5 $0.00000 $0.00093

Measured 7d ago against content hash c196bd15f13b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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

Copies of this mod

3 near-identical copies found in the catalogue:

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

How it starts

The opening of the file, as written. The whole thing — 152 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}}
Acceptance Criteria

Read the full file on GitHub · 152 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 · 152 lines · 0 tokens per session scan A c196bd15f13b

Subscribe to this mod's changes

brownfield-create-story is a command published in the GitHub repository gonewx/TaskSentinel (18 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 929 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-08-30.