new-issue-loop

new-issue-loop is a skill for Claude Code from richkuo/rk-skills. It costs 111 tokens per session (1,005 once invoked), scanned A, original, MIT.

An automated workflow that creates a complete GitHub issue and immediately takes it through implementation and pull-request review. GitHub issues track work, while a pull request (PR) proposes code changes for review.

In plain words
What is it for?
Use it for bugs, ideas, or discussions that should become a fully specified issue and then an implemented, reviewed PR. It can also accept a repository owner and name when the work belongs elsewhere.
Why use it?
It removes the pause between describing a task, filing a properly researched issue, implementing it, and reviewing the resulting code. This helps prevent vague issue descriptions from being passed directly to an agent.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the rk-skills plugin — 37 skills, 1 command shipped together

Good fit Use it for bugs, ideas, or discussions that should become a fully specified issue and then an implemented, reviewed PR. It can also accept a repository owner and name when the work belongs elsewhere.

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

Made for: Claude Code.

Or install rk-skills, the plugin that ships this one along with the rest of its 37 skills, 1 command.

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 new-issue-loop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/richkuo/rk-skills/new-issue-loop"><img src="https://agentmods.dev/badge/skills/richkuo/rk-skills/new-issue-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 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.00111 $0.01005
Opus 5 $0.00056 $0.00502
Sonnet 5 $0.00022 $0.00201
Haiku 4.5 $0.00011 $0.00101

Measured 9d ago against content hash 8996c5d99091, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

new-issue-loop 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 9d 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/new-issue-loop/SKILL.md · 52 lines

How it starts

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

new-issue-loop

Chain new-issue → validate-issue-loop into one autonomous run, so a bug/idea/discussion goes from "described" to "filed issue with a PR through N rounds of review" without a human in the loop between steps. This is new-issue's normal interactive handoff (Offer "validate issue" / "work on issue") made unattended: the loop takes the issue it just filed and feeds it straight into the validate-and-implement pipeline.

Do not skip filing a complete issue. The downstream loop validates and implements the issue text — a thin or unverified body propagates straight into the PR. Every step of new-issue still runs (grounding, approach design, complexity score); only the "offer next steps and wait" step is replaced by the handoff.

Input

Same as new-issue: an optional description of what the issue should cover; with no input, derive it from the current conversation. Optionally owner/repo when the issue belongs elsewhere.

Steps

1. Run new-issue

Invoke the new-issue skill (Skill tool, skill: new-issue) with the user's description (or conversation-derived scope). Let it run its full process — duplicate check, code grounding, approach, complexity score, filing. Capture the created issue number from its report.

2. Stop gate — cases the loop can't safely continue

Condition Action
new-issue found an existing open issue/PR already covering it (no issue filed) STOP. Report the duplicate and new-issue's offer to update/comment instead — whether to merge scopes is a human call.
The conversation held several distinct candidates If one clearly converged, file it and continue the chain with it; the unfiled candidates go in the final report. If none clearly converged, STOP — report the candidates and ask which to file. Never bundle, never auto-file the extras.
new-issue split the work and named unfiled follow-ups Continue with the core issue only; relay the unfiled follow-ups in the final report.

Read the full file on GitHub · 52 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. 9d ago First seen · 52 lines · 111 tokens per session scan A 8996c5d99091

Subscribe to this mod's changes

new-issue-loop is a skill published in the GitHub repository richkuo/rk-skills (49 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 1,005 once invoked, about $0.0006 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

issue-fields-migration

Bulk-migrate metadata to GitHub issue fields from two sources: repo labels (e.g. priority labels to a Priority field) and Project V2 fields. Use when users say "migrate my labels to issue fields", "migrate project fields to issue fields", "convert labels to issue fields", "copy project field values to issue fields"…

boshi-xixixi/TraeSkill · 116 tokens

comet-github-idea-to-issue

A workflow for turning a local idea, bug observation, or improvement proposal into a focused GitHub Issue draft. GitHub Issues are shared records for bugs, features, questions, and maintenance work.

rpamis/comet · 68 tokens

codex-issue-coordinator

Coordinates a large batch of GitHub issues through separate Codex worker threads, tested pull requests, review loops, and gated merges. Use when the user asks one Codex thread to manage several coding sessions or complete a parent issue, milestone, or issue batch.

owainlewis/blueprint · 59 tokens

loop-it

An automated workflow that repeatedly fetches open GitHub issues, orders them by dependencies, implements them, reviews the changes, and ships them.

smallnest/goal-workflow · 93 tokens

to-issues

A planning aid that breaks a PRD or technical specification into small implementation issues, each covering a complete, demonstrable piece of work.

smallnest/goal-workflow · 96 tokens

friction-log

File contributor or agent papercuts as GitHub issues labeled friction, or investigate those issues as the daily friction-log Cloud Agent. Use when you hit repo friction, when asked to log friction, or when spawned to resolve open friction issues.

educlopez/ui-craft · 52 tokens