Back to Skills

github-search

verified

Search GitHub code, repositories, issues, and PRs via gh CLI

View on GitHub

Marketplace

devbench-marketplace

SiTaggart/claude-devbench

Plugin

devbench

Repository

SiTaggart/claude-devbench
1stars

plugins/devbench/skills/github-search/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/SiTaggart/claude-devbench/blob/main/plugins/devbench/skills/github-search/SKILL.md -a claude-code --skill github-search

Installation paths:

Claude
.claude/skills/github-search/
Powered by add-skill CLI

Instructions

# GitHub Search Skill

## When to Use

- Search code across repositories
- Find issues or PRs
- Look up repository information

## Instructions

```bash
gh search <type> <query> [flags]
```

### Parameters

- `<type>`: Search type - `code`, `repos`, `issues`, `prs`
- `<query>`: Search query (supports GitHub search syntax)
- `--owner`: (optional) Filter by repo owner (all search types)
- `--repo`: (optional) Filter by repo name (code/issues/prs only)
- `--limit`: (optional) Max results to fetch
- `--`: (optional) Use before the query when it contains a `-` qualifier, e.g. `-- "bug -label:critical"`

### Examples

```bash
# Search code
gh search code "authentication language:python"

# Search issues
gh search issues "bug label:critical" --owner "anthropics"

# Search pull requests in a repo
gh search prs "is:open review:required" --repo "cli/cli"
```

## Requirements

Requires GitHub CLI (`gh`) to be installed and authenticated (`gh auth status` or `gh auth login`).

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
966 chars