← Back to Skills Marketplace
sliverp

issue-hunter

by Bijin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
135
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install issue-hunter
Description
Analyze, triage, and select the best issues to work on from GitHub repositories. Scores issues by reproducibility, scope, complexity, and community signal. P...
README (SKILL.md)

Issue Hunter — Issue Analysis & Selection

Overview

Systematically analyze open issues in target repositories, score them by fixability, and select the best candidates to work on. Produces a structured analysis document with root cause hypotheses and fix approaches.

Use cases: Open-source contribution targeting, sprint planning, backlog grooming, bug triage.

Prerequisites

GitHub CLI must be authenticated — issue fetching relies on gh API calls:

gh auth status   # Must show "Logged in"

If not configured, ask the user to provide:

  1. GitHub username
  2. GitHub token — run gh auth login or set export GH_TOKEN=\x3Ctoken>

Without auth, API rate limits will block bulk issue fetching.

Workflow

Step 1: Fetch Issues

For each target repository, fetch open issues:

# Fetch bug-labeled issues
gh issue list --repo {owner}/{repo} --label bug --state open --limit 30 \
    --json number,title,body,labels,comments,createdAt,updatedAt

# Also check these labels
gh issue list --repo {owner}/{repo} --label "good first issue" --state open --limit 10 \
    --json number,title,body,labels,comments,createdAt

gh issue list --repo {owner}/{repo} --label "help wanted" --state open --limit 10 \
    --json number,title,body,labels,comments,createdAt

If no label filtering works, fetch recent open issues:

gh issue list --repo {owner}/{repo} --state open --limit 50 \
    --json number,title,body,labels,comments,createdAt

Step 2: Score Each Issue

Rate each issue on these factors:

Factor 3 (High) 2 (Medium) 1 (Low)
Reproducibility Clear repro steps, stack trace Partial description Vague "doesn't work"
Scope Single module/file 2-3 files Cross-cutting concern
Complexity Logic bug, missing check Algorithm issue Architecture redesign
Community signal Multiple reports, 👍 Some engagement Single report, no reaction
Freshness Recent, no PR attempts Moderate age Old, multiple failed PRs
Testability Can write automated test Partially testable Manual testing only

Total score = sum of all factors (max 18).

Step 3: Select Candidates

Selection criteria (in priority order):

  1. Clearly a bug (not a feature request in disguise)
  2. Self-contained (fixable without deep domain knowledge)
  3. Testable (can write automated tests to verify)
  4. No existing PR addressing it
  5. Score ≥ 12/18

Red flags — skip issues if:

  • Already has an open PR (check with gh pr list --repo owner/repo --search "fixes #{number}")
  • Requires access to proprietary services/APIs
  • Involves native/platform-specific code you can't test
  • Maintainer has said "won't fix" or "by design"

Step 4: Deep-Dive Selected Issues

For each selected issue:

  1. Read the full thread — comments often contain root cause hints or partial fixes
  2. Identify relevant source files — search the codebase for keywords from the issue
  3. Draft a root cause hypothesis — "I believe X happens because Y"
  4. Draft a fix approach — "I'll modify Z to handle the W case"
  5. Estimate effort — Low (\x3C 1 hour), Medium (1-4 hours), High (4+ hours)

Step 5: Produce Analysis Document

Write {workspace}/issue-analysis.md:

# Issue Analysis — {Repository/Campaign Name}

> Generated: {date}

## Summary

| # | Repository | Issue | Title | Score | Effort | Status |
|---|-----------|-------|-------|-------|--------|--------|
| 1 | owner/repo | #123 | Bug title | 16/18 | Low | Selected |
| 2 | owner/repo | #456 | Bug title | 12/18 | Medium | Selected |
| 3 | owner/repo | #789 | Bug title | 8/18 | High | Skipped |

---

## Detailed Analysis

### owner/repo — Selected: #123 — Bug title

- **Score**: 16/18 (Repro: 3, Scope: 3, Complexity: 3, Signal: 2, Fresh: 3, Testable: 2)
- **Root cause**: {hypothesis}
- **Fix approach**: {description}
- **Files to modify**: `path/to/file.py`, `tests/test_file.py`
- **Effort estimate**: Low (\x3C 1 hour)
- **Risk**: Low — straightforward null check
- **Dependencies**: None

