next

A task picker that reads MASTER_PLAN.md, scores its tasks by priority and status, and presents a choice for what to work on next.

In plain words
What is it for?
Use it to select the next bug, planned task, active task, review item, or any task from MASTER_PLAN.md.
Why use it?
It helps you choose the next task from an existing project plan instead of searching through the plan manually.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,301 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.00041 $0.01301
Opus 5 $0.00020 $0.00651
Sonnet 5 $0.00008 $0.00260
Haiku 4.5 $0.00004 $0.00130

Measured 2d ago against content hash 0bacdac0ae6a, 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.

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 · 154 lines

How it starts

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

What's Next?

Analyze MASTER_PLAN.md tasks, score by priority/status, and let the user pick interactively.

Triggers

  • /master-plan:next - Main command
  • "what should I work on", "pick a task", "next task", "what's next"

Arguments

Argument Filter
bugs Only BUG-XXX tasks
progress Only IN PROGRESS tasks
planned Only PLANNED (backlog) tasks
review Only REVIEW tasks
active IN PROGRESS + REVIEW
all Include DONE tasks

Example: /master-plan:next bugs or /master-plan:next planned

Workflow

Step 1: Find MASTER_PLAN.md

Search for the plan file in order:

  1. docs/MASTER_PLAN.md
  2. MASTER_PLAN.md
  3. master-plan.md
  4. docs/master-plan.md

If not found, tell the user: "No MASTER_PLAN.md found. Run /master-plan:task to create your first task, or create one from the template."

Step 2: Parse Tasks

Read the file and extract tasks from ### headers matching this pattern:

### [optional ~~]TASK-123[optional ~~]: Title (STATUS)

Regex: ^###\s+(~~)?((TASK|BUG|FEATURE|ROAD|IDEA|ISSUE|INQUIRY)-\d+)(~~)?:\s*(.+?)\s*\(([^)]+)\)

For each match, extract:

  • ID: e.g., TASK-123, BUG-456
  • Title: The text after : and before (
  • Status: Text in parentheses. Normalize:
    • Contains "DONE", "COMPLETE", "FIXED", "✅", or has strikethrough → DONE
    • Contains "IN PROGRESS", "🔄" → IN PROGRESS
    • Contains "REVIEW", "👀" → REVIEW
    • Contains "PAUSED", "⏸️" → PAUSED
    • Otherwise → PLANNED
  • Priority: Look in the lines following the header for **Priority**: P0-P3. Default to P2 if not found.

Step 3: Check for Active Work

Look for IN PROGRESS tasks first — these should be finished before starting new work.

Also check git status:

git status --short

If uncommitted changes exist, mention: "You have uncommitted changes — consider committing or running /master-plan:save first."

Step 4: Sort and Filter

Default sort order (what to START next):

  1. PLANNED first, then REVIEW, IN PROGRESS, PAUSED, DONE last
  2. Within same status: P0 → P1 → P2 → P3

Read the full file on GitHub · 154 lines

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 · 154 lines · 41 tokens per session scan A 0bacdac0ae6a

Subscribe to this mod's changes

next is a skill published in the GitHub repository endlessblink/master-plan (27 stars, last pushed 6mo ago), licensed MIT. It adds 41 tokens to every session and 1,301 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories