gh-issue

gh-issue is a skill for Claude Code, Codex from mir-am/skills-agents-ai-coding. It costs 20 tokens per session (738 once invoked), scanned A, original, MIT.

A workflow for creating a GitHub issue from a bug or feature idea discovered during an agent session.

In plain words
What is it for?
Use it to decide whether the request is a bug or enhancement, draft a short issue title and body, apply the matching label, and create the issue with GitHub CLI.
Why use it?
It turns the session’s findings into a concise, labelled issue without requiring the details to be reconstructed later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to decide whether the request is a bug or enhancement, draft a short issue title and body, apply the matching label, and create the issue with GitHub CLI.

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/gh-issue"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/gh-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 738 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.00020 $0.00738
Opus 5 $0.00010 $0.00369
Sonnet 5 $0.00004 $0.00148
Haiku 4.5 $0.00002 $0.00074

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

Security

Grade A, and why

gh-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 8d 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/gh-issue/SKILL.md · 85 lines

How it starts

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

What I do

  • Ask user if this is a bug or feature request (if not already stated)
  • Draft a concise, AI-agent-readable title and body from session context
  • Apply bug or enhancement label (GitHub creates it if missing)
  • Create the issue via gh issue create and return the URL

When to use me

Use this skill when:

  • User discovers a bug or has a feature idea during a session
  • User wants to log it as a GitHub issue without losing the session context

Prerequisites

  • GitHub CLI (gh) must be installed and authenticated
  • Must be inside a git repo with a GitHub remote
  • If gh not installed → error: "Error: GitHub CLI not found. Install: https://cli.github.com/"
  • If no GitHub remote found → error: "Error: No GitHub remote found. Is this a GitHub repository?"

Workflow

  1. Determine issue type

    • If user did not specify → ask: "Is this a bug or a feature request?"
    • Map to label: bug → bug, feature request → enhancement
  2. Draft the issue from session context

    • Title: short, imperative, ≤60 chars
      • Bug examples: Fix null pointer in auth handler, Handle empty state in user list
      • Feature examples: Add dark mode toggle to settings, Support CSV export for reports
    • Body: use the 3-field format below
    • Label: bug or enhancement
  3. Validate prerequisites

    gh auth status
    git remote get-url origin
    
  4. Create the issue

    gh issue create --title "<title>" --label "<bug|enhancement>" --body "<body>"
    
  5. Return the issue URL to the user

Issue Body Format

**Type:** Bug | Feature Request
**Context:** <1-2 sentences — what was happening in the session when this was found>
**Description:** <What needs to be done, written concisely for an AI agent to act on later>

Title Guidelines

  • Imperative mood, present tense (e.g. "Fix", "Add", "Support", "Handle")
  • ≤60 characters
  • No period at end
  • Specific enough for an AI agent to understand the scope without extra context

Read the full file on GitHub · 85 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. 8d ago First seen · 85 lines · 20 tokens per session scan A c8ab5e847a11

Subscribe to this mod's changes

gh-issue is a skill published in the GitHub repository mir-am/skills-agents-ai-coding (2 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 738 once invoked, about $0.0001 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-31.