next-issue

next-issue is a skill for Claude Code from kelp/agent-plugins. It costs 105 tokens per session (4,291 once invoked), scanned A, original, MIT.

A workflow for turning one GitHub child issue into one pull request. It covers planning, review, implementation with TDD—writing a failing test, making it pass, and improving the code—and follow-up until automated checks and review comments are complete.

In plain words
What is it for?
Use it to choose or receive one child issue, write and review its plan, implement one slice, open a draft pull request, and finish its review and CI work.
Why use it?
It gives a single small task a defined path from backlog to reviewed code. This reduces skipped planning, incomplete review responses, and changes that have not passed the project's checks.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

Part of the next-issue plugin — 3 skills shipped together

Good fit Use it to choose or receive one child issue, write and review its plan, implement one slice, open a draft pull request, and finish its review and CI work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kelp/agent-plugins/next-issue
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 kelp/agent-plugins --skill next-issue
Clone the repo
git clone --depth 1 https://github.com/kelp/agent-plugins

Made for: Claude Code.

Or install next-issue, the plugin that ships this one along with the rest of its 3 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 next-issue

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kelp/agent-plugins/next-issue"><img src="https://agentmods.dev/badge/skills/kelp/agent-plugins/next-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,291 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.00105 $0.04291
Opus 5.5 $0.00042 $0.01716
Sonnet 5.5 $0.00021 $0.00858
Haiku 4.5 $0.00011 $0.00429

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

Security

Grade A, and why

next-issue 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 1mo 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.

plugins/next-issue/skills/next-issue/SKILL.md · 418 lines

How it starts

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

/next-issue

Do this whole procedure for one slice. Do not skip the plan review. Do not skip the comment drain. Do not start a second slice in the same change.

The project's CLAUDE.md is the architecture contract. This skill is the operating procedure. If this skill conflicts with that file or the Rules binding, follow those files.

Input

Slice: $ARGUMENTS

  • Empty → pick the next child issue from the backlog (§1).
  • An issue number → that child issue is the slice. Do not ask the user which issue to take. An orchestrator such as /next-parent passes this number once per child.

Binding

Read ## Next issue binding in the project's CLAUDE.md. If that heading is missing, read ## Next TODO binding (the old name). If both are missing, stop and tell the user to run /next-issue-init first.

Every value marked (binding) below comes from that section:

  1. Backlog — the GitHub repository that holds the issues.
  2. Plan — where the plan artifact lives. A local Plan there may refine child order for one session.
  3. Spec — spec file(s) and the approval rule.
  4. Gates — local commands before each commit.
  5. CI — required checks the parent waits on.
  6. Review axes — replacements for the defaults below, if any.
  7. Rules — TDD, style, and dependency files.
  8. Claims — optional. A command that takes one issue number, takes a lock on that issue, and prints the directory to work in. Unset means no lock: branch from main in the current checkout.

When to use

Use this skill when the user asks to land a slice, do the next child issue, plan a slice, or drain PR review comments to all-clear.

Do not use this skill for work that is not a child issue, unless the user maps that work onto a named child issue. Do the user's requested work instead.

1. Choose the work

The live work queue is GitHub Issues in the repository that Backlog (binding) names. The labels are the state:

  • parent marks a category issue. A parent issue is not work.
  • A child issue is a sub-issue of a parent. One child issue is one pull request.
  • A child issue carries ready, in-progress, or blocked.

Read the full file on GitHub · 418 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. 1mo ago First seen · 418 lines · 105 tokens per session scan A 39e7ef8efb63

Subscribe to this mod's changes

next-issue is a skill published in the GitHub repository kelp/agent-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 105 tokens to every session and 4,291 once invoked, about $0.0004 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-07.

Related

Other skills, from other repositories