/install issue-hunter
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:
- GitHub username
- GitHub token — run
gh auth loginor setexport 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):
- Clearly a bug (not a feature request in disguise)
- Self-contained (fixable without deep domain knowledge)
- Testable (can write automated tests to verify)
- No existing PR addressing it
- 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:
- Read the full thread — comments often contain root cause hints or partial fixes
- Identify relevant source files — search the codebase for keywords from the issue
- Draft a root cause hypothesis — "I believe X happens because Y"
- Draft a fix approach — "I'll modify Z to handle the W case"
- 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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install issue-hunter - 安装完成后,直接呼叫该 Skill 的名称或使用
/issue-hunter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 135 次。
如何安装 issue-hunter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install issue-hunter」即可一键安装,无需额外配置。
issue-hunter 是免费的吗?
是的,issue-hunter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
issue-hunter 支持哪些平台?
issue-hunter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 issue-hunter?
由 Bijin(@sliverp)开发并维护,当前版本 v1.0.0。