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.
npx agentmods add commands/hmaurus/masterclaude/pdir-criar-prdgit clone --depth 1 https://github.com/hmaurus/masterclaudeWrote 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/hmaurus/masterclaude/pdir-criar-prd)<a href="https://agentmods.dev/commands/hmaurus/masterclaude/pdir-criar-prd"><img src="https://agentmods.dev/badge/commands/hmaurus/masterclaude/pdir-criar-prd.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.00030 | $0.00891 |
| Opus 5 | $0.00015 | $0.00445 |
| Sonnet 5 | $0.00006 | $0.00178 |
| Haiku 4.5 | $0.00003 | $0.00089 |
Grade A, and why
pdir-criar-prd 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 5d 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDIR: Criar PRD
Cria um PRD completo a partir de uma entrevista em profundidade com o usuário sobre o projeto. O PRD é o documento-raiz do workflow — define visão, escopo e o checklist de demandas consumido por /pdir-proxima-demanda e /pdir-validar-implementacao.
Este comando NÃO cria specs nem implementa. Ele produz apenas o PRD — o roadmap do projeto.
Em qualquer passo, se algo falhar ou faltar informação, informe o erro e pergunte ao usuário como prosseguir.
Processar $ARGUMENTS
Extrair do $ARGUMENTS:
- Descrição do projeto: o que o usuário quer construir
Se vazio: perguntar ao usuário qual projeto ele quer planejar.
Instruções
1. Explorar Contexto Existente
Ler CLAUDE.md, README.md, package.json e arquivos relevantes. Se docs/projeto/PRD.md já existir, ler o conteúdo atual — pode ser uma atualização, não criação do zero.
Entender stack, estrutura e estado atual do projeto para fazer perguntas informadas.
2. Entrevistar o Usuário
Entrevistar o usuário em profundidade usando AskUserQuestion. Cobrir:
- Visão e objetivo — o que o projeto resolve, para quem
- Escopo — o que está dentro e fora do escopo
- Funcionalidades — listar todas as funcionalidades desejadas
- Prioridades — o que é essencial vs. desejável vs. futuro
- Fases — se faz sentido dividir em fases/milestones
- Restrições — prazos, tecnologias obrigatórias, limitações
- Integrações — APIs, serviços externos, dependências
Regras da entrevista:
- Focar no macro — escopo, prioridades, dependências entre funcionalidades
- Não descer para detalhes de implementação — isso é trabalho da spec
- Ir fundo em prioridades — se o usuário listar tudo como importante, desafiar para priorizar
- Continuar até cobrir tudo — não encerrar prematuramente
3. Gerar PRD
Criar docs/projeto/ se não existir.
Saída: docs/projeto/PRD.md
Estrutura obrigatória do PRD:
# PRD: [Nome do Projeto]
## Visão
[Descrição concisa do que o projeto é e resolve]
## Escopo
### Dentro do escopo
- ...
### Fora do escopo
- ...
## Stack / Restrições Técnicas
- ...
## Demandas
### Fase 1 — [nome da fase]
- [ ] Demanda 1 — descrição breve
- [ ] Demanda 2 — descrição breve
### Fase 2 — [nome da fase]
- [ ] Demanda 3 — descrição breve
- [ ] Demanda 4 — descrição breve
(quantas fases fizerem sentido)
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.
- 5d ago First seen · 106 lines · 30 tokens per session scan A 924ca347c618
pdir-criar-prd is a command published in the GitHub repository hmaurus/masterclaude (2 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 891 once invoked, about $0.0002 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-08-31.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.