Назад към всички

agentlens

// Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

$ git log --oneline --stat
stars:370
forks:70
updated:February 19, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameagentlens
descriptionNavigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.
metadata[object Object]

AgentLens - Codebase Navigation

Before Working on Any Codebase

Always start by reading .agentlens/INDEX.md for the project map.

Navigation Hierarchy

LevelFilePurpose
L0INDEX.mdProject overview, all modules listed
L1modules/{slug}/MODULE.mdModule details, file list
L1modules/{slug}/outline.mdSymbols in large files
L1modules/{slug}/memory.mdTODOs, warnings, business rules
L1modules/{slug}/imports.mdFile dependencies
L2files/{slug}.mdDeep docs for complex files

Navigation Flow

INDEX.md → Find module → MODULE.md → outline.md/memory.md → Source file

When To Read What

You NeedRead This
Project overview.agentlens/INDEX.md
Find a moduleINDEX.md, search module name
Understand a modulemodules/{slug}/MODULE.md
Find function/class in large filemodules/{slug}/outline.md
Find TODOs, warnings, rulesmodules/{slug}/memory.md
Understand file dependenciesmodules/{slug}/imports.md

Best Practices

  1. Don't read source files directly for large codebases - use outline.md first
  2. Check memory.md before modifying code to see warnings and TODOs
  3. Use outline.md to locate symbols, then read only the needed source sections
  4. Regenerate docs with agentlens command if they seem stale

For detailed navigation patterns, see references/navigation.md For structure explanation, see references/structure.md