### owner/repo — Skipped: #789 — Bug title
- **Reason**: Requires architecture redesign, score 8/18

Output

  • {workspace}/issue-analysis.md — Per-repo issue analysis with selections

Tips

  • Pairs naturally with repo-scout (upstream) and repo-setup / dev-test (downstream).
  • For sprint planning: use the scoring system on your own project's issues to prioritize.
  • For backlog grooming: run periodically to re-score issues as new information appears.
  • When analyzing a single repo, skip the summary table and go straight to detailed analysis.
Usage Guidance
This skill appears coherent for triaging GitHub issues, but check a few things before installing or running it: 1) Ensure the GitHub CLI (gh) is installed and authenticated. The SKILL.md assumes gh auth or a GH_TOKEN — provide a token with the least privilege needed (prefer read-only issue/repo scopes). Avoid giving broad write/delete scopes. 2) Clarify repository access: the instructions expect the agent to inspect source files but do not include clone steps; confirm whether you must provide the repo in the workspace or permit the agent to clone it. 3) The skill writes `{workspace}/issue-analysis.md` — review generated reports before acting on them. 4) Run the skill in a non-sensitive workspace first to verify behavior. 5) Because the skill may be run autonomously (model invocation not disabled), monitor initial runs and token use; revoke or narrow token scopes if unexpected behavior occurs.
Capability Analysis
Type: OpenClaw Skill Name: issue-hunter Version: 1.0.0 The 'issue-hunter' skill is a legitimate tool designed to help an AI agent triage and analyze GitHub issues using the GitHub CLI (`gh`). The workflow involves fetching issue data, scoring it based on predefined criteria, and generating a markdown report, with no evidence of data exfiltration, malicious execution, or prompt injection (SKILL.md).
Capability Assessment
Purpose & Capability
Name and description match the actions in SKILL.md: fetching GitHub issues via the gh CLI, scoring them, and writing an analysis document. Required capabilities (gh CLI + GitHub auth) are appropriate for the stated goal.
Instruction Scope
Instructions are generally scoped to issue fetching, scoring, thread reading, and producing `{workspace}/issue-analysis.md`. However, the deep-dive step expects the agent to 'identify relevant source files' and 'search the codebase' but does not specify how to obtain or access the repository source (no explicit git clone or path assumptions). This is a functional gap: the skill assumes either the workspace already contains the repo or the agent will clone it; clarify which is expected.
Install Mechanism
Instruction-only skill with no install steps, no downloads, and no code to execute. This is low install risk.
Credentials
SKILL.md asks the user to authenticate gh and mentions GH_TOKEN as an option, but the registry metadata declares no required environment variables. This is reasonable but inconsistent: the skill will need a GitHub-authenticated gh session (or token) to operate at scale. Users should provide a minimally privileged token (read-only repo/issue scopes) if asked. No other secrets are requested.
Persistence & Privilege
always:false and no install/config changes. The skill writes a single output file to the workspace (`issue-analysis.md`) which is appropriate for its function. It does not request elevated or persistent platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install issue-hunter
  3. After installation, invoke the skill by name or use /issue-hunter
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of issue-hunter skill. - Analyze, triage, and prioritize GitHub issues using a structured, multi-factor scoring system (reproducibility, scope, complexity, community signal, freshness, testability). - Fetches and filters issues from GitHub repositories via `gh` CLI (requires authentication). - Generates an analysis document with root cause hypotheses and proposed fix approaches for selected issues. - Supports use cases including open-source contribution targeting, sprint planning, backlog grooming, and bug triage.
Metadata
Slug issue-hunter
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is issue-hunter?

Analyze, triage, and select the best issues to work on from GitHub repositories. Scores issues by reproducibility, scope, complexity, and community signal. P... It is an AI Agent Skill for Claude Code / OpenClaw, with 135 downloads so far.

How do I install issue-hunter?

Run "/install issue-hunter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is issue-hunter free?

Yes, issue-hunter is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does issue-hunter support?

issue-hunter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created issue-hunter?

It is built and maintained by Bijin (@sliverp); the current version is v1.0.0.

💬 Comments