について
このスキルは、ローカルミラーとripgrepを使用して、プライベートリポジトリを含むすべてのGitHubリポジトリの全文検索を可能にします。GitHubのAPI検索がプライベートリポジトリで信頼性に欠ける場合に、コードスニペットやファイルを見つけるのに理想的です。検索は同期されたローカルコピー上で動作し、ミリ秒単位で結果を返します。
クイックインストール
Claude Code
推奨npx skills add ykdojo/claude-code-tips -a claude-code/plugin add https://github.com/ykdojo/claude-code-tipsgit clone https://github.com/ykdojo/claude-code-tips.git ~/.claude/skills/private-github-searchこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
ドキュメント
Private GitHub search
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.
Searching
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
First-time setup
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).
Caveats
- Only the default-branch tip is mirrored - for history or other branches, use
git log -Sin a full clone or GitHub web search. - The mirror may contain private data: keep it out of synced folders and never commit or publish its contents.
GitHub リポジトリ
Frequently asked questions
What is the private-github-search skill?
private-github-search is a Claude Skill by ykdojo. Skills package instructions and resources that Claude loads on demand, so Claude can perform private-github-search-related tasks without extra prompting.
How do I install private-github-search?
Use the install commands on this page: add private-github-search to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does private-github-search belong to?
private-github-search is in the Development category, tagged api.
Is private-github-search free to use?
Yes. private-github-search is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
関連スキル
qmdは、BM25、ベクトル埋め込み、およびリランキングを組み合わせたハイブリッド検索を用いて、ローカルファイルのインデックス作成と検索を可能にするローカル検索・インデックス作成CLIツールです。コマンドラインでの使用と、Claudeとの統合のためのMCP(Model Context Protocol)モードの両方をサポートしています。このツールは埋め込みにOllamaを使用し、インデックスをローカルに保存するため、ターミナルから直接ドキュメントやコードベースを検索するのに最適です。
このスキルは、各独立したタスクに対して新規のサブエージェントを起動し、タスク間でコードレビューを実施しながら実装計画を実行します。レビュープロセスを通じて品質基準を維持しつつ、迅速な反復を可能にします。同一セッション内で主に独立したタスクに取り組む際に本スキルをご利用いただくことで、組み込まれた品質チェックを伴う継続的な進捗を確保できます。
mcporterスキルは、開発者がClaudeから直接Model Context Protocol(MCP)サーバーを管理および呼び出せるようにします。このスキルは、利用可能なサーバーの一覧表示、引数を指定したツールの呼び出し、認証およびデーモンのライフサイクル管理を行うコマンドを提供します。開発ワークフローにおいてMCPサーバーの機能を統合およびテストする際に、このスキルをご利用ください。
このスキルは、A2Aプロトコルを使用してVertex AI ADKエージェントをデプロイおよびオーケストレーションし、AgentCardの発見、タスク送信、およびコード実行サンドボックスやメモリバンクなどのサポートツールを管理します。Python、Java、またはGoで、順次、並列、またはループのオーケストレーションパターンを用いたマルチエージェントシステムの構築を可能にします。Google Cloud上でADKエージェントのデプロイやエージェントワークフローのオーケストレーションを求められた際にご利用ください。
