원클릭으로
code-index
Instructions for using gcode CLI for code search and retrieval. Loaded on demand when project has a code index.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Instructions for using gcode CLI for code search and retrieval. Loaded on demand when project has a code index.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | code-index |
| description | Instructions for using gcode CLI for code search and retrieval. Loaded on demand when project has a code index. |
| category | core |
| metadata | {"gobby":{"audience":"all"}} |
This project is indexed. Use gcode via Bash for fast code search and navigation — saves 90%+ tokens vs reading entire files.
gcode search "query" [PATH ...] — hybrid search: pg_search BM25 + semantic + graph boost (best for fuzzy or natural-language queries)gcode search-symbol "name" [PATH ...] — exact-first symbol lookup with deterministic ranking (use when you already know most of the name)gcode search-text "query" [PATH ...] — pg_search BM25 search on symbol names, signatures, and docstringsgcode search-content "query" [PATH ...] — full-text search across repo text chunks: source, comments, docs/Markdown, skill files, configs, scripts, CSS, SQL, and extensionless textSearch filters compose: search and search-symbol accept --kind <kind>; use gcode kinds to discover values. All search commands accept positional path filters after the query (paths or globs, OR semantics), plus --language <lang>, --limit N, and --offset N for scoped or paginated results.
gcode outline path/to/file.py — hierarchical symbol map (much cheaper than Read)gcode symbol <full-uuid> — retrieve one symbol by exact stored ID (O(1) via byte offsets)gcode symbols <full-uuid> <full-uuid> ... — batch-retrieve symbols by exact stored IDsSymbol IDs must be full stored UUIDs from gcode search, gcode search-symbol, or gcode outline. Literal placeholders, wildcards, globs, and prefix IDs such as id1, 514??, abc*, or 80abc77f are invalid.
gcode repo-outline — high-level project summary with module symbol countsgcode tree — whole-project file tree with symbol counts per file; it takes no path argumentgcode kinds — list distinct symbol kinds in the index (helps pick --kind values)For directory-focused exploration, use gcode tree --format text with shell filtering, or scope search commands with positional paths: gcode search "query" crates/gcode/src docs/**/*.md.
Use these before making changes to understand what you'll affect:
gcode blast-radius <name> — walk call/import graph transitively to find all affected codegcode callers <name> — who calls this function/method?gcode usages <name> — all usages (calls + imports)gcode imports <file> — what does this file import?These commands operate on the code-index graph projection via the Gobby daemon.
gcode graph clear — clear the current project's graph projectiongcode graph rebuild — rebuild it (cheaper than gcode invalidate + reindex; doesn't touch PostgreSQL symbol/content rows)| Looking for... | Use |
|---|---|
| A function or class by concept (fuzzy) | gcode search "concept" |
| A symbol you know the exact name of | gcode search-symbol "name" |
| A string literal, doc phrase, config value, comment, script line, CSS rule | gcode search-content "text" |
| Structure of a file without reading it | gcode outline path/to/file |
| Source code of a specific symbol | gcode symbol <full-uuid> |
| What breaks if I change X | gcode blast-radius <name> |
| Who calls a function | gcode callers <name> |
| All references to a symbol | gcode usages <name> |
All commands default to JSON output. Use --format text for human-readable output, --quiet to suppress warnings, and --no-freshness to skip the read-time staleness check (cheaper when you know the index is current).
Pre-transition checklist for closing or reviewing tasks. Covers fresh verification evidence, commits, and memory gates.
Use when processing CodeRabbit review comments, CodeRabbit CLI reports, or `$gobby coderabbit [findings]` requests.
Use when creating, editing, or validating Gobby skills, especially when a skill must change agent behavior or become discoverable through gobby-skills.
Use when coordinating a full gobby build run for an epic or task, especially when the user assigns the current session as coordinator, asks for a coordination epic, wants build agents/worktrees monitored, or wants gobby build bugs fixed so future runs work unattended.
Router contract for provider-aware Gobby help and installed skill dispatch.
Select the best bundled developer agent for automated expansion leaves and document fallback decisions.