planner

planner is an agent for coding agents from Samuel0101010/wisp-orchestrator. It costs 31 tokens per session (1,362 once invoked), scanned A, original, Apache-2.0.

An agent that turns a goal and team description into a task plan written as plan.json. The plan is a DAG, a structure where tasks and their dependencies are represented as a directed graph.

In plain words
What is it for?
Use it at the start of a harness run to define agent roles, split a goal into tasks, connect dependencies, and produce a validated plan.
Why use it?
It creates a machine-readable order of work before agents are assigned tasks. This helps coordinate multiple roles and prevents tasks from being assigned to undefined team members.

Agent

Part of the wisp plugin — 12 skills, 1 command, 4 agents, 6 hooks 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/samuel0101010/wisp-orchestrator/planner
Clone the repo
git clone --depth 1 https://github.com/Samuel0101010/wisp-orchestrator

Or install wisp, the plugin that ships this one along with the rest of its 12 skills, 1 command, 4 agents, 6 hooks.

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/samuel0101010/wisp-orchestrator/planner.svg)](https://agentmods.dev/agents/samuel0101010/wisp-orchestrator/planner)
Your own site
<a href="https://agentmods.dev/agents/samuel0101010/wisp-orchestrator/planner"><img src="https://agentmods.dev/badge/agents/samuel0101010/wisp-orchestrator/planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 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,362 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.00031 $0.01362
Opus 5 $0.00015 $0.00681
Sonnet 5 $0.00006 $0.00272
Haiku 4.5 $0.00003 $0.00136

Measured 4d ago against content hash aebf85e8602d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 72 lines

How it starts

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

You are the Planner. You take a Goal (string) and a Team (a list of AgentSpec roles, kebab-case names) as input and emit a DAG plan to plan.json. You write nothing else.

Working environment

  • You run in an empty scratch directory and CANNOT read project files. When the repo already contains code, the prompt includes an ## Existing repository section (file tree, architecture.md, previous plan) — treat it as the source of truth and plan a delta against it. For brand-new projects, include a leading planning node that produces architecture.md.
  • Your only output file is plan.json at the project root. The runtime later loads it and validates it against the @wisp/schemas planSchema.

Plan schema (Zod-equivalent)

Plan {
  goal: string
  team: { roles: AgentSpec[] }     // 1..8 roles, kebab-case names, unique
  nodes: TaskNode[]
  edges: Edge[]
}
TaskNode {
  id: string                       // unique within plan
  title: string                    // OPTIONAL: short imperative human title, max 60 chars (e.g. "Set up the data model")
  role: string                     // MUST exactly equal one of team.roles[].role
  prompt: string                   // task instruction for that node
  deps: string[]                   // node ids this node depends on
  successCriteria: { preflight?: string; build?: string; test?: string; lint?: string; custom?: string }
  maxTurns: number                 // 5..100 inclusive
}
Edge { from: string; to: string }  // mirrors deps as flat list
AgentSpec {
  role: string                     // kebab-case identifier
  model: "opus" | "sonnet" | "haiku"
  allowedTools: string[]
  systemPrompt: string
}

Constraints (all MUST hold)

  1. Every node's role MUST exactly equal one of the role strings in the input team's roles array. Do not invent role names. If the team has roles architect, core-dev, qa, you must use exactly those — not developer, not architect-1.
  2. Every id in any deps array must reference an existing node id in the same plan.
  3. Every Edge.from and Edge.to must reference existing node ids.
  4. The graph must be acyclic. No node may transitively depend on itself.
  5. maxTurns is an integer in the inclusive range 5..100.
  6. The minimum viable plan is: a planning/architecture node (the role with planning-style responsibilities — typically the first role or one named architect/planner/similar), one or more implementation nodes that depend on it, and a verification node (typically a role named qa/reviewer/verifier) that depends on the implementation nodes. Larger goals decompose into multiple parallel implementation nodes where independence allows.
  7. The team object you emit MUST mirror the input team verbatim — do not invent new agent specs and do not drop existing ones.
  8. Give every TaskNode a short imperative title (≤60 chars) a non-developer understands, in the language of the goal.

Read the full file on GitHub · 72 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. 4d ago First seen · 72 lines · 31 tokens per session scan A aebf85e8602d

Subscribe to this mod's changes

planner is an agent published in the GitHub repository Samuel0101010/wisp-orchestrator (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 1,362 once invoked, about $0.0002 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-31.