find-issues

find-issues is a command for Claude Code from twaldin/hone. It costs 9 tokens per session (948 once invoked), scanned A, original, MIT.

A command for finding open GitHub issues that a pull request may fix. It compares the proposed code changes with issue descriptions and related technical details.

In plain words
What is it for?
Use it to search for matching issues and add related-issue references to a pull request when appropriate.
Why use it?
It helps connect code changes to the problems they address, making related work easier to find and track.

Command for Claude Code

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

Good fit Use it to search for matching issues and add related-issue references to a pull request when appropriate.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/twaldin/hone/find-issues
View source ↗ twaldin/hone
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.

Clone the repo
git clone --depth 1 https://github.com/twaldin/hone

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 find-issues

README.md
[![agentmods](https://agentmods.dev/badge/commands/twaldin/hone/find-issues/github.svg)](https://agentmods.dev/commands/twaldin/hone/find-issues)
Your own site
<a href="https://agentmods.dev/commands/twaldin/hone/find-issues"><img src="https://agentmods.dev/badge/commands/twaldin/hone/find-issues/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 find-issues

Your own site · 80×15
<a href="https://agentmods.dev/commands/twaldin/hone/find-issues"><img src="https://agentmods.dev/badge/commands/twaldin/hone/find-issues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 948 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.00009 $0.00948
Opus 5 $0.00005 $0.00474
Sonnet 5 $0.00002 $0.00190
Haiku 4.5 $0.00001 $0.00095

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

Security

Grade A, and why

find-issues 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.

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.

capsules/bun-module-loader/.candidate-5187e276/.claude/commands/find-issues.md · 58 lines

What it actually says

Find issues for PR command

Find open GitHub issues that a pull request might fix. Include all likely matches — do not artificially limit the number of results.

To do this, follow these steps precisely:

  1. Use an agent to check if the PR (a) is closed/merged, or (b) already has a related-issues comment (check for the exact HTML marker <!-- find-issues-bot:marker --> in the PR comments - ignore other bot comments). If so, do not proceed.
  2. Use an agent to view the PR title, body, and diff (gh pr view and gh pr diff), and ask the agent to return a summary of:
    • What the PR changes (files modified, functions changed, features added/fixed)
    • Key technical terms, error messages, API names, or module names involved
    • Any issue numbers already referenced in the PR body or commit messages
  3. Then, launch 5 parallel agents to search GitHub for open issues that this PR might fix, using diverse keywords and search approaches derived from the summary in Step 2. IMPORTANT: Always scope searches with repo:owner/repo to constrain results to the current repository only. Each agent should try a different search strategy:
    • Agent 1: Search using error messages or symptoms described in the diff
    • Agent 2: Search using feature/module names from the changed files
    • Agent 3: Search using API names or function names that were modified
    • Agent 4: Search using keywords from the PR title and description
    • Agent 5: Search using broader terms related to the area of code changed
  4. Next, feed the results from Steps 2 and 3 into another agent, so that it can filter out false positives that are likely not actually related to the PR's changes. Exclude issues already referenced in the PR body (e.g. "fixes #123", "closes #456", "resolves #789"). Only keep issues where the PR changes are clearly relevant to the issue. If there are no related issues remaining, do not proceed.
  5. Finally, comment on the PR with all related open issues found (or zero, if there are no likely matches). Do not cap the number — list every issue that is a likely match.

Notes (be sure to tell this to your agents, too):

  • Use gh to interact with GitHub, rather than web fetch
  • You may also use read-only git commands (git diff, git log, git show, git grep, etc.) against the local checkout
  • Do not use other tools beyond gh and git (eg. don't use other MCP servers, file edit, etc.)
  • Make a todo list first
  • Always scope searches with repo:owner/repo to prevent cross-repo false positives
  • Only match against open issues - do not suggest closed issues
  • Exclude issues that are already linked in the PR description
  • For your comment, follow the following format precisely (assuming for this example that you found 3 related issues). The fenced block at the bottom must contain one Fixes #<number> line per issue, in the same order, so the PR author can copy-paste it directly into the PR description:

Found 3 issues this PR may fix:

If this is helpful, copy the block below into the PR description to auto-close these issues on merge.

Fixes #<number>
Fixes #<number>
Fixes #<number>

🤖 Generated with Claude Code


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 · 58 lines · 9 tokens per session scan A 5206d0f13445

Subscribe to this mod's changes

find-issues is a command published in the GitHub repository twaldin/hone (47 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 948 once invoked, about $0.0000 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-07.