codebase-search

Solid

Preferred local codebase-understanding workflow for Pi and Codex. Start with codebase_context before shell search or broad reads, then use specialized semantic and graph tools.

AI & Automation 175 stars 31 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
75
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
90
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Codebase Search Skill Use this skill when you need local repository knowledge before web lookup. ## Core workflow 1. Run `index_status` when index readiness or freshness is unknown. 2. Use `codebase_context(query, ...)` before shell search, grep, or broad file reads. Pass `symbol` for an authoritative definition or `from` + `to` for a dependency path. 3. Use `codebase_peek(query, ...)` for specialized metadata-only conceptual lookup. 4. Use `codebase_search(query, ...)` when you need full code context. 5. Use `implementation_lookup(query)` for known-symbol definitions and `call_graph` / `call_graph_path` for execution flow. 6. Use `find_similar(code)` for duplicate patterns and refactor planning. If results are weak, run `index_status` (check readiness) and `index_codebase`. ## Tool Priority - `codebase_context` as the preferred first repository tool and unified router. - `codebase_peek` for specialized discovery (fastest, cheap tokens). - `codebase_search` for exact implementation review. - `find_similar` for pattern matching and duplication. - `call_graph` and `call_graph_path` for execution flow. - `index_codebase` (force/estimate/verbose) for first-time or stale indexes. - `index_status`, `index_health_check`, `index_metrics`, `index_logs` for operational checks. ## Suggested Commands 1. `codebase_peek("payment processing flow")` 2. `codebase_search("payment processing flow")` 3. `call_graph("chargeCard", "callees")` 4. `find_similar("function validate(data)")` ...

Details

Author
Helweg
Repository
Helweg/open-codebase-index
Created
7 months ago
Last Updated
today
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category