050-plan

A set of instructions for creating project plans, feature requirements documents, or retrospectives, which review completed work and lessons learned.

In plain words
What is it for?
Use it with /plan to start a project, define a feature, or review a completed effort in the supported planning modes.
Why use it?
It gives planning work a defined research, question, document, review, and issue-creation process.

Cursor rule for Cursor

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 rules/kanevry/session-orchestrator/050-plan
Clone the repo
git clone --depth 1 https://github.com/Kanevry/session-orchestrator

Made for: Cursor.

Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,298 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.00020 $0.02298
Opus 5 $0.00010 $0.01149
Sonnet 5 $0.00004 $0.00460
Haiku 4.5 $0.00002 $0.00230

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

Security

Grade A, and why

050-plan 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 3d 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.

.cursor/rules/050-plan.mdc · 236 lines

How it starts

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

Plan — Structured Project Planning & PRD Generation

Three planning modes with a shared research-driven Q&A engine. Pattern across all modes: research → questions → document → review → issues.

Phase 0: Read Session Config

Read Session Config from CLAUDE.md. Required field: plan-baseline-path. If missing or absent, stop with error:

"Error: plan-baseline-path is not configured in Session Config. Add it to your CLAUDE.md under ## Session Config. Example: plan-baseline-path: ~/Projects/projects-baseline"

Additional fields: plan-default-visibility, plan-prd-location, plan-retro-location, vcs. Expand ~ in paths.

Phase 1: Mode Selection

Parse the argument to determine mode:

  • new — Project kickoff: scaffolding, architecture decisions, initial setup
  • feature — Feature PRD: requirements gathering, compact scope, acceptance criteria
  • retro — Retrospective: data-driven analysis of recent work, learnings extraction

If no mode specified, ask via numbered list:

Which planning mode?

1. new (Recommended) — Project kickoff: full PRD, repo setup, issue creation. Fits a repo that has no PRD yet.
2. feature — One feature: compact scope, acceptance criteria, issues. Cheaper, but assumes the project context already exists.
3. retro — Retrospective on finished work: metrics, reflection, improvement actions. Defines no new scope.

Phase 2: Q&A Engine (Shared Core)

Every question wave follows the same pattern. This is the core mechanic across all modes.

2.1 Pre-Question Research

Before each Q&A wave, perform research sequentially — Cursor has no parallel agents:

  1. Market/online context — Search for relevant market data, best practices, competitor analysis, or technical patterns for the upcoming questions
  2. Baseline analysis — Read projects-baseline templates, rules, and scripts at $BASELINE_PATH (Glob, Grep, Read)
  3. Repo context — Analyze current repository for patterns, file structure, dependencies, conventions (skip for /plan new wave 1)

Read the full file on GitHub · 236 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. 3d ago First seen · 236 lines · 20 tokens per session scan A 5d7a1300df6f

Subscribe to this mod's changes

050-plan is a cursor rule published in the GitHub repository Kanevry/session-orchestrator (49 stars, last pushed 5d ago), licensed MIT. It adds 20 tokens to every session and 2,298 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-30.