dev-mcp-tools: Command for Claude Code

.claude/commands/qplan.md

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

A command named "qplan" that examines a codebase and produces an implementation plan based on its existing patterns. A codebase is the collection of source files for a software project.

In plain words
What is it for?
It is for analyzing related implementations, checking architectural consistency, and outlining a minimal plan for new work.
Why use it?
It helps avoid unnecessary changes by finding similar code, reusable parts, and the conventions already used in the project.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is brianmontero18/dev-mcp-tools's own configuration. It tells Claude Code how to work on dev-mcp-tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dev-mcp-tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to brianmontero18/dev-mcp-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/brianmontero18/dev-mcp-tools/main/.claude/commands/qplan.md
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 qplan

README.md
[![agentmods](https://agentmods.dev/badge/commands/brianmontero18/dev-mcp-tools/qplan/github.svg)](https://agentmods.dev/commands/brianmontero18/dev-mcp-tools/qplan)
Your own site
<a href="https://agentmods.dev/commands/brianmontero18/dev-mcp-tools/qplan"><img src="https://agentmods.dev/badge/commands/brianmontero18/dev-mcp-tools/qplan/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.

agentmods 80×15 button for qplan

Your own site · 80×15
<a href="https://agentmods.dev/commands/brianmontero18/dev-mcp-tools/qplan"><img src="https://agentmods.dev/badge/commands/brianmontero18/dev-mcp-tools/qplan.svg" alt="Reviewed on agentmods" width="80" 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 315 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00315
Opus 5.5 $0.00000 $0.00126
Sonnet 5.5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00032

Measured 2mo ago against content hash 88bd3acfdb20, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qplan 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 2mo 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/qplan.md · 46 lines

What it actually says

QPLAN - Codebase Analysis & Planning

When user types "qplan", execute this workflow:

1. Codebase Analysis

  • 🔍 Analyze similar parts of the codebase
  • 📋 Review existing patterns and conventions
  • 🧩 Identify reusable components/utilities
  • 📐 Check architectural consistency

2. Plan Validation

Determine whether your plan:

  • ✅ Consistency: Follows existing codebase patterns
  • ✅ Minimal changes: Introduces least possible modifications
  • ✅ Code reuse: Leverages existing functions/components
  • ✅ Architecture: Maintains current system design

3. Tools to Use

  • Grep - Find similar implementations
  • Glob - Locate related files
  • Read - Study existing code patterns

Response Template

📋 **QPLAN - Codebase Analysis Complete**

**Similar Implementations Found:**
- [List similar features/patterns found]

**Existing Components to Reuse:**
- [List reusable utilities/components]

**Plan Consistency Check:**
- ✅ Consistent with codebase: [explanation]  
- ✅ Minimal changes: [what will be modified]
- ✅ Code reuse: [what existing code will be leveraged]
- ✅ Architecture: [how it fits current design]

**Implementation Plan:**
1. [Step 1]
2. [Step 2] 
3. [Step 3]

**Files to Modify/Create:**
- [List files with brief description of changes]
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. 2mo ago First seen · 46 lines · 0 tokens per session scan A 88bd3acfdb20

Subscribe to this mod's changes

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