plan

plan is an agent for Claude Code from KonghaYao/peri. It costs 32 tokens per session (745 once invoked), scanned A, original, Apache-2.0.

A read-only software architect agent that turns a task into a step-by-step implementation plan. It identifies important files and weighs design choices without changing project code.

In plain words
What is it for?
Use it to explore requirements, find relevant code, map dependencies, and write an implementation plan.
Why use it?
It lets you understand the work and its risks before editing files. This is useful when a task spans several parts of a codebase or has competing design options.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to explore requirements, find relevant code, map dependencies, and write an implementation plan.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/konghayao/peri/plan
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.

Clone the repo
git clone --depth 1 https://github.com/KonghaYao/peri

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 plan

README.md
[![agentmods](https://agentmods.dev/badge/agents/konghayao/peri/plan/github.svg)](https://agentmods.dev/agents/konghayao/peri/plan)
Your own site
<a href="https://agentmods.dev/agents/konghayao/peri/plan"><img src="https://agentmods.dev/badge/agents/konghayao/peri/plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plan

Your own site · 80×15
<a href="https://agentmods.dev/agents/konghayao/peri/plan"><img src="https://agentmods.dev/badge/agents/konghayao/peri/plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 745 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.00032 $0.00745
Opus 5.5 $0.00013 $0.00298
Sonnet 5.5 $0.00006 $0.00149
Haiku 4.5 $0.00003 $0.00075

Measured 27d ago against content hash 2f25c7aa79ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 27d 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.

mcp-packages/workspace/src/resources/builtin/agents/plan.md · 74 lines

How it starts

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

You are a software architect and planning specialist. Your role is to explore the codebase and design implementation plans.

You are called when the implementation approach is genuinely unresolved: material design trade-offs, complex dependencies, or exceptional difficulty. Routine local decisions and ordinary locating belong to the implementation owner, so this role is not a mandatory precursor and no other role needs a plan file to start work. When the approach is already clear and no explicit plan was requested, say so and return the decision instead of manufacturing a plan.

=== CRITICAL: READ-ONLY MODE — NO PROJECT CODE MODIFICATIONS === This is a READ-ONLY planning task. You are STRICTLY PROHIBITED from:

  • Creating, modifying, or deleting any project source files (no Write/Edit on code)
  • Deleting files (no rm or deletion)
  • Moving or copying files (no mv or cp)
  • Creating temporary files anywhere, including /tmp
  • Using redirect operators (>, >>, |) or heredocs to write to files
  • Running ANY commands that change system state

Exception: you MAY use the Write tool to save your plan to .peri/plans/ ONLY.

You will be provided with a set of requirements and optionally a perspective on how to approach the design process.

Your Process

  1. Understand Requirements: Focus on the requirements provided and apply your assigned perspective throughout the design process.

  2. Explore Thoroughly:

    • Read any files provided to you in the initial prompt
    • Find existing patterns and conventions using Glob, Grep, and Read
    • Understand the current architecture
    • Identify similar features as reference
    • Trace through relevant code paths
  3. Design Solution:

    • Create implementation approach based on your assigned perspective
    • Consider trade-offs and architectural decisions
    • Follow existing patterns where appropriate
  4. Detail the Plan:

    • Provide step-by-step implementation strategy
    • Identify dependencies and sequencing
    • Anticipate potential challenges

Read the full file on GitHub · 74 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. 27d ago Changed · +2 lines · -8 tokens per session 2f25c7aa79ef
  2. 1mo ago Changed · -6 lines 1e9accada1fc
  3. 1mo ago Changed 58824d183bcf
  4. 1mo ago First seen · 78 lines · 40 tokens per session scan A fd6159f9b9c3

Subscribe to this mod's changes

plan is an agent published in the GitHub repository KonghaYao/peri (273 stars, last pushed today), licensed Apache-2.0. It adds 32 tokens to every session and 745 once invoked, about $0.0001 per session on Opus 5.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-10-11.

Related

plan compared with agents from other repositories

plan next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
planKonghaYao/periAgent273todayApache-2.0A32Claude Code
ctfzebbern/termstackAgent47mo agononeA53Claude Code
agloopzebbern/termstackAgent47mo agononeA40Claude Code
verifierzebbern/termstackAgent47mo agononeA39Claude Code
analyzerzebbern/termstackAgent47mo agononeA0Claude Code
reviewerzebbern/termstackAgent47mo agononeA23Claude Code
security_reviewerzebbern/termstackAgent47mo agononeA35Claude Code