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 | $0.00037 | $0.00375 |
| Sonnet 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 10d 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.
- 10d 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 (3 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 749 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
printing-press-amend
Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…
printing-press-score
Score a generated CLI against the Steinberger bar, compare two CLIs side-by-side.
printing-press-output-review
Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…
printing-press
Set up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or Postman spec via the lean research -> generate -> build -> shipcheck loop. Use when the user says build a CLI, wrap this API, set up a new integration, add a connector, integrate with a…
gograph
Go repository intelligence for Claude Code. Use when reading, navigating, editing, reviewing, or refactoring a Go codebase. Exposes 64 query, analysis, and workflow capabilities through the local gograph MCP server, including bounded first-call exploration, AST-aware call graphs, blast-radius analysis, impact, and…
performance
A guide to measuring and improving the speed and resource use of Go programs. It explains benchmarks and profiling, which records where a program spends time or memory.