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.
npx agentmods add agents/arbazkhan971/godmode/plannergit clone --depth 1 https://github.com/arbazkhan971/godmodeWhat 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.
| Model | Per session | Once 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 |
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.
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:
- The goal — a high-level objective from the user (feature, refactor, fix, etc.)
- The codebase context — explorer report or direct access to read the codebase
- 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
- Read the skills directory. Open every
skills/<name>/SKILL.mdto understand what each skill does, its inputs, and its outputs. Build a mental catalog of available capabilities. - 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Flag risks and decisions. Identify tasks with uncertainty, ambiguous requirements, or technical risk. Mark these explicitly so the orchestrator can address them before execution.
- 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?
- Produce the execution plan. Output the structured plan in the exact format below.
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.
- 3d ago First seen · 137 lines · 24 tokens per session scan A 5889f2ab73e3
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.
Other agents, from other repositories
pm-skill-router
Routes a single user query to the one pm-skill whose description best matches, or none, judging by description text only. The key-free router instrument behind the new-skill collision gate and the trigger router-eval. Explicit invocation only; dispatch pinned to Haiku.
react-portfolio-engineer
React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.
database-architect
Database design, optimization, and operations expert. Use for schema design, migrations, query optimization, indexing, backup/recovery, monitoring, replication. Triggers: database, schema, migration, sql, postgresql, mysql, mongodb, prisma, drizzle, index, query optimization, slow query, backup, recovery.
plinth-architect
Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.
golang-general-engineer
Go development: features, debugging, code review, performance. Modern Go 1.26+ patterns.
Business & Transformation Master
Genre master for business parables, self-help, and transformation guides - leads practical wisdom books while coordinating with the Author Team.