excel-mcp: Command for Claude Code

.claude/commands/prp-commands/prp-story-create.md

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

A command that turns a user story or coding task into a PRP, a detailed implementation plan based on analysis of the existing codebase. It produces tasks and context for another coding agent to follow.

In plain words
What is it for?
Use it to investigate a repository, find implementation points, decompose a feature or fix into tasks, and prepare an execution-ready plan.
Why use it?
It helps an implementation agent understand the relevant files, patterns, requirements, and constraints before writing code.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

This is mort-lab/excel-mcp's own configuration. It tells Claude Code how to work on excel-mcp 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 excel-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mort-lab/excel-mcp. 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/mort-lab/excel-mcp/main/.claude/commands/prp-commands/prp-story-create.md
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-story-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/mort-lab/excel-mcp/prp-story-create.svg)](https://agentmods.dev/commands/mort-lab/excel-mcp/prp-story-create)
Your own site
<a href="https://agentmods.dev/commands/mort-lab/excel-mcp/prp-story-create"><img src="https://agentmods.dev/badge/commands/mort-lab/excel-mcp/prp-story-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,107 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.00013 $0.01107
Opus 5 $0.00006 $0.00553
Sonnet 5 $0.00003 $0.00221
Haiku 4.5 $0.00001 $0.00111

Measured 8d ago against content hash 859ce5beace8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

prp-story-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 8d 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-story-create.md · 143 lines

How it starts

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

Create Story PRP from User Story/Task

Story/Task: $ARGUMENTS

Mission

Transform a user story or task into a tactical implementation PRP through systematic codebase analysis and task decomposition.

We do not write any code in this step, the goal is to create a detailed context engineered implementation plan for the implementation agent.

Key Principle: We must first gather the context about the story/task before proceeding with the analysis.

When we understand the story/task, we can proceed with the codebase analysis. We systematically dig deep into the codebase to gather intelligence and identify patterns and implementation points. We then use this information to create a PRP that can be executed by a coding agent.

The contents of the created PRP should encapsulate all the information the agent needs to complete the story/task in one pass.

Remember that subagents will only receive their details from you, the user has no way of interacting with the subagents. so you need to share all the relevant context to the subagent in the subagent prompt and in the TODO that is shared with the particular agent.

Create detailed todos and spawn parallel subagents to analyze (Use specialized subagents when apropriate):

Analysis Process

Phase 1: Story Decomposition

Analyze the story to determine:

  • Story/Task Type: Feature/Bug/Enhancement/Refactor
  • Complexity: Low, Medium, High
  • Affected Systems: Which components/services need changes

Get a deep understanding about the story/task before proceeding so that you can effectively guide the rest of the process.

Phase 2: Codebase Intelligence Gathering

1. Project Structure Analysis

  • Detect primary language(s) and frameworks
  • Map directory structure and conventions to identify integration points for the story/task
  • Identify service/component boundaries
  • Find configuration files and environment setup

2. Pattern Recognition

  • Search for similar implementations in codebase
  • Identify coding conventions (naming, structure, error handling) start in CLAUDE.md AGENTS.md or relevant rules files such as .cursorrules
  • Extract common patterns for the story's domain that should be added to the PRP as context for the implementation agent.
  • Note anti-patterns to avoid

Read the full file on GitHub · 143 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. 8d ago First seen · 143 lines · 13 tokens per session scan A 859ce5beace8

Subscribe to this mod's changes

prp-story-create is a command published in the GitHub repository mort-lab/excel-mcp (5 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 1,107 once invoked, about $0.0001 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.