handle-issue-comment

handle-issue-comment is a skill for Claude Code from tomzx/agents. It costs 28 tokens per session (577 once invoked), scanned A, original, MIT.

A workflow for answering a comment on a GitHub issue using the issue discussion and the repository's code as context. GitHub is a service where developers track bugs, requests, and technical conversations.

In plain words
What is it for?
Use it to investigate an issue comment, find the relevant code, and post a context-aware response.
Why use it?
It avoids replies based only on a short comment by checking the full discussion and relevant code first. This helps produce answers that address the actual question.

Skill for Claude Code

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

Good fit Use it to investigate an issue comment, find the relevant code, and post a context-aware response.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomzx/agents/handle-issue-comment
View source ↗ tomzx/agents
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 handle-issue-comment
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 handle-issue-comment

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomzx/agents/handle-issue-comment"><img src="https://agentmods.dev/badge/skills/tomzx/agents/handle-issue-comment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 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.00028 $0.00577
Opus 5 $0.00014 $0.00289
Sonnet 5 $0.00006 $0.00115
Haiku 4.5 $0.00003 $0.00058

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

Security

Grade A, and why

handle-issue-comment 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.

skills/handle-issue-comment/SKILL.md · 67 lines

How it starts

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

Handle Issue Comment

Replies to a comment on a GitHub issue with a relevant, context-aware response drawn from the codebase, issue description, and prior discussion.

Prerequisites

  • gh CLI authenticated with access to the target repository
  • Issue URL ($1) pointing to an existing GitHub issue

Skill attribution (GitHub)

Before posting any issue comment with gh, read github-post-attribution/SKILL.md and append the Posted with footer for SKILL_DIR = handle-issue-comment.

Steps

  1. Fetch the issue and all its comments:
    ghx issue view $1 --comments --refresh
    
  2. Clone the repository to gather codebase context:
    gh repo clone <owner>/<repo>
    
  3. Review the full comment thread to understand the discussion.
  4. Draft a reply that directly addresses the latest comment, grounded in codebase evidence and prior discussion.
  5. Post the reply (body = main reply plus Skill attribution footer):
    ghx issue comment $1 --body "..."
    

Example Usage

Scenario 1: Answering a technical question

/handle-issue-comment https://github.com/owner/repo/issues/20

Comment: "Where is the retry logic implemented?" Action: Look up the codebase, find src/retry.py, post a reply pointing to the relevant file and lines.

Scenario 2: Confirming a bug is reproducible

/handle-issue-comment https://github.com/owner/repo/issues/45

Comment: "I can reproduce this on v2.3 but not v2.2." Action: Review the changelog and relevant code between those versions, post a reply with findings.

Scenario 3: Clarifying scope

/handle-issue-comment https://github.com/owner/repo/issues/77

Comment: "Should this also fix the related problem in the admin panel?" Action: Review the issue's acceptance criteria, reply stating whether the admin panel is in scope.

Useful Commands Reference

Command Description
ghx issue view <issue-url> --comments --refresh Fetch issue details and all comments (fresh)
gh repo clone <owner>/<repo> Clone repository for codebase context
ghx issue comment <issue-url> --body "..." Post a reply comment on the issue

Read the full file on GitHub · 67 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. 5d ago First seen · 67 lines · 28 tokens per session scan A b9d9ce581ac0

Subscribe to this mod's changes

handle-issue-comment is a skill published in the GitHub repository tomzx/agents (6 stars, last pushed 5d ago), licensed MIT. It adds 28 tokens to every session and 577 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-09-03.