SkillsReviewed · ykdojo

Private GitHub Search

Private GitHub Search is an assistant skill for developers searching across GitHub repositories, but it stores private code locally and searches a limited snapshot of those repositories. It combines GitHub CLI, shallow Git clones and ripgrep, covering configured accounts’ non-fork repositories on their default branches.

Researched 16 Nov 2026

In short.

Private GitHub Search is an assistant skill for developers searching across GitHub repositories, but it stores private code locally and searches a limited snapshot of those repositories. Its Bash helper lists up to 500 repositories per configured account, excludes forks and maintains shallow clones for ripgrep searches. Failed updates can still produce a fresh timestamp, so recent synchronization does not establish complete or current results. Nothing was executed; performance, authentication and assistant integration remain unverified. The captured license reserves rights and provides no general reuse or redistribution grant.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/private-github-search folder at commit 577ac89252195d61283b334c4b9d292b52c82203: SKILL.md and private-github-search-sync.sh, together with the repository-root LICENSE as the related notice outside that folder. Other repository skills, plugin packaging, external service documentation and user repository contents are outside this scope. Findings derive from the supplied text only. No commands, clones, synchronization, searches or assistant integrations were executed. The captured notice does not establish permission to redistribute the files.

The overview

Identity

Private GitHub Search is a skill in YK Sugi’s ykdojo/claude-code-tips repository. It consists of SKILL.md, which tells an assistant how to configure and search a local repository collection, and private-github-search-sync.sh, which maintains that collection.

