From dx
Full-text search across all GitHub repos (including private) using a local mirror and ripgrep. Use when 'gh search code' cannot reliably search private repos.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dx:private-github-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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 -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.3plugins reuse this skill
First indexed Jul 15, 2026
npx claudepluginhub ykdojo/claude-code-tips --plugin dxSearches code across GitLab projects using semantic (Duo-enabled) or keyword search. Returns snippets with file paths, line numbers, context, project links, and relevance scores.
Searches prior checkpoints and code across repositories by topic, repo, branch, author, or time window. Useful for finding past work or code implementations.
Searches GitHub repositories for code via /search-code using queries and advanced syntax. Returns snippets with repo, file path, line numbers, and context.