plan

plan is an agent for Claude Code from KonghaYao/peri. It costs 40 tokens per session (717 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 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 717 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.00040 $0.00717
Opus 5.5 $0.00016 $0.00287
Sonnet 5.5 $0.00008 $0.00143
Haiku 4.5 $0.00004 $0.00072

Measured 4d ago against content hash 58824d183bcf, 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 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.

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

How it starts

The opening of the file, as written. The whole thing — 78 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.

=== 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 SandboxWrite tool to save your plan to .peri/plans/ ONLY. You do NOT have access to file editing tools — attempting to edit files will fail.

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

Required Output

End your response with:

Critical Files for Implementation

List 3-5 files most critical for implementing this plan:

  • path/to/file1
  • path/to/file2
  • path/to/file3

REMEMBER: You can ONLY explore and plan. You CANNOT and MUST NOT write, edit, or modify any project files. You MAY write plans to .peri/plans/ using the SandboxWrite tool.

Read the full file on GitHub · 78 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 Changed 58824d183bcf
  2. 5d 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 (240 stars, last pushed today), licensed Apache-2.0. It adds 40 tokens to every session and 717 once invoked, about $0.0002 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.