pm-next

pm-next is a skill for Claude Code, Codex from Hank95/mdpm. It costs 16 tokens per session (394 once invoked), scanned A, original, MIT.

A task-planning command that chooses the best next item from a project backlog, a list of planned work. It considers whether tasks are blocked, their priority, due date, age, and project milestone.

In plain words
What is it for?
It is for selecting one ready task, showing other candidates, checking active work, and reviewing the chosen task's acceptance criteria.
Why use it?
It removes the guesswork from deciding what to work on next and highlights when existing work should be finished first.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the mdpm plugin — 17 skills 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/hank95/mdpm/pm-next
Any agent
npx skills add Hank95/mdpm --skill pm-next
Clone the repo
git clone --depth 1 https://github.com/Hank95/mdpm

Made for: Claude Code, Codex.

Or install mdpm, the plugin that ships this one along with the rest of its 17 skills.

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 pm-next

README.md
[![agentmods](https://agentmods.dev/badge/skills/hank95/mdpm/pm-next.svg)](https://agentmods.dev/skills/hank95/mdpm/pm-next)
Your own site
<a href="https://agentmods.dev/skills/hank95/mdpm/pm-next"><img src="https://agentmods.dev/badge/skills/hank95/mdpm/pm-next.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 394 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.00016 $0.00394
Opus 5 $0.00008 $0.00197
Sonnet 5 $0.00003 $0.00079
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade A, and why

pm-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 4d 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.

skills/pm-next/SKILL.md · 52 lines

What it actually says

/pm-next

Pick the single best task to start next and explain why.

How to run

python3 "${CLAUDE_PLUGIN_ROOT}/bin/mdpm" --json next

The CLI already filters out blocked tasks and tasks with unmet dependencies, and ranks by: overdue first → priority → due date → created.

What to produce

The response contains recommendation (the top pick) and candidates (top 5 for context).

  1. Read docs/ROADMAP.md to understand the current milestone.
  2. Read the recommended task's body via mdpm --json show <id> for its acceptance criteria and notes.
  3. Check tasks/active/ via mdpm list --status active — if there's already work in flight, mention it. The user may want to finish what's active rather than start something new.

Format:

## Recommendation: [PRJ-123] Task Title

**Why:** <1-2 sentences: priority, milestone alignment, or unblocking effect>

**Acceptance criteria:**
- [ ] ...
- [ ] ...

**Suggested first step:** <concrete action derived from Objective/Notes>

Shall I move this to `tasks/active/` and get started?

If the user says yes, invoke /pm-start <id>.

Fallbacks

  • recommendation: null — no unblocked backlog tasks. Say so plainly. Suggest /pm-inbox to triage or /pm-plan to plan new work.
  • Active work already in flight — mention it but let the user decide whether to context-switch.

Notes

  • Read-only until the user confirms the pick.
  • If candidates tie on all ranking dimensions, just pick the first one the CLI returned.
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. 4d ago First seen · 52 lines · 16 tokens per session scan A 8af4ad691b7e

Subscribe to this mod's changes

pm-next is a skill published in the GitHub repository Hank95/mdpm (3 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 394 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

sideboard

Maintain and display a live project roadmap/kanban board backed by GitHub Issues. Use when the user asks to see, set up, or update the roadmap, add a feature to build next, mark an item in-progress or done, or when a chat naturally decides on upcoming work worth tracking. Manages the roadmap via gh (GitHub Issues) and…

mmyslin/sideboard · 86 tokens

project-manager

This skill has been upgraded with agentic AI capabilities, OKR/KPI integration patterns, and async-first workflows based on 2026 PM best practices research.

buiphucminhtam/forgewright · 68 tokens

kanban-md

Manage project tasks using kanban-md, a file-based kanban board CLI. Use when the user mentions tasks, kanban, board, backlog, sprint, project management, work items, priorities, blockers, or wants to track, create, list, move, edit, or delete tasks. Also use for standup, status update, sprint planning, triage, or…

antopolskiy/kanban-md · 82 tokens

kanban-based-development

Autonomous, parallel-safe development workflow using kanban-md. Use when the user asks to work through tasks, do kanban-based development, or when multiple agents need to coordinate work on the same codebase. Optimized for explicit handoffs and a "defer to user" protocol when human intervention is required.

antopolskiy/kanban-md · 68 tokens

alive:create-walnut

Something new is emerging. A venture, an experiment, a person entering the orbit, a life area getting serious. It needs its own walnut — its own identity, history, and future. Scaffolds the full structure, maps existing context sources, and optionally migrates files across.

alivecontext/alive · 63 tokens

alive:bundle

Create, share, and graduate bundles — the unit of focused work within a walnut. Manages the full bundle lifecycle from creation through sharing to graduation.

alivecontext/alive · 34 tokens