/everything-copilot-cli:github-code-searchfrom everything-copilot-cli
Searches GitHub's global code index via built-in MCP tools to find real-world implementation examples and cross-repository context, then reuses results as grounded reference material.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Copilot CLI includes built-in GitHub MCP tools for global code search and repository inspection. That makes it practical to search for real implementations on GitHub, read the matching files, and bring the results back into your current task without leaving the CLI.
| Instead of github-code-search | Use |
|---|---|
| Searching your current local repository | direct search tools |
| GitHub Issues, PRs, or Actions workflows | github-issue-triage, github-pr-workflow, or actions-debugging |
| Documentation-heavy research | deep-research |
| Broad MCP setup guidance | mcp-ecosystem |
Use GitHub code search qualifiers to keep results tight:
language:TypeScript "circuit breaker" "retry"
org:microsoft path:src/auth "refresh token"
filename:SKILL.md "Use when" "GitHub MCP"
Tool: github-mcp-server-search_code
query: "language:TypeScript \"circuit breaker\" retry"
perPage: 10
After finding candidate matches, inspect the actual source:
Tool: github-mcp-server-get_file_contents
owner: "example-org"
repo: "example-repo"
path: "src/retry.ts"
Treat the retrieved code as external reference material:
Use the GitHub examples above as reference only.
Implement the same pattern in our repo, but adapt naming, boundaries, and tests
to local conventions.
| Goal | Query example |
|---|---|
| Find API usage examples | "supabase.auth.signIn" language:TypeScript |
| Find config patterns | filename:docker-compose.yml "healthcheck" "interval" |
| Find error-handling conventions | "catch (error)" "instanceof" language:TypeScript NOT test |
| Find comparable skills | filename:SKILL.md "Use when" "GitHub MCP" |
search_code
-> get_file_contents
-> search_repositories (with gh on PATH: gh search repos <query>)
-> optionally inspect commits or PRs for evolution (with gh: gh pr view <n>, gh api .../commits)
This works especially well when you need examples plus surrounding repository context.
Note:
search_codeandget_file_contentsstay available whenghis on PATH, but Copilot CLI omitssearch_repositoriesand the commit/PR tools and the model is expected to useghinstead, e.g.gh search repos <query>,gh pr view <n>,gh api repos/{owner}/{repo}/commits. To call them via MCP, start the session with--add-github-mcp-tool=<name>for every GitHub MCP tool you need (it replaces the default set, so includesearch_codeandget_file_contents), or--enable-all-github-mcp-tools, which also enables write tools.
mcp-ecosystem — broader guide to built-in GitHub MCP and custom serversgithub-pr-workflow — act on GitHub-native PR workflows once you know what to implementdeep-research — documentation and evidence gathering rather than code searchWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job