Code navigation

From markerikson/opencode-config-example · View interactive version

Code navigation is an AI agent skill from the GitHub repository markerikson/opencode-config-example. Full tool reference for navigating codebases. The AGENTS.md quick-reference table covers tool selection; this skill provides detailed usage patterns, workflows, and edge cases.

How to use this skill

Skill file

Code Navigation & File Reading

Full tool reference for navigating codebases. The AGENTS.md quick-reference table covers tool selection; this skill provides detailed usage patterns, workflows, and edge cases.

Grepika — Default Exploration Tool

Use grepika first for all code exploration and reading.

Commands

Core Workflow

grepika_outline → identify symbols of interest → grepika_get with line range → read only what's needed

Repeat as necessary. This keeps context lean.

Tilth — Structural / Definition Queries

When you need to know where something is defined or what calls what, prefer tilth over grepika.

Commands

When to Choose Tilth Over Grepika

Ariadne — Architectural / Call-Graph Analysis

For high-level structure understanding and tracing call chains beyond immediate callers.

Commands

When to Choose Ariadne

Non-Code Files

Decision Flowchart

| Question | Tool | Why |

|----------|------|-----|

| "Find files about X topic" | grepika search | NL relevance ranking |

| "Where is Y defined?" | tilth search | Definition-first structural |

| "What calls Z?" | tilth search (callers) | Tree-sitter structural matching |

| "Main entry points?" | ariadne list_entrypoints | Ranks by call tree complexity |

| "Full call chain from A?" | ariadne call_graph | Bidirectional with depth |

| Regex/text pattern match | grepika search (grep mode) | Fast text search |

| "What would break if I change X?" | tilth deps | Blast-radius analysis |

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.