planner

planner is an agent for Claude Code from randomittin/heimdall. It costs 35 tokens per session (3,115 once invoked), scanned A, original, MIT.

A planning agent that breaks complex coding work into dependency-ordered groups of tasks and attaches checks that must pass before work continues.

In plain words
What is it for?
Use it to plan work spanning several files or steps, split independent tasks for parallel work, and define checks that can be verified with searches or runnable commands.
Why use it?
It makes large changes easier to coordinate and catches incomplete work before later tasks build on it.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

Part of the hmd plugin — 7 skills, 20 commands, 17 agents, 9 hooks, 1 MCP server shipped together

Good fit Use it to plan work spanning several files or steps, split independent tasks for parallel work, and define checks that can be verified with searches or runnable commands.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/randomittin/heimdall/planner
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/randomittin/heimdall

Made for: Claude Code.

Or install hmd, the plugin that ships this one along with the rest of its 7 skills, 20 commands, 17 agents, 9 hooks, 1 MCP server.

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/randomittin/heimdall/planner/github.svg)](https://agentmods.dev/agents/randomittin/heimdall/planner)
Your own site
<a href="https://agentmods.dev/agents/randomittin/heimdall/planner"><img src="https://agentmods.dev/badge/agents/randomittin/heimdall/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/randomittin/heimdall/planner"><img src="https://agentmods.dev/badge/agents/randomittin/heimdall/planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,115 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00035 $0.03115
Opus 5.5 $0.00014 $0.01246
Sonnet 5.5 $0.00007 $0.00623
Haiku 4.5 $0.00003 $0.00312

Measured 7d ago against content hash 46b3dcaa62d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

planner scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- [ ] `curl -s localhost:3000/health` returns 200
agents/planner.md · 204 lines

How it starts

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

Planner Agent

You create verified execution plans with acceptance criteria that block progression.

Known Gap — not on the live dispatch path

Measured across 432 Agent spawns in this repo's own corpus, hmd:planner was spawned zero times (docs/analysis/2026-08-22-capability-census.md §3). skills/heimdall/references/planning-pipeline.md Phase 3 sends plan creation to "the planner agent (architect)" — i.e. hmd:architect does this job in practice, and agents/architect.md independently carries the same decompose integration, Oracle-Gate Protocol, and PLAN output format this file defines. agents/heimdall.md's Task-type table now points "Plan creation" at hmd:architect to match measured reality, rather than this file.

This file is kept, not deleted, because one section has no equivalent in agents/architect.md: Goal Condition Generation (below) — synthesizing a /goal autonomous-execution condition string from a plan's acceptance criteria. If you need that specific output, spawn hmd:planner explicitly for it; for ordinary plan creation, spawn hmd:architect.

Task Decomposition (MANDATORY for complex tasks)

Before manually decomposing work or spawning agents for any task involving 3+ files or 3+ steps, always run decompose first:

# Text output for human review
decompose "<task description>"

# JSON output for agent consumption
decompose --output json "<task description>"

# With file context for better decomposition
decompose --context src/schema.ts --context src/api.ts "<task description>"

Decomposition rules:

  1. Run decompose BEFORE writing any plan — it produces the wave structure
  2. Use the decompose output as the skeleton for your plan, then enrich with acceptance criteria
  3. Group tasks into dependency waves — wave 1 has no deps, wave 2 depends on wave 1, etc.
  4. NEVER assign two agents to the same file — this causes merge conflicts when agents run in parallel
  5. Verify wave dependencies before proceeding to the next wave — all tasks in wave N must complete before wave N+1 starts
  6. If decompose output has >10 tasks per wave, split into sub-waves (1a, 1b) executed sequentially

Read the full file on GitHub · 204 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. 7d ago Changed · +1 lines 46b3dcaa62d0
  2. 1mo ago Changed · +1 lines a40a8ea57274
  3. 2mo ago Changed · +1 lines e1cab9bac3be
  4. 2mo ago Changed · +17 lines 945c90fd486b
  5. 3mo ago First seen · 184 lines · 35 tokens per session scan A e50b4e28b451

Subscribe to this mod's changes

planner is an agent published in the GitHub repository randomittin/heimdall (5 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 3,115 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

planner compared with agents from other repositories

planner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plannerrandomittin/heimdallAgent53d agoMITA35Claude Code
architecture-guardianMohmmedAshraf/symbioteAgent68mo agoMITA23Claude Code
code-reviewerMohmmedAshraf/symbioteAgent68mo agoMITA28Claude Code
review-riskGentleman-Programming/gentle-aiAgent9.7kyesterdayMITA25Claude Code
review-refuterGentleman-Programming/gentle-aiAgent9.7kyesterdayMITA20Claude Code
pr-reviewerZaxbyHub/opencode-swarmAgent549todayMITA65Claude Code
agent-sdk-verifier-pyfuxicodex/FuxiAgent3.2k6d agononeA55Claude Code