cross-project-search

cross-project-search is a skill for Claude Code from ao92265/claude-code-playbook. It costs 89 tokens per session (412 once invoked), scanned A, original, MIT.

A workspace-wide search workflow for finding matching code, patterns, and implementations across multiple repositories.

In plain words
What is it for?
Use it to find shared APIs, integrations, functions, or example implementations across projects, with file paths and short explanations of each match.
Why use it?
It avoids repeating the same search in each project and makes it easier to compare how different codebases solve a similar problem.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: agent in frontmatter.

Part of the playbook plugin — 48 skills, 4 hooks shipped together

Good fit Use it to find shared APIs, integrations, functions, or example implementations across projects, with file paths and short explanations of each match.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ao92265/claude-code-playbook/cross-project-search
Install

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.

Any agent
npx skills add ao92265/claude-code-playbook --skill cross-project-search
Clone the repo
git clone --depth 1 https://github.com/ao92265/claude-code-playbook

Made for: Claude Code.

Or install playbook, the plugin that ships this one along with the rest of its 48 skills, 4 hooks.

Wrote 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.

agentmods badge for cross-project-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/ao92265/claude-code-playbook/cross-project-search/github.svg)](https://agentmods.dev/skills/ao92265/claude-code-playbook/cross-project-search)
Your own site
<a href="https://agentmods.dev/skills/ao92265/claude-code-playbook/cross-project-search"><img src="https://agentmods.dev/badge/skills/ao92265/claude-code-playbook/cross-project-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.

agentmods 80×15 button for cross-project-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/ao92265/claude-code-playbook/cross-project-search"><img src="https://agentmods.dev/badge/skills/ao92265/claude-code-playbook/cross-project-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 412 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.00412
Opus 5 $0.00044 $0.00206
Sonnet 5 $0.00018 $0.00082
Haiku 4.5 $0.00009 $0.00041

Measured 9d ago against content hash 45a26f520f25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cross-project-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 9d 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.

skills/cross-project-search/SKILL.md · 49 lines

What it actually says

Search across all projects in /path/to/repos/ for:

$ARGUMENTS

Instructions

  1. Run scripts/search.sh with the search pattern (and another-projectnal file glob) to search across all repos
    • Example: scripts/search.sh "ZohoClient" "*.ts"
    • The script excludes node_modules/, .git/, dist/, build/, lock files, and generated directories
    • Results are automatically grouped by project/repository
  2. For each match, read enough context to understand how it's used

Output Format

Search Results

For each project with matches:

[Project Name]
  • path/to/file.ts:42 — brief description of how the pattern is used here
  • path/to/other.ts:17 — brief description

Summary

  • Total matches: N across M projects
  • Most relevant implementation: point to the best/most complete example
  • Patterns observed: note any differences in how projects implement this

Important

  • Search broadly first, then narrow down to the most relevant results
  • Include enough context to understand each match without reading the full file
  • If searching for an API or integration, note which projects use it and how
  • Limit results to the top 20 most relevant matches
  • Skip matches in lock files, generated code, and vendor directories
Changes

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.

  1. 9d ago First seen · 49 lines · 89 tokens per session scan A 45a26f520f25

Subscribe to this mod's changes

cross-project-search is a skill published in the GitHub repository ao92265/claude-code-playbook (10 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 412 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.