The original folder is [https://github.com/ykdojo/claude-code-tips/tree/main/skills/private-github-search]. The instructions look for the helper under ~/.claude and ~/.codex and mention plugin installations and manual symlinks. Supported assistant versions and complete installation procedures are not specified.

Practical assessment

The resource offers a concrete approach to finding a function, configuration value or remembered phrase when the developer does not know which repository contains it. Once repositories are copied locally, one text search can span the collection.

Reliability depends on successful repository discovery and synchronization. The implementation does not establish that its final completion message means every repository updated successfully. Nothing was executed, and the documentation’s speed claims have no accompanying measurement evidence.

Who it suits

It suits developers who work across several GitHub repositories, including private repositories accessible to their authenticated account, and need searches such as finding where an integration or utility was implemented.

Beginners need familiarity with terminal commands, GitHub authentication and local directory paths. Work requiring forks, other branches or historical revisions needs additional retrieval because those are outside the documented mirror coverage.

Capabilities

The skill documents case-insensitive searches that return either matching file paths with rg -il or matching lines with line numbers using rg -in. Searches use text patterns, allowing developers to look for identifiers, strings or regular expressions across the local collection.

The helper supports multiple configured accounts, excludes forks, refreshes existing clones and clones newly discovered repositories. Discovery requests at most 500 repositories per account. The documented line-search example pipes results through head, so its displayed output can be truncated.

Using it

Requirements

The workflow requires Bash, Git, GitHub CLI and ripgrep, plus compatible command-line utilities. The documented commands and helper use options including sort -V, find -mmin, date -r and xargs -P. Required versions and supported operating systems are unknown.

GitHub CLI must be authenticated with access to the configured accounts’ repositories. Synchronization needs network access and enough local storage for the clones. The required authentication scopes, storage footprint and verified assistant compatibility are not established.

How it works

The helper reads account names from owners.txt under ~/repo-mirror, or under the directory specified by REPO_MIRROR_DIR. It uses gh repo list to obtain repository names and fork status, filters out forks and processes repository operations with up to 16 concurrent workers.

New repositories are cloned with depth 1 and a single branch. Existing repositories fetch origin HEAD at depth 1 and reset tracked content to FETCH_HEAD. Searches then read the local repos directory with ripgrep.

A .last-sync timestamp suppresses another refresh when it is less than an hour old. The --force argument bypasses that age check. The timestamp is written after the processing pipeline without an aggregate success check.

Setup

The documented setup begins by locating private-github-search-sync.sh under ~/.claude or ~/.codex. It then places explicitly chosen GitHub account names, one per line, in ~/repo-mirror/owners.txt. The helper also accepts comment lines beginning with # and blank lines.

The documented sequence runs the helper with Bash before searching the repos directory. An initial clone may take longer than subsequent refreshes; actual duration is unknown. If REPO_MIRROR_DIR is set, the owners file and search paths must use that directory instead of the documentation’s default ~/repo-mirror paths.

The supplied files do not provide complete plugin installation instructions or dependency installation commands.

Example use

With a populated and successfully refreshed mirror, a developer looking for webhook verification code could use rg -il 'verifyWebhook' ~/repo-mirror/repos to request matching file paths. The command rg -in 'verifyWebhook' ~/repo-mirror/repos would request matching lines with line numbers.

These are illustrative substitutions into the documented search commands, not observed results. A custom REPO_MIRROR_DIR requires a corresponding search path, and no matches would establish only that the searched local content contained no matching text.

Assessment & evidence

Limitations

Repository-listing and clone or update failures do not prevent the script from reaching its final timestamp write. The final repository count measures existing .git directories, not successful updates. A partial or failed refresh can therefore leave stale results while suppressing another ordinary refresh for about an hour.

The helper does not remove old clone directories when configured accounts change or repository access disappears. Old content can remain searchable. Existing mirrors are updated with git reset --hard, which can discard local changes to tracked files; these directories should be treated as replaceable search copies.

The instructions warn that the mirror may contain private data and should stay outside synced folders and published content. Local storage does not establish how an assistant or its provider handles any search results it receives. No exhaustive file-inclusion policy or validation of complete search coverage is supplied.

Why the approach can help

The implementation makes repository text available under one local directory, allowing ripgrep to search across repositories without making a remote search request for each query. Its usefulness comes from assembling accessible source files into one searchable collection.

This implies that search reliability depends on which repositories were listed, which operations succeeded, how recently their content updated and which files the search includes. A missing result can reflect limited or stale coverage rather than the absence of code from GitHub.

Alternatives

The instructions name GitHub web search and git log -S in a full clone as options when the shallow default-branch mirror is insufficient. A full clone is relevant to investigating history; web search offers another route to finding repository content without maintaining this particular collection.

The skill motivates its approach by reporting unreliable private-repository results from gh search code and describing differences between GitHub search engines. Current GitHub indexing, access behavior and comparative search quality are not independently established by the supplied files.

Source evidence

The versioned instructions are available at [https://raw.githubusercontent.com/ykdojo/claude-code-tips/577ac89252195d61283b334c4b9d292b52c82203/skills/private-github-search/SKILL.md]. They describe the intended workflow, setup, search commands and stated scope.

The corresponding implementation is available at [https://raw.githubusercontent.com/ykdojo/claude-code-tips/577ac89252195d61283b334c4b9d292b52c82203/skills/private-github-search/private-github-search-sync.sh]. It establishes the discovery limit, concurrency, cloning strategy, timestamp behavior and error-handling limitations described here.

The supplied material contains no execution receipts, measured search results or integration test results. Successful authentication, synchronization, search performance and assistant integration remain unverified.

Access & freshness

Costs

Neither skill file specifies a price, subscription requirement or usage fee. Total cost is unknown; the absence of pricing does not establish that every part of the workflow is free.

The workflow consumes local storage, network transfer and processing time. No measured resource usage, GitHub request totals or assistant-provider costs are supplied.

Rights and licensing

The captured repository LICENSE states that copyright belongs to YK Sugi and reserves all rights. It contains no general grant allowing recipients to copy, modify or redistribute the skill.

Its contribution clause grants YK Sugi broad rights over pull-request contributions. That clause does not provide an equivalent permission grant to repository users. Permission for the intended reuse or redistribution remains unestablished.

The notice is available at [https://raw.githubusercontent.com/ykdojo/claude-code-tips/577ac89252195d61283b334c4b9d292b52c82203/LICENSE]. Rights in repositories copied into the local mirror are separate and were not assessed.

Version and freshness

The supplied snapshot was captured on 16 November 2026 at 01:12:14.253 UTC and identifies source commit 577ac89252195d61283b334c4b9d292b52c82203. The capture time does not establish when the files were authored or last maintained. Later changes and ongoing maintenance are unknown.

Local content freshness follows the helper’s timestamp policy, which normally skips refreshes within an hour. Because that timestamp can also follow failed operations, it cannot by itself establish the age of every repository’s searchable content.

Before relying on it

Confirm that the configured accounts and default-branch scope cover the repositories needed for the task. Check authenticated access, compatible utilities and available storage, and choose a mirror location appropriate for private source code.

Inspect synchronization errors and compare expected repositories with the local collection before treating missing search results as meaningful. A forced refresh bypasses the age check but does not correct the script’s failure reporting or discovery limits. Keep development edits in separate working clones.

Clarify permission for the intended use, modification or redistribution of the skill. For historical or other-branch investigations, use an appropriate full clone or the alternative search route identified in the instructions.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/private-github-search/SKILL.mdselected · checked 2026-11-16