/dx:private-github-searchfrom dx
Searches all user GitHub repos (including private) via local mirror and ripgrep. Use when gh search code fails for private repos.
Ships in dx. 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.
Read when SKILL.md points to them.
GitHub's modern code search (the one that indexes private repos) is web-only; gh search code uses the legacy engine and often returns nothing for private repos. Instead, search a local mirror of all the user's repos - it covers the same content as GitHub's index (default branch, non-fork) and a full search takes milliseconds.
Find the bundled sync script (works for plugin installs and manual symlinks):
find ~/.claude ~/.codex -name "private-github-search-sync.sh" 2>/dev/null | sort -V | tail -1
Always refresh first - it exits instantly if the mirror was synced within the last hour, and takes ~15s otherwise (--force syncs regardless of age):
bash <script-path>
rg -il 'pattern' ~/repo-mirror/repos # which files
rg -in 'pattern' ~/repo-mirror/repos | head # matching lines
If ~/repo-mirror/owners.txt doesn't exist: ask the user which GitHub accounts to mirror (don't guess - they may manage several), write them one per line to ~/repo-mirror/owners.txt, then run the sync script in the background (initial clone takes a few minutes; needs gh auth with access to those accounts).
git log -S in a full clone or GitHub web search.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
github-search, private-repos, ripgrep, code-search, local-mirror
9 skills in this plugin
/ghaAnalyze GitHub Actions failures and identify root causes/half-cloneClone the later half of the current conversation, discarding earlier context to reduce token usage while preserving recent work./handoffWrite or update a handoff document so the next agent with fresh context can continue this work./hn-summarizeFetch and summarize Hacker News / hckrnews.com top stories, articles, and their comment threads. Use when asked to summarize HN front-page stories, a specific HN story plus its discussion, or "the top N from hckrnews"./quarter-cloneClone the last quarter of the current conversation, discarding earlier context to reduce token usage while preserving recent work./reddit-fetchFetch content from Reddit via its JSON API using a browser session (DuckDuckGo-hop unlock). Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403/blocked errors.npx claudepluginhub ykdojo/claude-code-tips --plugin dxOther plugins' skills for the same job