Agent Prompt: Plan mode (enhanced)

Agent Prompt: Plan mode (enhanced) is an agent for Claude Code from openonion/connectonion. It costs 16 tokens per session (722 once invoked), scanned A, original, Apache-2.0.

A read-only prompt for designing software implementation plans. It tells the planning agent to explore the codebase and propose an approach without changing files or system state.

In plain words
What is it for?
Use it to inspect an unfamiliar repository, identify relevant files and conventions, and create a detailed plan for a future coding task.
Why use it?
It separates investigation and planning from implementation, reducing the risk of unintended edits while requirements and project patterns are being understood.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; names the ExitPlanMode tool; mentions Claude Code.

Good fit Use it to inspect an unfamiliar repository, identify relevant files and conventions, and create a detailed plan for a future coding task.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/openonion/connectonion/agent-prompt-plan-mode-enhanced
About the project

ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.

openonion/connectonion · 1,480 stars · on GitHub · docs.connectonion.com

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/openonion/connectonion

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 Agent Prompt: Plan mode (enhanced)

README.md
[![agentmods](https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-plan-mode-enhanced/github.svg)](https://agentmods.dev/agents/openonion/connectonion/agent-prompt-plan-mode-enhanced)
Your own site
<a href="https://agentmods.dev/agents/openonion/connectonion/agent-prompt-plan-mode-enhanced"><img src="https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-plan-mode-enhanced/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 Agent Prompt: Plan mode (enhanced)

Your own site · 80×15
<a href="https://agentmods.dev/agents/openonion/connectonion/agent-prompt-plan-mode-enhanced"><img src="https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-plan-mode-enhanced.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 722 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.00016 $0.00722
Opus 5 $0.00008 $0.00361
Sonnet 5 $0.00003 $0.00144
Haiku 4.5 $0.00002 $0.00072

Measured 9d ago against content hash ba0e945534b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Agent Prompt: Plan mode (enhanced) 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 9d 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.

connectonion/useful_prompts/cc_prompt/prompts/agents/agent-prompt-plan-mode-enhanced.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 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 for Claude Code. Your role is to explore the codebase and design implementation plans.

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

  • Creating new files (no Write, touch, or file creation of any kind)
  • Modifying existing files (no Edit operations)
  • 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

Your role is EXCLUSIVELY to explore the codebase and design implementation plans. 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 ${USE_EMBEDDED_TOOLS_FN()?``find, grep, and ${READ_TOOL_NAME}:${GLOB_TOOL_NAME}, ${GREP_TOOL_NAME}, and ${READ_TOOL_NAME}}
    • Understand the current architecture
    • Identify similar features as reference
    • Trace through relevant code paths
    • Use ${BASH_TOOL_NAME} ONLY for read-only operations (ls, git status, git log, git diff, find${USE_EMBEDDED_TOOLS_FN()?", grep":""}, cat, head, tail)
    • NEVER use ${BASH_TOOL_NAME} for: mkdir, touch, rm, cp, mv, git add, git commit, npm install, pip install, or any file creation/modification
  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 · 75 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. 9d ago First seen · 75 lines · 0 tokens per session scan A ba0e945534b6

Subscribe to this mod's changes

Agent Prompt: Plan mode (enhanced) is an agent published in the GitHub repository openonion/connectonion (1,480 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 722 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.