MCP HubMCP Hub
SKILL·4661F2

private-github-search

ykdojo
更新日 1 month ago
5 閲覧
9,979
802
9,979
GitHubで表示
開発api

について

このスキルは、ローカルミラーとripgrepを使用して、プライベートリポジトリを含むすべてのGitHubリポジトリの全文検索を可能にします。GitHubのAPI検索がプライベートリポジトリで信頼性に欠ける場合に、コードスニペットやファイルを見つけるのに理想的です。検索は同期されたローカルコピー上で動作し、ミリ秒単位で結果を返します。

クイックインストール

Claude Code

推奨
メイン
npx skills add ykdojo/claude-code-tips -a claude-code
プラグインコマンド代替
/plugin add https://github.com/ykdojo/claude-code-tips
Git クローン代替
git 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 -S in 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 リポジトリ

ykdojo/claude-code-tips
パス: skills/private-github-search
0
agenticagentic-aiagentic-codingagentic-workflowaiclaude
FAQ

よくある質問

private-github-search Skillとは何ですか?

private-github-search はykdojo が作成した Claude Skillです。Skillは、Claudeが必要に応じて読み込む指示とリソースをまとめ、追加の指示なしで private-github-search に関連するタスクを実行できるようにします。

private-github-search をインストールするには?

このページのインストールコマンドを使用してください。private-github-search をプラグインとして Claude Code に追加するか、リポジトリを skills ディレクトリにクローンし、Claudeを再起動してSkillを読み込みます。

private-github-search はどのカテゴリに属しますか?

private-github-search は 開発 カテゴリに属します。

private-github-search は無料で利用できますか?

はい。private-github-search は AIMCP に掲載されており、無料でインストールできます。

関連スキル

qmd
開発

qmdは、BM25、ベクトル埋め込み、およびリランキングを組み合わせたハイブリッド検索を用いて、ローカルファイルのインデックス作成と検索を可能にするローカル検索・インデックス作成CLIツールです。コマンドラインでの使用と、Claudeとの統合のためのMCP(Model Context Protocol)モードの両方をサポートしています。このツールは埋め込みにOllamaを使用し、インデックスをローカルに保存するため、ターミナルから直接ドキュメントやコードベースを検索するのに最適です。

スキルを見る
subagent-driven-development
開発

このスキルは、各独立したタスクに対して新規のサブエージェントを起動し、タスク間でコードレビューを実施しながら実装計画を実行します。レビュープロセスを通じて品質基準を維持しつつ、迅速な反復を可能にします。同一セッション内で主に独立したタスクに取り組む際に本スキルをご利用いただくことで、組み込まれた品質チェックを伴う継続的な進捗を確保できます。

スキルを見る
mcporter
開発

mcporterスキルは、開発者がClaudeから直接Model Context Protocol(MCP)サーバーを管理および呼び出せるようにします。このスキルは、利用可能なサーバーの一覧表示、引数を指定したツールの呼び出し、認証およびデーモンのライフサイクル管理を行うコマンドを提供します。開発ワークフローにおいてMCPサーバーの機能を統合およびテストする際に、このスキルをご利用ください。

スキルを見る
adk-deployment-specialist
開発

このスキルは、A2Aプロトコルを使用してVertex AI ADKエージェントをデプロイおよびオーケストレーションし、AgentCardの発見、タスク送信、およびコード実行サンドボックスやメモリバンクなどのサポートツールを管理します。Python、Java、またはGoで、順次、並列、またはループのオーケストレーションパターンを用いたマルチエージェントシステムの構築を可能にします。Google Cloud上でADKエージェントのデプロイやエージェントワークフローのオーケストレーションを求められた際にご利用ください。

スキルを見る