/github-workflows:github-code-searchfrom github-workflows
Search real code across ~1M public GitHub repos via grep.app — use to see how others solved something, find real API/config-key usage, check if a pattern is idiomatic, or gather prior art. Works via the grep MCP server or a keyless HTTP fallback.
Ships in github-workflows. 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.
Literal code search across roughly a million public GitHub repositories. This is the fastest way to answer "has someone already done this?" — which is the question that has to be answered before any custom code gets written.
native-first says find the existing solution
first; this is how you look. A pattern with thousands of hits is idiomatic; a
pattern with three is probably a mistake.Not for: searching this repo (use Grep), private code, or anything where the
query itself is sensitive. The query string leaves the machine. Never put a
hostname, credential, internal path, or customer name in a search.
grep.app matches literal code, not keywords. It is grep over a corpus, not a
search engine — there is no stemming, no synonyms, no ranking by intent. Search the
exact characters you expect to be in the file.
good: useOptimistic( bad: react optimistic update hook
good: ANSIBLE_HOST_KEY_CHECKING bad: how to disable ansible host key checking
grep MCP serverThe tool mcp__grep__searchGitHub is available on-demand only — the server is held
out of every session's always-on profile to save tokens (measured usage: 117 calls
across 1,651 transcripts). To use it, attach the server with:
claude --mcp-config ~/.claude/mcp-available/grep.json
| Param | Type | Notes |
|---|---|---|
query | string | required — the literal code to find |
language | string[] | e.g. ["TypeScript","TSX"], ["Nix"], ["YAML"] |
repo | string | partial match — vercel/ matches the whole org |
path | string | partial match — /flake.nix, /.github/workflows/ |
useRegexp | bool | default false; prefix (?s) for multi-line patterns |
matchCase | bool | default false |
matchWholeWords | bool | default false — set it when a short identifier is a substring of everything |
The server is keyless and stateless, so there is no auth step and nothing to rotate.
MCP endpoint (primary) — when the standalone grep MCP server is not available:
curl -s -X POST https://mcp.grep.app \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchGitHub",
"arguments":{"query":"ANSIBLE_HOST_KEY_CHECKING","language":["YAML"],"matchCase":true}}}' \
| sed -n 's/^data: //p' | jq -r '.result.content[].text'
Sourcegraph (secondary, unauthenticated GraphQL endpoint):
curl -s 'https://sourcegraph.com/.api/graphql' \
-H 'Content-Type: application/json' \
-d '{"query":"query{search(query:\"fetchGitTree case:yes\"){results{...on FileMatch{file{path}}}}}"}'
Sourcegraph defaults to case-insensitive; prefix a query with case:yes for parity with grep.app.
Never put hostnames, credentials, or customer names in any query.
language before repo. Narrowing by language is almost always
the single most effective cut.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jacobpevans-ai/claude-code-plugins --plugin github-workflows18 skills in this plugin
/finalize-prAutomatically finalize pull requests for merge by resolving CodeQL violations, PR feedback, merge conflicts, and CI failures. Handles single PR (current branch or by number), all open PRs in the repo, or all open PRs across the org. Includes bot-authored PRs in all modes./gh-cli-patternsCanonical reference for all gh CLI command shapes used by skills in this plugin. Defines the placeholder convention, default-branch (trunk vs git-flow) detection, allowed --json fields, GraphQL fallback rules, -f/-F/--raw-field flag semantics, the PR-readiness gate, required status contexts, the feedback ledger, code-scanning alert query, review-thread fetch/count/resolve mutations, and heredoc bodies. Prevents Unknown JSON field errors and divergent query shapes./github-actions-silent-failuresDiagnose GitHub Actions workflows that fail silently — a reusable-workflow run with zero jobs/logs, a gh-aw import mis-resolving vs a repo named .github, self-hosted-runner traps. Use when a required check never reds or a run has no jobs./issue-sweepUse when a tracker's open issues piled up, went stale, or stopped reflecting reality — maybe fixed, duplicated, vague, superseded — reconcile against actual code, group by root cause, turn into a plan. Any tracker. Use before a work session too./merge-prMerge a PR into its base branch. Defaults to a merge commit; pass --squash or -s to squash instead. Falls back to squash when the repo disallows merge commits. Single PR by number or current branch. Refuses to squash/rebase into main on a git-flow repo — use /promote-release there instead./promote-releaseDrives the automatic promote/<version> promotion PR into main on git-flow repos: confirm the release-please PR merged on develop, merge the promotion with a merge commit, and verify the release-please tag. Refuses on trunk repos — use /merge-pr.