select-issue

select-issue is a skill for Claude Code from tomzx/agents. It costs 62 tokens per session (2,424 once invoked), scanned A, original, MIT.

A tool that chooses the next GitHub issue from a project's priority and roadmap views. GitHub Projects are boards or tables for organizing work; a roadmap view shows when work is planned.

In plain words
What is it for?
Use it to select the highest-priority open issue that also appears in the project's roadmap, using the GitHub command-line tool.
Why use it?
It avoids selecting an issue that is important but not scheduled, or scheduled but low priority. It combines both views to find work that is both planned and high priority.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it to select the highest-priority open issue that also appears in the project's roadmap, using the GitHub command-line tool.

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

Made for: Claude Code.

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 select-issue

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomzx/agents/select-issue"><img src="https://agentmods.dev/badge/skills/tomzx/agents/select-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,424 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.00062 $0.02424
Opus 5.5 $0.00025 $0.00970
Sonnet 5.5 $0.00012 $0.00485
Haiku 4.5 $0.00006 $0.00242

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

Security

Grade A, and why

select-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.

skills/select-issue/SKILL.md · 240 lines

How it starts

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

Select Issue

Reads a GitHub Project (V2) and selects the next issue to work on by intersecting two project views:

  1. A priority view (board or table grouped or sorted by priority), which ranks issues by priority.
  2. A roadmap view (timeline grouped by an iteration or date field), which confirms the work is scheduled.

The selected issue is the highest-priority open issue that is also scheduled (planned) in the roadmap. This avoids working on high-priority-but-unplanned items and on planned-but-low-priority items.

Prerequisites

  • gh CLI authenticated with read access to the project and its linked repositories
  • The gh token must have the read:project scope (project fields and items require it). Refresh with gh auth refresh -s read:project if queries return INSUFFICIENT_SCOPES
  • A GitHub Project (V2) that has a priority view and a roadmap view
  • Project in owner/number format ($1), or omit to use GITHUB_PROJECT from .env
  • Priority view name ($2), or omit to use PRIORITY_VIEW from .env, defaulting to Priority
  • Roadmap view name ($3), or omit to use ROADMAP_VIEW from .env, defaulting to Roadmap

Resolution rules

  1. Project: $1 overrides the GITHUB_PROJECT env var.
  2. Priority view: $2 overrides the PRIORITY_VIEW env var, which overrides the default Priority.
  3. Roadmap view: $3 overrides the ROADMAP_VIEW env var, which overrides the default Roadmap.

Workflow

Fetch project: fields, views, items (one GraphQL query)
         |
         v
Identify priority field (priority view group-by, else by name)
         |
         v
Identify roadmap scheduling field (iteration or date)
         |
         v
Build candidates: open, non-draft issues
         |
         v
For each candidate read: priority value + roadmap value
         |
         v
Filter to "planned": current or future roadmap slot
         |
         v
Sort: priority (field option order), then roadmap (soonest)
         |
         v
Select top candidate -> recommendation

Read the full file on GitHub · 240 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 · 240 lines · 62 tokens per session scan A 9872414a3347

Subscribe to this mod's changes

select-issue is a skill published in the GitHub repository tomzx/agents (13 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 2,424 once invoked, about $0.0002 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-15.