what-next

what-next is a skill for Codex from Jamie-BitFlight/claude_skills. It costs 66 tokens per session (2,102 once invoked), scanned A, original, MIT.

A decision-making workflow for choosing the next action when a task is uncertain, stalled, or missing trusted evidence. It checks prerequisites, compares approaches, coordinates work, and validates the result.

In plain words
What is it for?
Use it to make plans under uncertainty, investigate blockers, coordinate helpers, and verify completed work.
Why use it?
It reduces the risk of taking the first plausible action without checking whether the task is ready or whether the result actually works.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex.

Good fit Use it to make plans under uncertainty, investigate blockers, coordinate helpers, and verify completed work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamie-bitflight/claude_skills/what-next
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.

Any agent
npx skills add Jamie-BitFlight/claude_skills --skill what-next
Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_skills

Made for: 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 what-next

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/what-next/github.svg)](https://agentmods.dev/skills/jamie-bitflight/claude_skills/what-next)
Your own site
<a href="https://agentmods.dev/skills/jamie-bitflight/claude_skills/what-next"><img src="https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/what-next/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 what-next

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamie-bitflight/claude_skills/what-next"><img src="https://agentmods.dev/badge/skills/jamie-bitflight/claude_skills/what-next.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,102 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00066 $0.02102
Opus 5.5 $0.00026 $0.00841
Sonnet 5.5 $0.00013 $0.00420
Haiku 4.5 $0.00007 $0.00210

Measured 3mo ago against content hash 4115f948822f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

what-next 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 3mo 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.

.codex/skills/what-next/SKILL.md · 275 lines

How it starts

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

What Next

Use this skill to choose and execute the next move when the path is uncertain, trust is damaged, or the work needs more than the first plausible idea.

The core loop is:

reconstruct goal -> reverse prerequisites -> classify completeness -> discover before asking
-> generate approach options -> adversarially eliminate -> synthesize
-> execution gate -> delegate/implement -> validate real behavior -> record concerns -> repeat

Operating Rules

  • Treat agreement, apology, and polished restatement as zero progress unless they produce an observable next action or decision.
  • Generate multiple materially different approaches before choosing one. Five is a useful forcing function, not a required task count.
  • Separate generation from evaluation. Do not critique options while brainstorming them.
  • Use evidence before asking the user. If a question can be answered by reading source, docs, tests, runtime behavior, official documentation, or internet research, do that first.
  • Use subagents for adversarial critique and independent work when available. If subagents are unavailable, perform the same critique directly and record that limitation as a validation or process concern.
  • Do not execute implementation work until required execution inputs are available, evidence-derived, or safely defaulted.
  • Validate through the actual mechanism the user depends on. Manual inspection can support diagnosis, but it is not proof of product behavior.

Step 1: Reconstruct The Goal

Write a compact goal frame before planning:

Goal:
- [One sentence describing the desired outcome]

Success output:
- [Observable artifact, behavior, test result, deployment state, or decision]

Scope:
- In scope: [known]
- Out of scope: [known]

Current evidence:
- [Facts already known, with sources when available]

Current risks:
- [Unproven assumptions, unknown changes, failed validations, or trust gaps]

If the goal cannot be stated as an observable result, classify that as an unresolved input and route it through discovery or a batched user question.

Read the full file on GitHub · 275 lines

Files

What ships with it

1 file 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. 3mo ago First seen · 275 lines · 66 tokens per session scan A 4115f948822f

Subscribe to this mod's changes

what-next is a skill published in the GitHub repository Jamie-BitFlight/claude_skills (67 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 2,102 once invoked, about $0.0003 per session on Opus 5.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-09-03.

Related

what-next compared with skills from other repositories

what-next next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
what-nextJamie-BitFlight/claude_skillsSkill671mo agoMITA66Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code