Borrowing it
Nothing to install: this file belongs to zekiriabd/SDD-Pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zekiriabd/SDD-Pro/main/.claude/commands/us-generate.mdgit clone --depth 1 https://github.com/zekiriabd/SDD-ProWrote 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.
[](https://agentmods.dev/commands/zekiriabd/sdd-pro/us-generate)<a href="https://agentmods.dev/commands/zekiriabd/sdd-pro/us-generate"><img src="https://agentmods.dev/badge/commands/zekiriabd/sdd-pro/us-generate.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.03406 |
| Opus 5 | $0.00008 | $0.01703 |
| Sonnet 5 | $0.00003 | $0.00681 |
| Haiku 4.5 | $0.00002 | $0.00341 |
Grade A, and why
us-generate 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/us-generate — Découpe une FEAT en User Stories
⚠️ Commande interne v7.0.0 — invoquée par
/sdd-fullSTEP 2. Utilisateur final : préférer/sdd-fullou/dev-run(gèrent pré-conditions, idempotence, état).
Invoque l'agent PO pour découper une FEAT fonctionnelle en User
Stories structurées (cible UsGranularityTarget défaut 3, warn au-delà de
UsGranularityWarnAt défaut 6, hard cap UsGranularityHardCap défaut 10)
dans workspace/.
Usage :
/us-generate {n}— où{n}est le numéro de la FEAT/us-generate {n} --replace-pseudo— migration POC → standard : supprime la pseudo-US générée par/sdd-pocavant de générer les vraies US
STEP 1 — Valider les arguments
Arguments :
{n}(entier ≥ 1, obligatoire)--allow-large-feat(optionnel, v7.0.0 P2 #13) — bypass conscient du hard capUsGranularityHardCap(default 10). À utiliser pour FEATs métier légitimement très larges (≥ 11 flux distincts). Effet : exportSDD_ALLOW_LARGE_FEAT=1avant invocation agentpo, audit-log dansworkspace/.sys/.audit/force-bypass.log. Préférer split FEAT.--replace-pseudo(optionnel, fix C1 audit 2026-08-30) — migration POC → standard (chemin promis par/sdd-pocSTEP 8 etfeat_to_pseudo_us.py). Supprime AVANT génération les pseudo-US POC de la FEAT (fichiersworkspace/us/{n}-*.mdportant le marqueur frontmattergenerated-by: feat_to_pseudo_us.py), puis la génération PO produit les vraies US granulaires. Sans ce flag, une pseudo-US résiduelle cohabite avec les vraies US (le PO écrase{n}-{m}-{Name}.mdpar basename, pas par{m}— la pseudo{n}-1-{FeatName}.mdsurvivrait si le{Name}réel diffère) → WARN collision émis (cf. STEP 2.4 et po.md STEP 2.bis). No-op silencieux si aucune pseudo-US détectée (idempotent).
Si {n} absent → demander :
Quel est le numéro de la FEAT à découper ? (ex. : 1 pour workspace/feats/1-Auth.md)
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.
- 4d ago First seen · 295 lines · 16 tokens per session scan A b6cc12d3b383
us-generate is a command published in the GitHub repository zekiriabd/SDD-Pro (191 stars, last pushed 4d ago), licensed Apache-2.0. It adds 16 tokens to every session and 3,406 once invoked, about $0.0001 per session on Opus 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-09-03.
Other commands, from other repositories
template
Manage issue templates for streamlined issue creation.
sync-linear
Sync current work with Linear ticket status.
add-note
Add an internal or external note to a ConnectWise PSA ticket.
fest-show
Show festival progression (in-progress tasks, roadmap, and dependency view).
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
workpm
A project-management workflow for coordinating multiple AI workers through five stages. It includes task assignment, shared activity logs, worker replacement, and final checks.