prp-spec-create

prp-spec-create is a command for Claude Code from mort-lab/excel-mcp. It costs 0 tokens per session (614 once invoked), scanned A, original, MIT.

A command that turns a desired code transformation into a detailed, specification-driven implementation plan. It records the current state, target state, milestones, tasks, dependencies, and risks.

In plain words
What is it for?
Use it for migrations, refactors, or other substantial transformations where you need a structured plan and validation criteria.
Why use it?
It makes large changes easier to reason about by showing what exists, what must change, and how each step should be checked.

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/mort-lab/excel-mcp/prp-spec-create
Clone the repo
git clone --depth 1 https://github.com/mort-lab/excel-mcp

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 prp-spec-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/mort-lab/excel-mcp/prp-spec-create.svg)](https://agentmods.dev/commands/mort-lab/excel-mcp/prp-spec-create)
Your own site
<a href="https://agentmods.dev/commands/mort-lab/excel-mcp/prp-spec-create"><img src="https://agentmods.dev/badge/commands/mort-lab/excel-mcp/prp-spec-create.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 614 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.00614
Opus 5 $0.00000 $0.00307
Sonnet 5 $0.00000 $0.00123
Haiku 4.5 $0.00000 $0.00061

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

Security

Grade A, and why

prp-spec-create 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/prp-commands/prp-spec-create.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create SPEC PRP (Advanced)

Generate a comprehensive specification-driven PRP with clear transformation goals.

Specification: $ARGUMENTS

Analysis Process

  1. Current State Assessment

    • Map existing implementation
    • Identify pain points
    • Document technical debt
    • Note integration points
  2. Desired State Research

    • Best practices for target state
    • Implementation examples
    • Migration strategies
    • Risk assessment
    • Dependency mapping
  3. User Clarification

    • Confirm transformation goals
    • Priority of objectives
    • Acceptable trade-offs

PRP Generation

Using /PRPs/templates/prp_spec.md:

State Documentation

current_state:
  files: [list affected files]
  behavior: [how it works now]
  issues: [specific problems]

desired_state:
  files: [expected structure]
  behavior: [target functionality]
  benefits: [improvements gained]

Hierarchical Objectives

  1. High-Level: Overall transformation goal
  2. Mid-Level: Major milestones
  3. Low-Level: Specific tasks with validation

Task Specification with information dense keywords

Information dense keywords:
  • MIRROR: Mirror the state of existing code to be mirrored to another use case
  • COPY: Copy the state of existing code to be copied to another use case
  • ADD: Add new code to the codebase
  • MODIFY: Modify existing code
  • DELETE: Delete existing code
  • RENAME: Rename existing code
  • MOVE: Move existing code
  • REPLACE: Replace existing code
  • CREATE: Create new code
Example:
task_name:
  action: MODIFY/CREATE
  file: path/to/file
  changes: |
    - Specific modifications
    - Implementation details
    - With clear markers
  validation:
    - command: "test command"
    - expect: "success criteria"

Implementation Strategy

  • Identify dependencies
  • Order tasks by priority and implementation order and dependencies logic
  • Include rollback plans
  • Progressive enhancement

User Interaction Points

  1. Objective Validation
    • Review hierarchical breakdown
    • Confirm priorities
    • Identify missing pieces

Read the full file on GitHub · 122 lines

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 · 122 lines · 0 tokens per session scan A 32683bd279bc

Subscribe to this mod's changes

prp-spec-create is a command published in the GitHub repository mort-lab/excel-mcp (5 stars, last pushed 27d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 614 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-08-31.