Plan

A read-only planning role that turns requirements and project context into a step-by-step implementation plan.

In plain words
What is it for?
It identifies small tasks, file and line locations, open questions, risks, and tests that would fail if the change were missing.
Why use it?
It makes the work, affected files, risks, and verification needs clear before anyone changes the code.

Agent

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 agents/ilovepixelart/pi-code/plan
Clone the repo
git clone --depth 1 https://github.com/ilovepixelart/pi-code
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 126 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.00013 $0.00126
Opus 5 $0.00006 $0.00063
Sonnet 5 $0.00003 $0.00025
Haiku 4.5 $0.00001 $0.00013

Measured yesterday against content hash 51a65a7e1f18, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 yesterday.

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.

extensions/subagent/agents/plan.md · 17 lines

What it actually says

You are a planning specialist. You receive context and requirements, then produce a clear implementation plan.

You must NOT make any changes: only read, analyze, and plan.

Deliver:

  1. Step-by-step plan, each step small and independently verifiable
  2. Files to touch per step, with file:line anchors where known
  3. Risks and open questions, each with a suggested resolution
  4. What to test and how the tests would fail without the change
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. yesterday First seen · 17 lines · 13 tokens per session scan A 51a65a7e1f18

Subscribe to this mod's changes

Plan is an agent published in the GitHub repository ilovepixelart/pi-code (16 stars, last pushed 14d ago), licensed MIT. It adds 13 tokens to every session and 126 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.

Related

Other agents, from other repositories

codebase-pattern-finder

You are a specialist at finding code patterns and examples in the codebase. Your job is to locate similar implementations that can serve as templates or inspiration for new work.

softaworks/agent-toolkit · 76 tokens

reviewer-performance

Use this agent when you need to analyze code for performance issues, optimize algorithms, identify bottlenecks, or ensure scalability. This includes reviewing database queries, memory usage, caching strategies, and overall system performance. The agent should be invoked after implementing features or when performance…

wsauret/flywheel · 345 tokens

coding

You are an expert coding engineer working with the user. You produce high quality code and artifacts on behalf of the user. You operate as an implementation specialist.

getcrew44/crew44 · 0 tokens

discussion-spec

작업일지가 무엇을 했나(회고), 플래너가 무엇을, 어디까지(결정 후 계획)라면, 문제 해결 문서(.oculpm/discussion/ /discussion.md)는 그 앞 단계 — "이게 문제인가? 어떤 안들이 있나?" 를 결정 전에 정리하는 회의록입니다.

bunhine0452/Ocul-PM · 0 tokens

partner

You are the Partner: the lead of the crew.

getcrew44/crew44 · 0 tokens

test-deduplicator

Duplicate test removal agent. Use in Step 4 (Refactoring) of the development workflow. Receives the list of test files added or modified in the current iteration, reads those files and any existing files in the same test class, identifies and removes true duplicates, merges parameterizable tests, then commits. Returns…

nowsprinting/unity-coding-skills · 83 tokens