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.
git clone --depth 1 https://github.com/luanpdd/kit-mcpWrote 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/luanpdd/kit-mcp/discutir-fase)<a href="https://agentmods.dev/commands/luanpdd/kit-mcp/discutir-fase"><img src="https://agentmods.dev/badge/commands/luanpdd/kit-mcp/discutir-fase/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.
<a href="https://agentmods.dev/commands/luanpdd/kit-mcp/discutir-fase"><img src="https://agentmods.dev/badge/commands/luanpdd/kit-mcp/discutir-fase.svg" alt="Reviewed on agentmods" width="80" 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.00039 | $0.01484 |
| Opus 5 | $0.00019 | $0.00742 |
| Sonnet 5 | $0.00008 | $0.00297 |
| Haiku 4.5 | $0.00004 | $0.00148 |
Grade A, and why
discutir-fase 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 6d 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Como funciona:
- Carregar contexto anterior (PROJECT.md, REQUIREMENTS.md, STATE.md, arquivos CONTEXT.md anteriores)
- Explorar base de código em busca de recursos e padrões reutilizáveis
- Analisar a fase — pular áreas cinzentas já decididas em fases anteriores
- Apresentar áreas cinzentas restantes — usuário seleciona quais discutir
- Aprofundar cada área selecionada até satisfação
- Criar CONTEXT.md com decisões que guiam pesquisa e planejamento
Saída: {phase_num}-CONTEXT.md — decisões claras o suficiente para que agentes subsequentes possam agir sem perguntar ao usuário novamente
<execution_context> @./.claude/framework/workflows/discuss-phase.md @./.claude/framework/workflows/discuss-phase-assumptions.md @./.claude/framework/templates/context.md </execution_context>
Arquivos de contexto são resolvidos no workflow usando init phase-op e chamadas de ferramentas de roadmap/estado.
Se DISCUSS_MODE for "assumptions": Ler e executar @./.claude/framework/workflows/discuss-phase-assumptions.md do início ao fim.
Se DISCUSS_MODE for "discuss" (ou não definido, ou qualquer outro valor): Ler e executar @./.claude/framework/workflows/discuss-phase.md do início ao fim.
OBRIGATÓRIO: Os arquivos execution_context listados acima SÃO as instruções. Ler o arquivo de workflow ANTES de tomar qualquer ação. As seções de objective e success_criteria neste arquivo de comando são resumos — o arquivo de workflow contém o processo completo passo a passo com todos os comportamentos obrigatórios, verificações de configuração e padrões de interação. Não improvisar a partir do resumo.
<success_criteria>
- Contexto anterior carregado e aplicado (sem re-perguntar questões já decididas)
- Áreas cinzentas identificadas através de análise inteligente
- Usuário escolheu quais áreas discutir
- Cada área selecionada explorada até satisfação
- Expansão de escopo redirecionada para ideias adiadas
- CONTEXT.md captura decisões, não visão vaga
- Usuário conhece os próximos passos </success_criteria>
<observability_integration> Integração com Observability-Driven Development (v1.9):
Quando o workflow.observability_phase_questions = true (default), o workflow inclui pergunta canônica de ODD na sessão de discussão:
"Quais SLIs essa fase impacta? O que precisa ser instrumentado para responder às 4 perguntas pré-PR?"
A pergunta é resolvida consultando a skill observability-driven-development e o resultado é registrado na seção <observability> do CONTEXT.md gerado:
<observability>
## SLIs impactados
- [SLI ou "nenhum — fase puramente interna"]
## Instrumentação necessária
- Spans novos: [lista]
- Atributos canônicos: [user.id, tenant_id, ...]
- error.type enum esperado: [validation, timeout, ...]
</observability>
O plan-checker invocado pelo /planejar-fase (Phase 33 — INT-FW-02) lê esta seção e bloqueia o plano se ODD ausente para fases voltadas ao usuário (skip silenciosamente para fases de infraestrutura — ver detecção em discuss-phase.md).
REQ: INT-FW-01. </observability_integration>
<legacy_refactor_integration> Integração com Suíte Legacy Code (Feathers):
Quando o workflow detecta intent de refactor (palavras-chave em descrição da fase: "refator", "refactor", "extrair", "limpar", "reorganizar", "split", "quebrar classe/módulo"), inclui pergunta canônica:
"Esta fase envolve refactor de arquivo existente? Se sim, qual é o arquivo alvo?"
Para cada arquivo identificado:
- Coleta line count + checa se path matches contrato externo (supabase/functions, src/api, webhooks, pages/api)
- Invoca
refactor-safety-auditorem modo dry-run para coletar evidências sem bloquear - Resultado registrado em CONTEXT.md em seção
<refactor_safety>:
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.
- 6d ago First seen · 132 lines · 39 tokens per session scan A ddc6eda6ab8d
discutir-fase is a command published in the GitHub repository luanpdd/kit-mcp (1 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 1,484 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-09-03.
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.
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.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.