Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add patrickserrano/lacquer --skill private-repo-searchgit clone --depth 1 https://github.com/patrickserrano/lacquerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/patrickserrano/lacquer/private-repo-search)<a href="https://agentmods.dev/skills/patrickserrano/lacquer/private-repo-search"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/private-repo-search/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/patrickserrano/lacquer/private-repo-search"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/private-repo-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00075 | $0.00749 |
| Opus 5.5 | $0.00030 | $0.00300 |
| Sonnet 5.5 | $0.00015 | $0.00150 |
| Haiku 4.5 | $0.00007 | $0.00075 |
Grade A, and why
private-repo-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Private Repo Search
gh search code — GitHub's code search API through the CLI you already have
authenticated, scoped to exactly the repos/orgs you need instead of a raw
gh api call.
Prerequisites
Requires the gh CLI installed.
gh auth status # confirm authenticated; code search needs no extra scope beyond default
Core usage
gh search code <query> [flags]
| Flag | Use for |
|---|---|
--owner <org-or-user> |
Scope to everything an org/user owns |
--repo <owner/name> (repeatable) |
Scope to specific repo(s) |
--language <lang> |
Filter by language |
--filename <name> |
Filter by filename (e.g. package.json) |
--extension <ext> |
Filter by file extension |
--match file|path |
Restrict the match to file contents or the path itself |
--json path,repository,sha,textMatches,url + -q <jq-expr> |
Structured output for scripting |
-L, --limit <n> |
Result cap (default 30) |
# Find where a symbol is used across every repo in an org
gh search code "someFunctionName" --owner patrickserrano
# Narrow to specific repos and a language
gh search code "RLSPolicy" --repo patrickserrano/harness --language go
# Find a config file by name across everything you can see
gh search code --filename .lacquer.toml
# Machine-readable output for a downstream step
gh search code "TODO(migration)" --owner patrickserrano --json path,repository,url -q '.[] | "\(.repository.nameWithOwner): \(.path)"'
After finding a hit
gh search code returns matched paths, not full file content. Fetch the
actual content once you know the repo and path:
gh api repos/<owner>/<repo>/contents/<path> --jq '.content' | base64 -d
# or, simpler for a quick look:
gh api repos/<owner>/<repo>/contents/<path> -H "Accept: application/vnd.github.raw"
Caveats
- Results lag behind pushes. The index isn't real-time — a just-pushed commit may not show up for a few minutes.
- Legacy search engine.
gh search codeuses GitHub's older code-search API, not the newer engine github.com's web UI uses — results and available qualifiers (no regex) can differ from what you'd see in the browser. - Scope is "everywhere
ghcan see." A search with no--owner/--repofilter that returns nothing from a private repo you expect usually means an auth/visibility gap, not that the content isn't there — checkgh auth statusand repo access before concluding a miss is real.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 78 lines · 75 tokens per session scan A 2edc9b98bfe0
private-repo-search is a skill published in the GitHub repository patrickserrano/lacquer (5 stars, last pushed yesterday), licensed MIT. It adds 75 tokens to every session and 749 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
private-repo-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| private-repo-searchpatrickserrano/lacquer | Skill | 5 | yesterday | MIT | A | 75 | Claude Code, Codex |
| code-reviewjrswab/axe | Skill | 914 | yesterday | Apache-2.0 | A | 0 | Claude Code, Codex |
| scaffold-projectMarve10s/Better-Fullstack | Skill | 830 | yesterday | MIT | A | 80 | Claude Code |
| git-workflowdimetron/pi-go | Skill | 232 | today | MIT | A | 59 | Claude Code, Codex |
| pi-loop-forensicsdimetron/pi-go | Skill | 232 | today | MIT | A | 65 | Claude Code, Codex |
| nightly-session-watchdimetron/pi-go | Skill | 232 | today | MIT | A | 78 | Claude Code, Codex |
| verify-session-flowdimetron/pi-go | Skill | 232 | today | MIT | A | 122 | Claude Code, Codex |