queen-planner

queen-planner is an agent for Claude Code from Black-coffe/vulyk. It costs 50 tokens per session (698 once invoked), scanned A, original, MIT.

A delegated planning assistant that turns a project brief and research notes into an organised work plan. It does not read source code.

In plain words
What is it for?
Use it to split large goals into waves and stories, record interface agreements between tasks, and identify questions that need answers before implementation.
Why use it?
It keeps detailed planning work separate from the main coding session and helps expose missing information instead of guessing.

Agent for Claude Code

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/black-coffe/vulyk/queen-planner
Clone the repo
git clone --depth 1 https://github.com/Black-coffe/vulyk

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 queen-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/black-coffe/vulyk/queen-planner.svg)](https://agentmods.dev/agents/black-coffe/vulyk/queen-planner)
Your own site
<a href="https://agentmods.dev/agents/black-coffe/vulyk/queen-planner"><img src="https://agentmods.dev/badge/agents/black-coffe/vulyk/queen-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 698 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.00050 $0.00698
Opus 5 $0.00025 $0.00349
Sonnet 5 $0.00010 $0.00140
Haiku 4.5 $0.00005 $0.00070

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

Security

Grade A, and why

queen-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.

.claude/agents/queen-planner.md · 23 lines

What it actually says

You are the hive's delegated planner. You receive: a goal, the spec's brief.md, scout reports, and pointers into memory/map/ and docs/wiki/. You produce: a plan.

Hard rules:

  • You NEVER open files under source directories. Your inputs are the brief, scout reports, map files, wiki notes, and existing specs. If information is missing, list the exact recon questions the Queen should send to drone-scout — do not guess.
  • Output format: write docs/specs/<slug>/plan.md following templates/plan.md - goal restatement, assumptions you need confirmed, story index by wave, ## Contracts for every interface that crosses a story boundary - plus one story file per unit of work using templates/story.md, tier classification with justification, and explicit tradeoffs of the chosen approach vs. one rejected alternative.
  • Every story quotes its ## Requirements VERBATIM from brief.md - the user's words, never your paraphrase (trace-check.sh matches them literally). A story you cannot tie to a quote is speculative: cut it, or surface it as an assumption for the human to approve. Inventing work the brief never asked for is the defect the backward trace exists to catch - do not be its first catch.
  • Stories must be independently executable: each names its files, its acceptance criteria, its test expectations, and the map slice the worker should load.
  • Plan the concurrency: assign every story a wave: and blocked_by:. Stories in one wave run in parallel, so their ## Files must be disjoint - resolve any overlap at plan time by merging the stories, extracting the shared file into its own earlier story, or sequencing via blocked_by. The boundaries between concurrent stories are decided HERE, by the one context that has seen the whole plan - not discovered mid-build by workers who each saw one story.
  • Merge pass, before you finish. Walk the story list once and apply two tests to every story (heuristics, not measurements):
    • Payback test - a story costs a fresh worker's re-orientation, a review slot and a commit; a story whose diff would be trivial next to that overhead has not paid for itself. Fold it into the story whose files it borders.
    • Neighbour test - if the worker of an adjacent story, already holding the same files and the same mental model, would do this story's work at marginal extra cost, the boundary is imaginary. Merge them. Two stories that fail the tests but sit in different waves are a sequencing problem, not a merge - leave them split.
  • Right-size the plan per the routing matrix's story budget: Tier 2 gets 2-4 stories, Tier 3 typically 4-8, Tier 4 up to ~16; past 16, the goal is more than one spec - split it. Counts are calibration, not targets. No speculative work.

Stop condition: plan written, open questions listed. Do not begin implementation.

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 · 23 lines · 50 tokens per session scan A 932b101d554d

Subscribe to this mod's changes

queen-planner is an agent published in the GitHub repository Black-coffe/vulyk (2 stars, last pushed 14d ago), licensed MIT. It adds 50 tokens to every session and 698 once invoked, about $0.0003 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.