allocating-effort

allocating-effort is a skill for Claude Code, Codex from romainsimon/skills-for-decision-making. It costs 93 tokens per session (1,813 once invoked), scanned A, original, MIT.

A method for dividing limited time, money, or traffic among several options whose results are not yet known. It uses observed wins and losses while continuing to test options that have not been tried enough.

In plain words
What is it for?
Use it to allocate effort across products, marketing channels, campaigns, advertisements, landing pages, or content formats, then review the split after a fixed period.
Why use it?
It reduces the risk of committing everything to an apparent winner too early or spreading resources evenly after the evidence is clear.

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 allocate arms.json --budget 40 --floor 0.05.

Good fit Use it to allocate effort across products, marketing channels, campaigns, advertisements, landing pages, or content formats, then review the split after a fixed period.

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/allocating-effort

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 allocating-effort

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/romainsimon/skills-for-decision-making/allocating-effort"><img src="https://agentmods.dev/badge/skills/romainsimon/skills-for-decision-making/allocating-effort.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,813 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.00093 $0.01813
Opus 5 $0.00046 $0.00907
Sonnet 5 $0.00019 $0.00363
Haiku 4.5 $0.00009 $0.00181

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

Security

Grade A, and why

allocating-effort 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.

allocating-effort/SKILL.md · 171 lines

How it starts

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

Allocating effort

Deciding what to work on next is a bandit problem: several options, each with an unknown payoff rate, and every unit of effort spent on one is a unit not spent learning about the others. The two failure modes are symmetric and both are common - committing everything to the current leader before you know it is the leader, and spreading effort evenly long after you do.

Thompson sampling resolves both without tuning, and its allocation has a plain-English meaning: each option gets the share of effort equal to the probability it is the best one.

Workflow

- [ ] 1. Define the arms and what counts as a win
- [ ] 2. Count wins and losses honestly, including the zeros
- [ ] 3. Set priors where you genuinely know something
- [ ] 4. Run the allocation
- [ ] 5. Read the under-explored list before cutting anything
- [ ] 6. Commit the split for a fixed period, then recount

1. Define the arms and the win

An arm is anything you allocate to: a product, a channel, an ad creative, a landing page, a content format. The win must be:

  • the same event for every arm - "signup" for one arm and "trial start" for another makes the comparison meaningless;
  • as close to revenue as you can measure quickly - clicks are a fast proxy that frequently ranks arms in the opposite order to paid conversion;
  • countable per unit of exposure - wins and losses, not a rate someone computed.

If arms have wildly different payoff sizes, this model is the wrong one: it compares rates, not values. Weight the wins by value first, or use the framing-decisions skill instead.

2. Count honestly, including the zeros

The arm with zero wins and fourteen tries goes in the table with wins: 0, losses: 14. Leaving it out because "it obviously doesn't work" is the mistake this whole skill exists to prevent: with a uniform prior that arm's posterior mean is 6%, not 0%, and 14 observations is nowhere near enough to distinguish 6% from 2%.

3. Set priors where you know something

Read the full file on GitHub · 171 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 · 171 lines · 93 tokens per session scan A 1b33241fa93c

Subscribe to this mod's changes

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