🔍
AutomationHTML

Private Code Search

by ykdojo

Private Code Search is an Automation skill for Claude Code, published by ykdojo in claude-code-tips.

9.6K stars764 forkson ykdojo/claude-code-tipsAdded 2026/08/15Repository updated 2026/08/06
agenticagentic-aiagentic-codingagentic-workflowaiclaudeclaude-aiclaude-codeclideveloper-toolsproductivitytips-and-tricks
Install in seconds
Install Private Code Search
Copy Private Code Search into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/ykdojo/claude-code-tips/tree/main/skills/private-github-search ~/.claude/skills/private-github-search

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/ykdojo/claude-code-tips.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/private-github-search/SKILL.md in ykdojo/claude-code-tips
Installs to
~/.claude/skills/private-github-search
Collection
One of 9 skills cataloged from this repository
Category
Automation1523 skills

What Private Code Search does

Private Code Search mirrors your GitHub repositories to a local directory and runs ripgrep for fast full-text search across all of them, including private ones. Use it when you need to find which repository contains a snippet and GitHub's API search fails on private repos.

Private Code Search is cataloged under Automation on DirSkills. Private Code Search comes from a repository tagged agentic, agentic-ai, agentic-coding, agentic-workflow and ai.

Documentation

README

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 ~/.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):

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Private Code Search

  • What else does ykdojo publish alongside Private Code Search?

    Private Code Search is one of 9 skills that DirSkills catalogs from ykdojo/claude-code-tips, the repository it ships in. Its siblings there include Actions Failure Analyzer, HN Summarize and Half Clone. Each one is a separate skill with its own page in this directory, installs the same way Private Code Search does, and is maintained by ykdojo in that same repository. The rest of the collection is listed on the ykdojo/claude-code-tips page.

  • How does Private Code Search compare to other Automation skills?

    Private Code Search ranks #181 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Private Code Search against them. Open each page to compare what they document and how they install.

More from ykdojo/claude-code-tips

Private Code Search is one of 9 skills cataloged on DirSkills from ykdojo/claude-code-tips.

See all 9 skills
🔍
2w ago

Actions Failure Analyzer

Actions Failure Analyzer investigates a failed GitHub Actions workflow run and identifies the specific root cause. It checks the job's recent history for flakiness, traces the breaking commit, and searches for open PRs that may already fix the issue.
DevOps
9.6K764
📰
2w ago

HN Summarize

HN Summarize fetches and summarizes Hacker News top stories, articles, and their comment threads using the official Firebase and Algolia APIs. Use it when you need a briefing on front-page stories, a specific story plus its discussion, or the top N from hckrnews without scraping the JavaScript-rendered site.
Data
9.6K764
✂️
2w ago

Half Clone

Half Clone clones the later half of the current Claude Code conversation, discarding earlier context to reduce token usage while preserving recent work. Use it when a session has grown long and you want to continue with only the latest context.
Automation
9.6K764
📝
2w ago

Handoff

Handoff writes or updates a HANDOFF.md document so the next AI agent with fresh context can continue the work. Use it to record goals, progress, what worked, what didn't, and next steps before handing off a coding session.
AI Engineering
9.6K764
✂️
2w ago

Quarter Clone

Quarter Clone clones the last quarter of the current conversation to reduce token usage while preserving recent work. Use it when you want to discard old context and continue from the most recent portion.
AI Engineering
9.6K764
🧵
2w ago

Reddit Fetch

Reddit Fetch retrieves Reddit content via its public JSON API, using a DuckDuckGo redirect to bypass Reddit's automated-access blocking. Use it when accessing Reddit URLs, researching topics, or when Reddit returns 403/blocked errors.
Automation
9.6K764