Skip to main content
ClaudeWave
Skill3.8k repo starsupdated 4mo ago

github-search

This Claude Code skill searches GitHub for code snippets, repositories, issues, and pull requests using customizable search parameters. Use it when you need to locate specific code implementations, find repositories matching criteria, identify open issues or PRs, or gather repository information across GitHub's public and accessible private repositories.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3 /tmp/github-search && cp -r /tmp/github-search/.claude/skills/github-search ~/.claude/skills/github-search
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# GitHub Search Skill

## When to Use

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

## Instructions

```bash
uv run python -m runtime.harness scripts/mcp/github_search.py \
    --type "code" \
    --query "your search query"
```

### Parameters

- `--type`: Search type - `code`, `repos`, `issues`, `prs`
- `--query`: Search query (supports GitHub search syntax)
- `--owner`: (optional) Filter by repo owner
- `--repo`: (optional) Filter by repo name

### Examples

```bash
# Search code
uv run python -m runtime.harness scripts/mcp/github_search.py \
    --type "code" \
    --query "authentication language:python"

# Search issues
uv run python -m runtime.harness scripts/mcp/github_search.py \
    --type "issues" \
    --query "bug label:critical" \
    --owner "anthropics"
```

## MCP Server Required

Requires `github` server in mcp_config.json with GITHUB_PERSONAL_ACCESS_TOKEN.