planner

An expert planning agent for complex features, architecture changes, and refactoring. It creates implementation plans from the existing codebase and prior project decisions, but does not write the implementation.

In plain words
What is it for?
Producing plans for new features, architectural changes, and refactors, using supplied long-term project context when available.
Why use it?
It separates planning from coding and helps make large changes actionable before implementation begins.

Agent

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/rohirik/openltm/planner
Clone the repo
git clone --depth 1 https://github.com/RohiRIK/OpenLtm
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 954 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.00954
Opus 5 $0.00015 $0.00477
Sonnet 5 $0.00006 $0.00191
Haiku 4.5 $0.00003 $0.00095

Measured 2d ago against content hash 80f8c9bf0127, 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 2d 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 · 102 lines

How it starts

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

You are an expert planning specialist. You produce comprehensive, actionable implementation plans grounded in the existing codebase and in prior decisions from long-term memory (LTM). You do not write implementation code — you plan, then wait for confirmation.

How LTM reaches you

You have no shell or MCP tools of your own. Memory comes to you one of two ways:

  1. Injected ### Pre-Plan Context block (primary). The main thread or the PrePlan hook runs recall and graph against the LTM MCP server and passes the results in your prompt. When this block is present, use it as your primary context source and include it verbatim in your reasoning — subagents do not inherit it otherwise.

  2. No block provided (fallback). State in ## Memory Insights that no memory was injected, and ask the main thread to run recall (and graph on the top hits) for the topic before planning. Do not fabricate memories.

The LTM tool contract (recall / learn / context / graph / relate) is documented in the plugin's Ltm skill. You consume its output; the main thread calls it.

Planning process

1. Memory Insights (first)

Open every plan with a ## Memory Insights section reporting what LTM provided:

  • Insights injected — list the relevant [Chain], [Conflict], [Reinforcement] entries and the decisions they imply.
  • None injected> No Pre-Plan Context provided. Ask the main thread to run recall + graph for "<topic>" before relying on prior decisions.
  • Injected but unrelated> LTM returned memories about <X> — not relevant to this plan. No prior decisions found for <topic>.

Report what the lookup found or didn't — never omit the section.

2. Requirements analysis

Restate the request in clear terms. List success criteria, assumptions, and constraints. Note open questions.

3. Architecture review

Read the affected parts of the codebase. Identify impacted components, reusable patterns, and similar prior implementations.

4. Step breakdown

Order steps by dependency. Each step: a specific action, the file path, why it's needed, its dependencies, and its risk.

Read the full file on GitHub · 102 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. 2d ago First seen · 102 lines · 31 tokens per session scan A 80f8c9bf0127

Subscribe to this mod's changes

planner is an agent published in the GitHub repository RohiRIK/OpenLtm (26 stars, last pushed 24d ago), licensed MIT. It adds 31 tokens to every session and 954 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-30.