gsd-workflow

gsd-workflow is a command for Claude Code from mrboups/xbrain. It costs 13 tokens per session (239 once invoked), scanned A, a copy of gsd-workflow, MIT.

A command router for the main project phase pipeline, from gathering context and defining deliverables through planning, execution, testing, and progress tracking.

In plain words
What is it for?
Use it to discuss or specify a phase, create or execute its plan, verify the work through user acceptance testing, manage phases, advance the project, or request plan review.
Why use it?
It helps you select the next workflow for a phase without memorizing the full sequence of project commands.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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.

agentmods
npx agentmods add commands/mrboups/xbrain/ns-workflow
Clone the repo
git clone --depth 1 https://github.com/mrboups/xbrain

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 gsd-workflow

README.md
[![agentmods](https://agentmods.dev/badge/commands/mrboups/xbrain/ns-workflow.svg)](https://agentmods.dev/commands/mrboups/xbrain/ns-workflow)
Your own site
<a href="https://agentmods.dev/commands/mrboups/xbrain/ns-workflow"><img src="https://agentmods.dev/badge/commands/mrboups/xbrain/ns-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 239 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% 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.00013 $0.00239
Opus 5 $0.00006 $0.00120
Sonnet 5 $0.00003 $0.00048
Haiku 4.5 $0.00001 $0.00024

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

Security

Grade A, and why

gsd-workflow 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 2d 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

86% identical to gsd-workflow — 7 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/gsd/ns-workflow.md · 28 lines

What it actually says

Route to the appropriate phase-pipeline skill based on the user's intent. Sub-skill names below are post-#2790 consolidated targets — gsd-phase absorbs the former add/insert/remove/edit-phase commands and gsd-progress absorbs the former next/do commands.

User wants Invoke
Gather context before planning gsd-discuss-phase
Clarify what a phase delivers gsd-spec-phase
Create a PLAN.md gsd-plan-phase
Execute plans in a phase gsd-execute-phase
Verify built features through UAT gsd-verify-work
Add / insert / remove / edit a phase gsd-phase
Advance to the next logical step gsd-progress
Offload planning to the ultraplan cloud gsd-ultraplan-phase
Cross-AI plan review convergence loop gsd-plan-review-convergence

Invoke the matched skill directly using the Skill tool.

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. 2d ago First seen · 28 lines · 13 tokens per session scan A c18b2f414d2f

Subscribe to this mod's changes

gsd-workflow is a command published in the GitHub repository mrboups/xbrain (2 stars, last pushed 21d ago), licensed MIT. It adds 13 tokens to every session and 239 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to gsd-workflow, differing in 7 lines, and is treated as a copy.