Best use case
github-search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Search GitHub code, repositories, issues, and PRs via MCP
Teams using github-search should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/github-search/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How github-search Compares
| Feature / Agent | github-search | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Search GitHub code, repositories, issues, and PRs via MCP
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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.Related Skills
search-tools
Search Tool Hierarchy
search-router
Choose the right search tool for each query type
research
Document codebase as-is with thoughts directory for historical context
research-external
External research workflow for docs, web, APIs - NOT codebase exploration
research-agent
Research agent for external documentation, best practices, and library APIs via MCP tools
repo-research-analyst
Analyze repository structure, patterns, conventions, and documentation for understanding a new codebase
perplexity-search
AI-powered web search, research, and reasoning via Perplexity
morph-search
Fast codebase search via WarpGrep (20x faster than grep)
loogle-search
Search Mathlib for lemmas by type signature pattern using Loogle.
elasticsearch-patterns
Mapping design, query optimization, aggregation patterns, index lifecycle management, and search relevance tuning.
search-hierarchy
Search Tool Hierarchy
workflow-router
Goal-based workflow orchestration - routes tasks to specialist agents based on user goals