planning-horizons

planning-horizons is a skill for Claude Code, Codex from romainsimon/skills-for-decision-making. It costs 87 tokens per session (1,781 once invoked), scanned A, original, MIT.

A way to plan only as far ahead as needed to choose the next step, then revise the plan after acting. It makes the value of future results explicit instead of treating distant and immediate benefits as equal.

In plain words
What is it for?
Use it for roadmaps, backlog prioritisation, and short-term versus long-term planning. It helps set a planning depth, keep the first action, and define when to review the plan.
Why use it?
It avoids spending time on plans that will not change what you do next. It also helps compare long-term work with the current plan and remove backlog items that are unlikely to be worthwhile.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/calc.js discount --half-life 6.

Good fit Use it for roadmaps, backlog prioritisation, and short-term versus long-term planning. It helps set a planning depth, keep the first action, and define when to review the plan.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/romainsimon/skills-for-decision-making
agentmods
npx agentmods add skills/romainsimon/skills-for-decision-making/planning-horizons

Made for: Claude Code, Codex.

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 planning-horizons

README.md
[![agentmods](https://agentmods.dev/badge/skills/romainsimon/skills-for-decision-making/planning-horizons/github.svg)](https://agentmods.dev/skills/romainsimon/skills-for-decision-making/planning-horizons)
Your own site
<a href="https://agentmods.dev/skills/romainsimon/skills-for-decision-making/planning-horizons"><img src="https://agentmods.dev/badge/skills/romainsimon/skills-for-decision-making/planning-horizons/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 planning-horizons

Your own site · 80×15
<a href="https://agentmods.dev/skills/romainsimon/skills-for-decision-making/planning-horizons"><img src="https://agentmods.dev/badge/skills/romainsimon/skills-for-decision-making/planning-horizons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,781 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00087 $0.01781
Opus 5 $0.00044 $0.00890
Sonnet 5 $0.00017 $0.00356
Haiku 4.5 $0.00009 $0.00178

Measured 12d ago against content hash 494f783e7382, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

planning-horizons 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 12d 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.

planning-horizons/SKILL.md · 174 lines

How it starts

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

Planning horizons

Two chronic errors in roadmapping, and both are cheap to fix:

  1. Planning deeper than the decision requires. Past a certain depth, extra planning changes nothing about what you do on Monday. That work is spend, not rigour.
  2. Leaving the discount rate implicit. Every argument about short-term versus long-term is an argument about a discount factor that nobody has written down. Write it down and the argument usually resolves in a minute.

The organising principle is receding horizon planning: plan to depth d, execute the first step, then replan. You are not committing to the plan. You are using the plan to choose the next action.

Workflow

- [ ] 1. Set the discount factor from a half-life you can defend
- [ ] 2. Find the depth where extra planning stops changing the first move
- [ ] 3. Prune the backlog against the incumbent
- [ ] 4. Evaluate the current plan before replacing it
- [ ] 5. Plan to that depth, commit only the first step, set a replan trigger

1. Set the discount factor

Do not argue about gamma. Argue about the half-life: how many periods until a payoff is worth half as much to us? Then convert.

node scripts/calc.js discount --half-life 6

That reports the effective horizon (1/(1-gamma)) - the point past which contributions are noise - and the weight on payoffs at 1, 3, 6, 12 and 24 periods.

Defensible half-lives depend on your position, not your temperament:

Position Monthly half-life Effective horizon
Under 6 months of runway 3 ~4 months
Profitable, stable 12 ~17 months
Funded with a clear multi-year thesis 24 ~35 months

Runway is the honest driver. A short runway should produce a high discount rate, because a payoff after you run out of money has a utility of zero. That is not short-termism, it is arithmetic. Say it that way and the strategic argument becomes a financing argument, which is the one actually worth having.

2. Find the depth that matters

Read the full file on GitHub · 174 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 174 lines · 87 tokens per session scan A 494f783e7382

Subscribe to this mod's changes

planning-horizons is a skill published in the GitHub repository romainsimon/skills-for-decision-making (11 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 1,781 once invoked, about $0.0004 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.