github-search — Claude Code skill: GitHub search over MCP
Searches GitHub code, repositories, issues and pull requests from inside the agent chat. Handy when you need a real implementation example or a known bug report without leaving the terminal.
npx skills add parcadei/Continuous-Claude-v3 --skill github-search -a claude-codeWhat github-search does
This skill turns GitHub lookup into a single run. The agent calls scripts/mcp/github_search.py under uv run python -m runtime.harness and passes what to look for. Pick the target with --type — code, repos, issues or prs — and put the terms in --query. GitHub search operators work there, so language:python or label:critical narrow things down.
Two optional flags keep results close to home: --owner limits by account, --repo by repository name. The skill may only use Bash and Read, so it reads and searches but never writes to your checkout.
Setup comes first: you need a github entry in mcp_config.json and a GITHUB_PERSONAL_ACCESS_TOKEN. Without that server the script has nothing to talk to, so configure the MCP side before adding the skill.
What it helps with
- find working code samples across GitHub by language
- track down an open issue describing a critical bug
- locate a pull request that already solved a similar problem
- pull repo details without opening a browser tab
- keep a code search inside one organisation via
--owner
Example prompts for the agent
- Search GitHub for Python authentication code with
--type code --query "authentication language:python". - Look up issues tagged critical in the anthropics organisation.
- Show pull requests matching the database migration topic.
How to install github-search
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill github-search -a claude-code2Manually: put the files in place
~/.claude/skills/github-search/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/github-search/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill github-search -a codex2Manually: put the files in place
.agents/skills/github-search/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill github-search -a cursor2Manually: put the files in place
.cursor/skills/github-search/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 github-search2Manually: put the files in place
.github/skills/github-search/SKILL.md1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill github-search -a gemini-cli2Platform CLI
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/github-searchManually: put the files in place
.devin/skills/github-search/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill github-search -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about github-search
How do I install github-search in Claude Code?
Run npx skills add parcadei/Continuous-Claude-v3 --skill github-search -a claude-code, then check ~/.claude/skills/github-search/SKILL.md.
What does github-search do?
It runs a script that queries GitHub through an MCP server and returns matches from code, repositories, issues or pull requests.
What does the skill need to work?
A github server in mcp_config.json holding GITHUB_PERSONAL_ACCESS_TOKEN. Without it the search call fails.
Source text
SKILL.md · MIT
---
name: github-search
description: Search GitHub code, repositories, issues, and PRs via MCP
allowed-tools: [Bash, Read]
---
# 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.
© parcadei · MIT · parcadei/Continuous-Claude-v3