brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Task-specific local codebase-understanding workflow for OpenCode, MCP, Pi, omp, and Codex. Use compact context for unfamiliar repository orientation, direct definition and graph tools for known targets.
Claude Code
$ npx -y skills add Helweg/open-codebase-index --skill codebase-search --agent claude-code
Codex
$ npx skills add Helweg/open-codebase-index --skill codebase-search -a codex -y
Cursor
$ npx skills add Helweg/open-codebase-index --skill codebase-search -a cursor -y
Gemini CLI
$ npx skills add Helweg/open-codebase-index --skill codebase-search -a gemini-cli -y
GitHub Copilot
$ npx skills add Helweg/open-codebase-index --skill codebase-search -a github-copilot -y
OpenCode
$ npx skills add Helweg/open-codebase-index --skill codebase-search -a opencode -y
Windsurf
$ npx skills add Helweg/open-codebase-index --skill codebase-search -a windsurf -y
name: codebase-search description: Task-specific local codebase-understanding workflow for OpenCode, MCP, Pi, omp, and Codex. Use compact context for unfamiliar repository orientation, direct definition and graph tools for known targets.
Use this skill when you need local repository knowledge before web lookup.
1. Run `index_status` when index readiness or freshness is unknown. 2. When repository orientation is needed (layout, relevant symbols, or cross-file intent), use one compact `codebase_context(query, tokenBudget: 600, limit: 5)` first pass and inspect returned evidence before broad reads or searches. Do not call it mechanically before every task or tool. 3. For a known definition, use `implementation_lookup(query)` directly. For callers or callees, use `call_graph(name, direction)` directly; for relationships between identified endpoints, use `call_graph_path(from, to)` directly. 4. For a change with a known or suspected target symbol, optionally use `codebase_edit_context` for bounded target source plus direct callers and callees. 5. Use `codebase_peek(query, ...)` when only semantic locations are needed, and `codebase_search(query, ...)` when matching source content is needed. Neither requires another context call when the task is already scoped. 6. Read known paths directly and use `grep` for exact identifiers or exhaustive literal matches. Use `find_similar(code)` for analogous implementations and duplicates.
Avoid repeating broad reads or retrieval when existing evidence already answers the question. If results are weak, check readiness, compatibility, and scope with `index_status`; run `index_codebase` only when the index is missing, stale, or incompatible.
Search a codebase by meaning, then follow the result into definitions, callers, and dependency paths. open-codebase-index is a local semantic code index for OpenCode, Jcode, Pi, Codex, Claude Code, and other MCP clients.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.