planner-reflect

planner-reflect is a skill for Claude Code, Codex from spumer/i-m-senior-developer. It costs 41 tokens per session (1,007 once invoked), scanned A, original, MIT.

A post-task review skill for a planner. It compares the saved plan with completed work, reviews supported evidence, and records reusable lessons in the project.

In plain words
What is it for?
Use it after a planner execution to compare planned and actual changes, review confirmed defects, and append evidence-based lessons to project context.
Why use it?
It helps preserve practical lessons from finished tasks without changing the plan or modifying the code.

Skill for Claude CodeCodex

Part of the planner plugin — 4 skills, 9 commands, 2 agents shipped together

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 skills/spumer/i-m-senior-developer/planner-reflect
Any agent
npx skills add spumer/i-m-senior-developer --skill planner-reflect
Clone the repo
git clone --depth 1 https://github.com/spumer/i-m-senior-developer

Made for: Claude Code, Codex.

Or install planner, the plugin that ships this one along with the rest of its 4 skills, 9 commands, 2 agents.

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 planner-reflect

README.md
[![agentmods](https://agentmods.dev/badge/skills/spumer/i-m-senior-developer/planner-reflect.svg)](https://agentmods.dev/skills/spumer/i-m-senior-developer/planner-reflect)
Your own site
<a href="https://agentmods.dev/skills/spumer/i-m-senior-developer/planner-reflect"><img src="https://agentmods.dev/badge/skills/spumer/i-m-senior-developer/planner-reflect.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,007 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.00041 $0.01007
Opus 5 $0.00020 $0.00504
Sonnet 5 $0.00008 $0.00201
Haiku 4.5 $0.00004 $0.00101

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

Security

Grade A, and why

planner-reflect 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.

plugins/planner/skills/planner-reflect/SKILL.md · 112 lines

How it starts

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

Planner-Reflect — post-task learning

Compare the saved execution plan with what actually happened. Append only supported, reusable lessons to <project-root>/.claude/planner-context.md, then return a short Lessons learned summary.

Reflection observes completed work. It does not revise the plan, change code, invoke agents, or start another command.

Evidence sources

Read these sources in order:

  1. <feature-dir>/PLANNER_EXECUTION.md — planned phases, agents, models, estimates, risks, and gates. This is the required source.
  2. git log and the changed-file list since the plan — completed work and scope changes.
  3. Files under <feature-dir>/review-request-changes/ — confirmed defects and repeated categories.
  4. Agent results available in the current session — retries, escalation, and blocked work.
  5. User messages from the current session — explicit corrections to the process or result.

ARCHITECTURE.md may be read to distinguish an implementation deviation from an architecture change, but it is supporting evidence, not a sixth independent source.

A legacy PLANNER_OUTPUT.md is historical context only. Do not use it as the current execution plan.

Missing evidence

  • No PLANNER_EXECUTION.md → return nothing to reflect on; run /plan on the architecture first and write nothing.
  • No commits or changed files since the plan → return plan exists but was not executed; nothing to reflect on and write nothing.
  • No current-session agent results → continue with Git, review files, and user messages; state that agent-run evidence was unavailable.
  • Any other partial evidence → continue and list the unavailable sources in the summary.

Do not reconstruct a missing plan from Git history.

Lesson types

Write a lesson only when its trigger is visible in the evidence.

Agent gap

Trigger: the orchestrator used a generic fallback because .claude/planner-context.md had no active agent for the required role or stack.

Destination: agent catalog. Record the missing role, observed fallback, and date. Do not blame the agent or orchestrator.

Read the full file on GitHub · 112 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 · 112 lines · 41 tokens per session scan A 1daebb191200

Subscribe to this mod's changes

planner-reflect is a skill published in the GitHub repository spumer/i-m-senior-developer (11 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 1,007 once invoked, about $0.0002 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.