afc:issue

afc:issue is a skill for Claude Code from jhlee0409/all-for-claudecode. It costs 19 tokens per session (1,717 once invoked), scanned A, original, MIT.

A GitHub issue analysis tool for investigating a reported bug, request, or task. It examines the issue and related project code, then creates a structured analysis and suggests the next workflow.

In plain words
What is it for?
Investigating GitHub issues, tracing related code, understanding bug reports, and deciding whether to debug, write a specification, or run the full workflow.
Why use it?
It turns an issue’s description, labels, comments, and attachments into a clearer understanding of the requirements and possible next step. It also checks whether the GitHub command-line access needed for the analysis is available.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Investigating GitHub issues, tracing related code, understanding bug reports, and deciding whether to debug, write a specification, or run the full workflow.

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

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 hooks.

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 afc:issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/issue.svg)](https://agentmods.dev/skills/jhlee0409/all-for-claudecode/issue)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/issue"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,717 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.00019 $0.01717
Opus 5 $0.00010 $0.00859
Sonnet 5 $0.00004 $0.00343
Haiku 4.5 $0.00002 $0.00172

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

Security

Grade A, and why

afc: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/issue/SKILL.md · 192 lines

How it starts

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

/afc:issue — GitHub Issue Analysis

Analyzes a single GitHub issue (title, body, labels, comments, attached images) and produces a structured analysis document. Searches the codebase for related files and suggests the appropriate next afc skill (debug, spec, or auto).

Pre-fetch

!gh --version >/dev/null 2>&1 && gh auth status >/dev/null 2>&1 && echo "GH_OK" || echo "GH_UNAVAILABLE"

Arguments

  • $ARGUMENTS — (required) One of:
    • Issue number: 123 or #123
    • GitHub URL: https://github.com/owner/repo/issues/123
    • Cross-repo: owner/repo#123

Execution Steps

1. Prerequisites Check

If the pre-fetch returned GH_UNAVAILABLE:

  • Output: [afc:issue] Error: GitHub CLI (gh) is not installed or not authenticated. Install from https://cli.github.com/ and run 'gh auth login'.
  • Abort immediately.

2. Parse Input

Determine the input format and extract owner, repo, and issue number:

  1. GitHub URL (https://github.com/{owner}/{repo}/issues/{number}): extract from path, set GH_REPO_FLAG="--repo {owner}/{repo}"
  2. Cross-repo ({owner}/{repo}#{number}): split on #, set GH_REPO_FLAG="--repo {owner}/{repo}"
  3. Local number (123 or #123): strip leading #, set GH_REPO_FLAG="" (use current repo from git remote)

3. Collect Issue Data

gh issue view {number} {GH_REPO_FLAG} --json number,title,body,labels,author,comments,createdAt,state,url

If the command fails → output error and abort.

Parse and extract: TITLE, BODY, LABELS, AUTHOR, COMMENTS, CREATED_AT, STATE, URL.

4. Analyze Attached Images

Extract image URLs from the issue body (skip images inside code block fences):

  • Markdown: ![alt]({url})
  • HTML: <img src="{url}">

For each URL: fetch with WebFetch, analyze content (error messages, UI screenshots, console output, stack traces), tag results with [Image Analysis]. Record failures as [Image unavailable: {url}].

If no images: note No attached media found.

Read the full file on GitHub · 192 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 · 192 lines · 19 tokens per session scan A d3d9354f5639

Subscribe to this mod's changes

afc:issue is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 1,717 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.