bmad-github-story-dev

bmad-github-story-dev is a skill for Claude Code from choucrifahed/agent-plugins. It costs 41 tokens per session (2,142 once invoked), scanned A, original, MIT.

A guided workflow for implementing a BMAD story from GitHub through a pull request. A Git worktree is a separate working folder for a branch, and a pull request is a proposed change for review.

In plain words
What is it for?
Starting the next ready story, working in or creating its branch and worktree, committing tasks, updating GitHub labels, and opening a pull request.
Why use it?
It coordinates story selection, status locking, branch setup, commits, and review steps so development work follows one repeatable path.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the bmad-github plugin — 8 skills shipped together

Good fit Starting the next ready story, working in or creating its branch and worktree, committing tasks, updating GitHub labels, and opening a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/choucrifahed/agent-plugins/bmad-github-story-dev
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 choucrifahed/agent-plugins --skill bmad-github-story-dev
Clone the repo
git clone --depth 1 https://github.com/choucrifahed/agent-plugins

Made for: Claude Code.

Or install bmad-github, the plugin that ships this one along with the rest of its 8 skills.

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 bmad-github-story-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/choucrifahed/agent-plugins/bmad-github-story-dev/github.svg)](https://agentmods.dev/skills/choucrifahed/agent-plugins/bmad-github-story-dev)
Your own site
<a href="https://agentmods.dev/skills/choucrifahed/agent-plugins/bmad-github-story-dev"><img src="https://agentmods.dev/badge/skills/choucrifahed/agent-plugins/bmad-github-story-dev/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 bmad-github-story-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/choucrifahed/agent-plugins/bmad-github-story-dev"><img src="https://agentmods.dev/badge/skills/choucrifahed/agent-plugins/bmad-github-story-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,142 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.00041 $0.02142
Opus 5.5 $0.00016 $0.00857
Sonnet 5.5 $0.00008 $0.00428
Haiku 4.5 $0.00004 $0.00214

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

Security

Grade A, and why

bmad-github-story-dev 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 21d 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.

bmad-github/skills/bmad-github-story-dev/SKILL.md · 214 lines

How it starts

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

Story Dev (deprecated): Worktree + BMAD bmad-dev-story + PR

Deprecated. BMad v6.11 made bmad-build its official implementation flow and deprecated bmad-create-story and bmad-dev-story. Use Story Build (SB) instead. This skill keeps working while BMad's deprecated bmad-dev-story skill is installed, and goes away when BMad removes it in v7.

Start by printing:

Deprecated: Story Build (SB) is now the official way to build a story. Story Dev runs only while BMad's deprecated bmad-dev-story skill is installed.

This skill:

  1. Detects the working context (main checkout vs. existing story worktree)
  2. Syncs local state
  3. Picks the target story (from the branch name, user argument, or next status:ready GitHub issue)
  4. Verifies the story file is committed
  5. Flips the GitHub issue status label (the cross-agent lock)
  6. Sets up a git worktree/branch, or reuses the current one
  7. Invokes BMAD's deprecated bmad-dev-story skill with auto-commits per task
  8. Creates a PR when development is complete

On Activation

Load Config

  1. Set {project-root} to the output of git rev-parse --show-toplevel.
  2. Run:
    uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key modules.bmm.planning_artifacts --key modules.bmm.implementation_artifacts --key modules.bmad-github.worktree_root
    
    If {project-root}/_bmad/scripts/resolve_config.py does not exist in this checkout (for example a worktree of a repository that does not commit _bmad/), run the same command with --project-root set to the main checkout: the parent directory of git rev-parse --path-format=absolute --git-common-dir.
  3. Resolve from the JSON output:
    • {planning_artifacts} and {implementation_artifacts} — {project-root}-prefixed paths; resolve them against the current checkout.
    • {worktree_root} — optional. Default ../{repo-name}-worktrees. Replace {repo-name} with the basename of the main checkout, and resolve a relative value against the main checkout.
  4. If the command fails (including uv being unavailable), report its output and HALT:
    bmad-github needs BMad v6.12+ and uv. Install uv (https://docs.astral.sh/uv/), then run `npx bmad-method install`.
    
    If either modules.bmm.* key is missing, HALT and tell the user to install the BMad Method module (bmm).

Read the full file on GitHub · 214 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. 21d ago Changed · -130 lines · -37 tokens per session e4020ea42cb2
  2. 3mo ago First seen · 344 lines · 78 tokens per session scan A c68c54616c9f

Subscribe to this mod's changes

bmad-github-story-dev is a skill published in the GitHub repository choucrifahed/agent-plugins (6 stars, last pushed 21d ago), licensed MIT. It adds 41 tokens to every session and 2,142 once invoked, about $0.0002 per session on Opus 5.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

bmad-github-story-dev compared with skills from other repositories

bmad-github-story-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bmad-github-story-devchoucrifahed/agent-pluginsSkill621d agoMITA41Claude Code
devops/changelog-generationechoVic/boss-skillSkill630yesterdayMITA36Claude Code
bmad-story-pipeline-worktreeterryso/claude-bmad-skillsSkill418mo agoMITA23Claude Code
bmad-epic-pipeline-worktreeterryso/claude-bmad-skillsSkill418mo agoMITA20Claude Code
github-release-managementruvnet/RuViewSkill106ktodayMITA27Claude Code
github-multi-reporuvnet/RuViewSkill106ktodayMITA21Claude Code
github-pr-workflowpaperclipai/paperclipSkill118ktodayMITA39Claude Code, Codex