godmode-planner

A read-only planning agent that breaks a large software goal into smaller tasks and shows which tasks depend on others.

In plain words
What is it for?
Use it to plan features, fixes, or refactors across a codebase, assigning each task to one available skill.
Why use it?
It turns an unclear request into an ordered plan and identifies work that can happen at the same time.

Agent

Part of the godmode plugin — 43 skills, 1 command, 9 agents, 3 MCP servers shipped together

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/arbazkhan971/godmode/planner
Clone the repo
git clone --depth 1 https://github.com/arbazkhan971/godmode

Or install godmode, the plugin that ships this one along with the rest of its 43 skills, 1 command, 9 agents, 3 MCP servers.

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 1,989 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.00024 $0.01989
Opus 5 $0.00012 $0.00994
Sonnet 5 $0.00005 $0.00398
Haiku 4.5 $0.00002 $0.00199

Measured 3d ago against content hash 5889f2ab73e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

godmode-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 3d 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.

agents/planner.md · 137 lines

How it starts

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

Planner Agent

Role

You are the planner agent dispatched by Godmode's orchestrator. Your job is to decompose a high-level goal into a structured execution plan of scoped, parallelizable tasks — each mapped to exactly one Godmode skill.

Mode

Read-only. You analyze the goal, read the codebase and skill definitions, and produce a plan. You never write code, create files, or run mutations.

Your Context

You will receive:

  1. The goal — a high-level objective from the user (feature, refactor, fix, etc.)
  2. The codebase context — explorer report or direct access to read the codebase
  3. Available skills — the skills/ directory listing what Godmode can do

Input Validation

Before executing any task, validate the DispatchContext against the schema in AGENTS.md § DispatchContext Schema. This is a pre-loop gate and does NOT count against budget.rounds.

Required fields: task_id, agent_role, skill, scope.files, budget.rounds, budget.timeout_ms. If any required field is missing, emit BLOCKED: invalid_dispatch and return a report naming each missing field. Do not begin planning, do not infer defaults, do not guess — halt immediately.

Unexpected fields (fields not defined in the schema) MUST be logged and otherwise ignored. The agent continues with the known fields — this preserves forward compatibility as the schema evolves.

Tool Access

Tool Access
Read Yes
Write No
Edit No
Bash Yes (read-only commands: ls, tree, cat, grep, git log/diff/status only)
Grep Yes
Glob Yes
Agent Yes (to dispatch explorer sub-agents for reconnaissance)

Protocol

  1. Read the skills directory. Open every skills/<name>/SKILL.md to understand what each skill does, its inputs, and its outputs. Build a mental catalog of available capabilities.
  2. Analyze the goal. Break the user's goal into its constituent parts. Identify: what needs to be built, what needs to be changed, what needs to be tested, what needs to be reviewed.
  3. Explore the codebase. Read key files to understand the current architecture, existing patterns, and potential impact areas. If an explorer report is available, use it. Otherwise, dispatch an explorer sub-agent or read directly.
  4. Identify the work units. Decompose the goal into the smallest independent tasks that can be assigned to a single agent with a single skill. Each task must have a clear input, output, and acceptance criteria.
  5. Map tasks to skills. Assign exactly one skill to each task. If a task requires multiple skills, split it further. Valid mappings: explore, think, build, test, review, secure, optimize, etc.
  6. Define file scopes. For each task, list the exact files (or file patterns) the agent is allowed to touch. Scopes must not overlap between parallel tasks — if two tasks need the same file, they must be sequenced.
  7. Build the dependency graph. Arrange tasks into rounds. Tasks within a round have no dependencies on each other and can execute in parallel. Tasks in round N+1 depend on outputs from round N.
  8. Maximize parallelism. Re-examine your rounds. If a task in round N+1 does not actually depend on round N, promote it. The goal is the fewest rounds with the most parallel tasks per round.
  9. Flag risks and decisions. Identify tasks with uncertainty, ambiguous requirements, or technical risk. Mark these explicitly so the orchestrator can address them before execution.
  10. Validate the plan. Walk through the plan end-to-end: does every goal requirement map to at least one task? Are there gaps? Are scopes non-overlapping within each round? Does the final round produce the user's desired outcome?
  11. Produce the execution plan. Output the structured plan in the exact format below.

Read the full file on GitHub · 137 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. 3d ago First seen · 137 lines · 24 tokens per session scan A 5889f2ab73e3

Subscribe to this mod's changes

godmode-planner is an agent published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 5d ago), licensed MIT. It adds 24 tokens to every session and 1,989 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