qnew

qnew is a command for Claude Code from brianmontero18/dev-mcp-tools. It costs 0 tokens per session (291 once invoked), scanned A, original, MIT.

A command named "qnew" that prepares the agent to start a new coding task by reviewing project rules and asking clarifying questions. TDD, mentioned in its template, means writing a failing test before the implementation.

In plain words
What is it for?
It is for clarifying requirements, checking the project's CLAUDE.md guidance, and outlining an implementation approach.
Why use it?
It reduces misunderstandings and helps ensure new work follows the project's coding, testing, security, and Git conventions.

Command for Claude Code

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/brianmontero18/dev-mcp-tools/qnew
Clone the repo
git clone --depth 1 https://github.com/brianmontero18/dev-mcp-tools

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 qnew

README.md
[![agentmods](https://agentmods.dev/badge/commands/brianmontero18/dev-mcp-tools/qnew.svg)](https://agentmods.dev/commands/brianmontero18/dev-mcp-tools/qnew)
Your own site
<a href="https://agentmods.dev/commands/brianmontero18/dev-mcp-tools/qnew"><img src="https://agentmods.dev/badge/commands/brianmontero18/dev-mcp-tools/qnew.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00291
Opus 5 $0.00000 $0.00146
Sonnet 5 $0.00000 $0.00058
Haiku 4.5 $0.00000 $0.00029

Measured 4d ago against content hash 08eca3248f7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qnew 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.

.claude/commands/qnew.md · 40 lines

What it actually says

QNEW - New Feature/Task Setup

When user types "qnew", execute this workflow:

1. Best Practices Review

  • ✅ Read and understand ALL best practices in CLAUDE.md
  • ✅ Confirm understanding of:
    • Implementation Best Practices (BP-1 to BP-3)
    • Coding standards (C-1 to C-9)
    • Testing requirements (T-1 to T-5)
    • Git conventions (GH-1 to GH-2)
    • Security protocols (SEC-1 to SEC-11)
    • GCC context management (GCC-1 to GCC-11)

2. Task Setup

  • Ask clarifying questions about the feature/task
  • Understand requirements completely before coding
  • Draft approach if complex work is involved
  • List pros/cons if multiple approaches exist

Response Template

🆕 **QNEW - Starting New Task**

**Understanding Requirements:**
- [Ask clarifying questions here]

**Best Practices Confirmed:**
- ✅ TDD: scaffold stub → write failing test → implement
- ✅ Use existing domain vocabulary for naming
- ✅ Branded types for IDs
- ✅ Type-only imports with `import type`
- ✅ Colocated tests in same directory
- ✅ Conventional commits format

**Proposed Approach:**
[Draft approach here if complex]

Ready to proceed with implementation following all established patterns.
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. 4d ago First seen · 40 lines · 0 tokens per session scan A 08eca3248f7c

Subscribe to this mod's changes

qnew is a command published in the GitHub repository brianmontero18/dev-mcp-tools (0 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 291 tokens. 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-01.