OpenParable
Skip to content
← Back to skills

Searching Issues

Research
searching-issues

Searching Issues is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Search GitHub Issues and PRs with qualifiers. TRIGGERS - search issues, find issue, issue filter, gh issue list.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/api/searching-issues-terrylica-claude-code-skills-g-2/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/searching-issues, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Issue Search & Discovery

Capability: Native GitHub CLI issue and PR search with 30+ qualifiers

When to use: Searching GitHub Issues/PRs by content, metadata, or complex filters


Quick Commands

Basic Search

# Search across all repositories
gh search issues "authentication error" --repo=owner/repo

# Search in current repository
gh issue list --search "bug"

# Search in multiple fields
gh search issues "database" --match=title,body

Common Filters

# By state and labels
gh search issues --state=open --label=bug,priority:high

# By date range
gh search issues --created="2025-01-01..2025-01-31"

# By assignee or author
gh search issues --assignee=@me --author=username

# By engagement
gh search issues --sort=comments --order=desc

Advanced Qualifiers (30+ available)

Content: in:title, in:body, in:comments State: is:open, is:closed, is:merged, is:draft Labels: label:bug, -label:wontfix, no:label Dates: created:>=2025-01-01, updated:<2025-01-31, closed:2025-01..2025-02 Users: author:username, assignee:username, mentions:username, commenter:username Repos: repo:owner/name, org:orgname, user:username

Complete Syntax Reference: GITHUB_NATIVE_SEARCH_CAPABILITIES.md


Output & Automation

# JSON output for scripting
gh search issues "bug" --json number,title,url,labels --jq '.[] | {number, title}'

# Limit results
gh search issues "bug" --limit=50

# Export to file
gh search issues --label=feature-request --json number,title,body > features.json

Search Limitations

  • No regex - Use literal strings only
  • No wildcards - Exact match or phrase search
  • No context lines - Shows only matching issues, not surrounding context
  • For file/code search - Use gh grep extension (see file-searching skill)

Common Workflows

Find Your Assigned Issues

gh search issues --assignee=@me --state=open --repo=owner/repo

Find Recent Bugs

gh search issues --label=bug --created=">=2025-10-01" --state=open --sort=created

Search Knowledge Base

# Search Claude Code tips
gh search issues "plan mode" --repo=terrylica/claude-code-skills-github-issues --label=claude-code

Tool Selection Decision

  • Search Issues/PRs → Use gh search issues (this skill)
  • Search repository files → Use gh grep (see file-searching skill)
  • AI-powered operations → Use gh models (see ai-assisted-operations skill)

Empirical Testing: 200+ test cases, 100% coverage of search qualifiers

Full Operational Guide: AI_AGENT_OPERATIONAL_GUIDE.md