gh-issue

gh-issue is a skill for Claude Code from TypedDevs/bashunit. It costs 22 tokens per session (499 once invoked), scanned A, original, MIT.

A workflow for taking a GitHub issue—a reported task or bug—through implementation and into a pull request, a proposed code change for review. It uses TDD, meaning tests are written to guide and check the implementation.

In plain words
What is it for?
Use it to fetch an issue, assign and label it, create a branch, inspect the codebase, implement the change with tests, and open a pull request.
Why use it?
It organizes issue handling so the task, branch, tests, code changes, and review request follow a repeatable process.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to fetch an issue, assign and label it, create a branch, inspect the codebase, implement the change with tests, and open a pull request.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/typeddevs/bashunit/gh-issue/github.svg)](https://agentmods.dev/skills/typeddevs/bashunit/gh-issue)
Your own site
<a href="https://agentmods.dev/skills/typeddevs/bashunit/gh-issue"><img src="https://agentmods.dev/badge/skills/typeddevs/bashunit/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/typeddevs/bashunit/gh-issue"><img src="https://agentmods.dev/badge/skills/typeddevs/bashunit/gh-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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.00022 $0.00499
Opus 5.5 $0.00009 $0.00200
Sonnet 5.5 $0.00004 $0.00100
Haiku 4.5 $0.00002 $0.00050

Measured 5d ago against content hash 8aee014928ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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.

.agnostic-ai/skills/gh-issue/SKILL.md · 21 lines

What it actually says

Work a GitHub issue

Repository paths are relative to the repository root. Accept an issue number with or without #.

  1. Fetch gh issue view <number> --json title,body,labels,assignees,milestone,state and read every comment with gh issue view <number> --comments. Inspect referenced requirements and current code before repeating prior findings. State one acceptance scenario and non-goals; do not invent decisions or mark external prerequisites complete.
  2. Assign yourself if unassigned with gh issue edit <number> --add-assignee @me. Apply an existing relevant label when missing: bug, enhancement, or documentation. Preserve another assignee's work.
  3. Inspect the checkout before switching branches. Fetch main and start from current origin/main without discarding local changes. Use fix/, feat/, or docs/ according to the issue labels, defaulting to feat/; name the branch <prefix><number>-<lowercase-title-slug> with a slug up to 50 characters. Reuse an existing issue branch when continuing its work.
  4. Study related code and tests. Keep a short plan covering acceptance criteria, test strategy, owned files, and the smallest first step. Use a task file for nontrivial work and read .agnostic-ai/rules/tdd-workflow.md.
  5. For each runtime change, prove a focused failing test, implement minimal GREEN, then refactor with focused tests green. Delegate only independent scopes; workers run assigned targeted checks. Update CHANGELOG for user-facing changes and docs for changed behavior.
  6. Once the whole change set is complete, the main session runs the canonical quality gate in .agnostic-ai/AGNOSTIC_AI.md once. Use the commit skill with Closes #<number> in the commit body, then the pr skill with the issue number. Push only within user authorization.

Report the issue, acceptance scenario, branch, delivered behavior, validation, and any unresolved prerequisite. Do not paste the full issue or a generic plan back to the user.

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. 5d ago Changed · -101 lines 8aee014928ad
  2. 1mo ago First seen · 122 lines · 22 tokens per session scan A 811551b3a84f

Subscribe to this mod's changes

gh-issue is a skill published in the GitHub repository TypedDevs/bashunit (435 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 499 once invoked, about $0.0001 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-08-30.