Code Navigation & File Reading

Guide definition-first codebase navigation with structural queries and call-graph analysis.

41|4|Updated May 6, 2026
One-click install
npx skills add https://github.com/markerikson/opencode-config-example --skill code-navigation-file-reading
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Navigation & File Reading
Source: https://github.com/markerikson/opencode-config-example/tree/main/config/skill/code-navigation
Command: npx skills add https://github.com/markerikson/opencode-config-example --skill code-navigation-file-reading

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of getting lost in large codebases and spending too much time reading irrelevant sections, by guiding you toward the right files, line ranges, and definitions.

Core Features & Use Cases

  • Grepika exploration workflow: Use outline-first exploration (TOC, search, outline, targeted get) to keep context lean while navigating.
  • Tilth structural queries: Prefer definition-first search, callers tracing, and blast-radius dependency checks before making changes.
  • Ariadne call-graph analysis: Discover entry points and trace neighborhoods of call chains to understand architecture beyond immediate references.
  • Non-code file handling guidance: Know when to use config/JSON-oriented readers versus targeted Markdown scanning to avoid unnecessary full reads.

Quick Start

Ask for a definition-first walkthrough by requesting the exact symbol definition and its callers, with line-range targeted reading for the relevant files.

Frequently Asked Questions about Code Navigation & File Reading

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find symbol definitions and trace call chains in a large codebase?

To find symbol definitions in a large codebase, use definition-first exploration combined with targeted reading. This approach locates exact symbols, traces their callers, and queries structural dependencies to keep your context lean while navigating unfamiliar repositories.

What is the best way to assess dependency impact before editing code?

The best way to assess dependency impact is by performing blast-radius dependency checks before making changes. This structural query identifies all callers and dependencies of a target symbol, ensuring you understand the full scope of potential edits across the repository.

How does call graph analysis help with navigating unfamiliar repositories?

Call graph analysis helps navigate unfamiliar repositories by discovering entry points and tracing neighborhoods of call chains. This reveals the underlying architecture beyond immediate references, showing how different components interact at a structural level.

How do I avoid reading irrelevant sections when exploring large codebases?

To avoid reading irrelevant sections when exploring large codebases, use outline-first exploration with targeted line-range reads. By searching file outlines and requesting exact symbol definitions before opening full files, you keep context lean and focus only on relevant code.

Can I use targeted reading for non-code files like config and JSON?

Yes, targeted reading applies to non-code files like config and JSON. You can use config and JSON-oriented readers alongside targeted Markdown scanning to extract specific settings without performing unnecessary full file reads, maintaining efficient context usage.