github-issue-prioritizer

github-issue-prioritizer is a skill for Claude Code, Codex from richfrem/agent-plugins-skills. It costs 43 tokens per session (531 once invoked), scanned A, original, MIT.

A tool for ranking GitHub issues from P0 to P3 using signals such as severity, how often a problem occurs, and whether it blocks work. GitHub is a service for hosting code and tracking issues.

In plain words
What is it for?
Use it to assign issue priority labels and update priority fields in GitHub Projects.
Why use it?
It helps teams turn scattered bug reports into a consistent order of work and keep GitHub priorities synchronized.

Skill for Claude CodeCodex

Part of the dev-utils plugin — 17 skills, 2 agents shipped together

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/richfrem/agent-plugins-skills/github-issue-prioritizer
Any agent
npx skills add richfrem/agent-plugins-skills --skill github-issue-prioritizer
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code, Codex.

Or install dev-utils, the plugin that ships this one along with the rest of its 17 skills, 2 agents.

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 github-issue-prioritizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/github-issue-prioritizer.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/github-issue-prioritizer)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/github-issue-prioritizer"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/github-issue-prioritizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 531 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.00043 $0.00531
Opus 5 $0.00022 $0.00266
Sonnet 5 $0.00009 $0.00106
Haiku 4.5 $0.00004 $0.00053

Measured yesterday against content hash b45bfa227000, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-issue-prioritizer 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/gh_issue_prioritize.py, tests/test_gh_issue_prioritize.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/dev-utils/skills/github-issue-prioritizer/SKILL.md · 55 lines

What it actually says

GitHub Issue Prioritizer Skill

Operational Context & Routing

Use this skill when you need to calculate issue priority ranks (P0-P3), update priority labels (priority:P0..P3), or generate payload updates for GitHub Projects v2 custom fields.

  • Intra-session ephemeral scratchpad: Use task-agent.
  • Logging friction / bugs: Use github-issue-agent.
  • Promoting task to issue: Use github-issue-backlog-agent.
  • Priority ranking & Projects v2 sync: Use github-issue-prioritizer.

Priority Ranking Rules

Priority is determined from three signals:

  1. Friction Tier (tier:0 .. tier:3): Systemic failures (Tier 3) immediately yield P0.
  2. Blockage (blocking, type:blocker): Active work blockages increase priority level.
  3. Occurrence Frequency: Repeated friction events escalate priority.

Priority Matrix

  • P0 (Critical / Systemic): Tier 3 friction OR (Blocking AND frequency >= 3)
  • P1 (High Priority): Tier 2 friction OR Blocking OR frequency >= 4
  • P2 (Medium Priority): Tier 1 friction OR frequency >= 2
  • P3 (Low Priority): Default / backlog items

Core CLI Usage

from plugins.dev_utils.skills.github_issue_prioritizer.scripts.gh_issue_prioritize import (
    prioritize_issue,
    generate_projects_v2_payload
)

# Calculate issue priority
issue = {
    "number": 42,
    "title": "Build runner sandbox crash",
    "labels": [{"name": "tier:3"}, {"name": "blocking"}],
    "occurrence_count": 5
}
result = prioritize_issue(issue)
# result["priority"] -> "P0"
# result["priority_label"] -> "priority:P0"

# Generate GitHub Projects v2 GraphQL mutation payload
payload = generate_projects_v2_payload(
    project_id="PVT_kwDOA12345",
    item_id="PVTI_lADOA12345",
    field_id="PVTF_priority123",
    single_select_option_id="opt_p0_123"
)
Files

What ships with it

3 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. yesterday First seen · 55 lines · 43 tokens per session scan A b45bfa227000

Subscribe to this mod's changes

github-issue-prioritizer is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 531 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-09-03.