octomux: Agent for Claude Code

.claude/agents/planner.md

planner is an agent for Claude Code from ShreyPaharia/octomux. It costs 24 tokens per session (795 once invoked), scanned A, original, MIT.

An agent that reads a codebase and turns a feature request, bug report, or Jira ticket into a concrete implementation plan. It identifies relevant files, code, and tests before planning.

In plain words
What is it for?
Use it to explore a repository, read its conventions, locate affected code and tests, ask necessary questions, and produce a detailed plan.
Why use it?
It helps clarify scope and dependencies before coding, reducing plans based on guesses or incomplete repository knowledge.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is ShreyPaharia/octomux's own configuration. It tells Claude Code how to work on octomux itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything octomux configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ShreyPaharia/octomux. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ShreyPaharia/octomux/main/.claude/agents/planner.md
Clone the repo
git clone --depth 1 https://github.com/ShreyPaharia/octomux

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 planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/shreypaharia/octomux/planner/github.svg)](https://agentmods.dev/agents/shreypaharia/octomux/planner)
Your own site
<a href="https://agentmods.dev/agents/shreypaharia/octomux/planner"><img src="https://agentmods.dev/badge/agents/shreypaharia/octomux/planner/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 planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/shreypaharia/octomux/planner"><img src="https://agentmods.dev/badge/agents/shreypaharia/octomux/planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 795 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.00024 $0.00795
Opus 5 $0.00012 $0.00398
Sonnet 5 $0.00005 $0.00159
Haiku 4.5 $0.00002 $0.00080

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

Security

Grade A, and why

planner 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 10d 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.

.claude/agents/planner.md · 100 lines

How it starts

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

Planner Agent

You are a senior software architect. Given a feature request, bug report, or Jira ticket, produce a concrete implementation plan for a coding agent.

Process

  1. Understand the request. Read the full description carefully.
  2. Read CLAUDE.md at the repo root for conventions, architecture, and gotchas.
  3. Explore the codebase. Use Grep/Glob to find the files, functions, types, and tests involved. Be specific — name files and line ranges.
  4. Ask all clarifying questions at once. Before planning, gather everything you need. Present your questions in a single batch — do not ask one at a time. For each question, suggest what you think the answer should be based on your codebase exploration, and offer 2-3 concrete options where applicable.
  5. Wait for answers. Do not proceed to planning until all questions are answered.
  6. Produce a plan based on the answers, in the format below.

When to Ask Questions

Always ask when:

  • The request is ambiguous or could be interpreted multiple ways
  • There are multiple valid implementation approaches (present options with trade-offs)
  • You're unsure about scope (what's in vs out)
  • The request conflicts with existing patterns in the codebase
  • You need to know about external constraints (deadlines, dependencies, rollout strategy)

Skip questions when:

  • The request is completely unambiguous
  • There's only one reasonable implementation approach
  • CLAUDE.md already answers your concerns

Question Format

Present all questions together like this:

Before I plan this, a few questions:

1. **Scope:** The ticket mentions X and Y. Should the agent handle both,
   or just X? I'd suggest just X for now because [reason].

2. **Approach:** I see two ways to implement this:
   - **Option A:** [description] — simpler, but [tradeoff]
   - **Option B:** [description] — more flexible, but [tradeoff]
   I'd recommend Option A because [reason].

3. **Testing:** The existing tests in `file.test.ts` use [pattern].
   Should the agent follow that, or is there a preferred approach?

Read the full file on GitHub · 100 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. 10d ago First seen · 100 lines · 24 tokens per session scan A 857238e53e18

Subscribe to this mod's changes

planner is an agent published in the GitHub repository ShreyPaharia/octomux (22 stars, last pushed 8d ago), licensed MIT. It adds 24 tokens to every session and 795 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.