next

A project-progress orchestrator chooses the next clear task from a backlog, which is a stored list of work to do. It can handle one task or a limited sequence of tasks, with optional scopes such as blocked items or a group.

In plain words
What is it for?
Use it to start the next backlog task, process several bounded tasks, work through blocked items, or advance a named group.
Why use it?
It removes the need to inspect the backlog and decide manually what to do next when the next action is clear.

Skill for Claude CodeCodex

Part of the rpm plugin — 8 skills, 3 agents, 8 hooks shipped together

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 skills/dppdppd/rpm/next
Any agent
npx skills add dppdppd/rpm --skill next
Clone the repo
git clone --depth 1 https://github.com/dppdppd/rpm

Made for: Claude Code, Codex.

Or install rpm, the plugin that ships this one along with the rest of its 8 skills, 3 agents, 8 hooks.

Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,343 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.00239 $0.08343
Opus 5 $0.00120 $0.04172
Sonnet 5 $0.00048 $0.01669
Haiku 4.5 $0.00024 $0.00834

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

Security

Grade A, and why

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 2d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/contradiction-check.sh, scripts/is-pre-completed.sh, scripts/log-decision.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/next/SKILL.md · 689 lines

How it starts

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

/next

Orchestrator that handles preflight maintenance, then tries to move the backlog forward. With no argument a direct /next turn ends by either starting the next obvious backlog action or asking the user to clarify what should be next; a looped /next turn must not expect user input, dispatches only unambiguous work, and otherwise idles until the loop-exhausted guard stops it.

When given a count or scope (N, blocked, all, or a group name), /next runs a bounded internal sequence instead: it works several backlog items in one turn, skipping the heavy preflight between steps (see Sequencing). How wide it runs — one worker at a time or a fan-out batch — is the orchestrator's judgment call, sized to how independent the selected work is (see Concurrency). It never waits for user input mid-sequence. For an attended multi-step push, reach for a sequence first — it is cheaper than an external loop (heavy preflight only at the start and end, not every tick) and stays in one turn. /loop /next still works and remains the right tool for genuinely unattended or scheduled runs that span many turns; it benefits from the same preflight cadence.

Project Amendments

At the start of every invocation, check whether docs/rpm/skills/next.md exists in the consuming project. If it does, read it and apply its contents as additional project-specific instructions for this skill. Amendments may add preflight steps, narrow dispatch criteria, add output requirements, or extend the worker contract. They cannot remove or override plugin defaults — on conflict, this SKILL.md wins.

Routing

Parse $ARGUMENTS into a first token and an optional second token:

  • empty → run one orchestrator step (the single-step flow below).

  • status → run the status formatter and stop:

    !bash ${CLAUDE_SKILL_DIR}/scripts/status.sh

    Render the output verbatim. Do not interpret, summarize, or add commentary — the user wants the raw view.

  • integer N (≥ 1) → run a sequence of up to N cycles (see Sequencing). N = 1 is identical to the single-step flow.

  • blocked → run a sequence until a task needs the user, or no actionable task remains.

  • all → run a sequence until no actionable task remains, skipping tasks that need the user and continuing with the rest.

  • anything else → treat the first token as a * Parent group name in docs/rpm/future/tasks.org (match the heading text exactly, then case-insensitively). An optional second token scopes the run within that group: N, all, or blocked (default: drain the group until it has no actionable task or one needs the user). If no parent matches, print the usage block below and stop.

Read the full file on GitHub · 689 lines

Files

What ships with it

6 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. 2d ago First seen · 689 lines · 239 tokens per session scan A 31d5b33da823

Subscribe to this mod's changes

next is a skill published in the GitHub repository dppdppd/rpm (3 stars, last pushed 4d ago), licensed MIT. It adds 239 tokens to every session and 8,343 once invoked, about $0.0012 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.