validate-issue

validate-issue is a skill for Claude Code from richkuo/rk-skills. It costs 34 tokens per session (2,674 once invoked), scanned A, original, MIT.

A verification process for checking whether a GitHub issue accurately describes the current code and proposes a valid change. It examines the issue's claims, related pull requests, and implementation scope before returning one decision.

In plain words
What is it for?
Use it with an issue number, URL, or repository reference, or let it select the newest open issue. It checks behavior, cause, evidence, proposed fix, scope, and complexity.
Why use it?
It removes guesswork from deciding whether an issue is real, correctly understood, and ready to implement. This helps avoid building on outdated descriptions or unsupported assumptions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

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

Good fit Use it with an issue number, URL, or repository reference, or let it select the newest open issue. It checks behavior, cause, evidence, proposed fix, scope, and complexity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richkuo/rk-skills/validate-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 richkuo/rk-skills --skill validate-issue
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 validate-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/richkuo/rk-skills/validate-issue.svg)](https://agentmods.dev/skills/richkuo/rk-skills/validate-issue)
Your own site
<a href="https://agentmods.dev/skills/richkuo/rk-skills/validate-issue"><img src="https://agentmods.dev/badge/skills/richkuo/rk-skills/validate-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,674 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.00034 $0.02674
Opus 5 $0.00017 $0.01337
Sonnet 5 $0.00007 $0.00535
Haiku 4.5 $0.00003 $0.00267

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

Security

Grade A, and why

validate-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 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/validate-issue/SKILL.md · 149 lines

How it starts

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

validate-issue

Validate every current-behavior claim against code. Input: an issue URL, #N, N, or owner/repo#N; with none, take the newest open issue and state its number. { issue: <N>, targetBranch?: "<branch>" } (or prose "target branch ") names the merge target, which replaces the default branch in step 0.

0. Baseline branch

No worktree for validation or issue edits. Resolve DEFAULT=$(gh repo view --json defaultBranchRef --jq .defaultBranchRef.name); with a targetBranch, validate it per work-on-issue step 1 ("Target"), set DEFAULT to it, and name it as the target in the verdict. Run git fetch origin "$DEFAULT"; the verdict states git rev-parse --short "origin/$DEFAULT" as the baseline. Read a working-tree path only when it is tracked and git diff --quiet "origin/$DEFAULT" -- <path> exits 0; otherwise read git show "origin/$DEFAULT":<path>.

1. Fetch the issue and linked PRs

Run gh issue view <N> --comments, then list the cross-referenced PRs that comments omit (owner/repo#N input names the repo):

gh api --paginate repos/{owner}/{repo}/issues/<N>/timeline --jq '.[] | select(.event=="cross-referenced") | .source.issue | select(.pull_request) | "\(.number) \(.state)"'

Verify a merged fix against current code and recommend closure or reuse; list open overlapping PRs under Concerns.

2. Extract claims and assertions

List each current-behavior claim (causes, citations, sets, negatives, benefit premises) and proposal assertion (goals, lifetime, population timing, benefits, consumers, failure policy, deployment surface, touched sites). Flag for 5a and 5b: a new subsystem, shared state, cross-cutting refactor, deduplication, single source of truth, multi-consumer coordination, or infrastructure analogy.

3. Verify claims

Trace each scenario through its conditions and config. Code outranks prose. Verify independently even for the repo owner, recent code, or runtime state machines. Apply every triggered depth rule:

Read the full file on GitHub · 149 lines

Files

What ships with it

4 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 Changed c8d9ca8f8c52
  2. 3d ago Changed 4469c80fa3fe
  3. 4d ago Changed · -41 lines · -27 tokens per session 98da16ef9f92
  4. 8d ago First seen · 190 lines · 61 tokens per session scan A 0ae3945e3dde

Subscribe to this mod's changes

validate-issue is a skill published in the GitHub repository richkuo/rk-skills (49 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 2,674 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

criticism-self-criticism

A structured review method for examining completed work, criticism, and repeated mistakes. It focuses on specific evidence, causes, effects, and practical improvements.

HughYau/qiushi-skill · 197 tokens

refactor

Expert code refactoring based on Martin Fowler's catalog — improve maintainability without changing behavior. Covers code smells, composing methods, moving features, organizing data, simplifying conditionals, method calls, and generalization. Triggers on: refactor, 重构, clean up, improve code, code smell, extract…

smallnest/goal-workflow · 71 tokens

understand

Review and understand freshly AI-generated code. Scans the current repo's uncommitted/branch changes and builds a Claude-style light-themed two-column webpage — left is the project folder tree of changed files, right is the selected file's syntax-highlighted diff (additions/deletions clearly distinguished from…

smallnest/goal-workflow · 125 tokens

arize-annotation

INVOKE THIS SKILL when creating, managing, or using annotation configs or annotation queues on Arize (categorical, continuous, freeform), or applying human annotations to project spans via the Python SDK. Configs are the label schema for human feedback; queues are review workflows that route records to annotators.…

boshi-xixixi/TraeSkill · 97 tokens

ai-ready

Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR review patterns and creates files customized to your stack. USE THIS SKILL when the user asks to "make this repo ai-ready", "set up AI config", or "prepare this repo…

boshi-xixixi/TraeSkill · 78 tokens

dotnet-best-practices

Ensure .NET/C# code meets best practices for the solution/project.

boshi-xixixi/TraeSkill · 21 tokens