
Agentlens
- 9 installs
- 33 repo stars
- Updated April 26, 2026
- bighardperson/computer-science-skills-collection
agentlens is a Claude Code skill for navigating and understanding codebases using agentlens hierarchical documentation.
About
agentlens is a skill for navigating and understanding codebases using agentlens hierarchical documentation. A developer uses it when exploring a new project, finding modules, locating symbols in large files, or finding TODOs and warnings before modifying code. It defines a read order from INDEX.md down through MODULE, outline, memory, and imports files so an agent reads only the sections it needs.
- Navigate and understand codebases via hierarchical .agentlens documentation
- Read INDEX.md then MODULE, outline, memory, and imports files
- Locate symbols and TODOs without reading whole source files
Agentlens by the numbers
- 9 all-time installs (skills.sh)
- Ranked #1,145 of 1,879 Documentation skills by installs in the Skillselion catalog
- Data as of Jul 30, 2026 (Skillselion catalog sync)
agentlens capabilities & compatibility
Free; reads local .agentlens documentation, no API keys.
- Capabilities
- codebase navigation · documentation · code exploration
- Use cases
- documentation · research · refactoring
- Pricing
- Free
What agentlens says it does
Navigate and understand codebases using agentlens hierarchical documentation.
Always start by reading `.agentlens/INDEX.md` for the project map.
Don't read source files directly** for large codebases - use outline.md first
npx skills add https://github.com/bighardperson/computer-science-skills-collection --skill agentlensAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 9 |
|---|---|
| repo stars | ★ 33 |
| Last updated | April 26, 2026 |
| Repository | bighardperson/computer-science-skills-collection ↗ |
What it does
Navigate an unfamiliar codebase and locate modules, symbols, and TODOs via agentlens hierarchical docs.
Who is it for?
Orienting in a large or unfamiliar codebase by reading generated hierarchical docs instead of raw source.
Skip if: Projects without generated .agentlens documentation.
When should I use this skill?
Exploring a new project, finding modules, locating symbols in large files, or finding TODOs and warnings.
What you get
A guided path from project index to the exact module, symbol, or memory note needed.
- Guided codebase navigation
- Located symbols, modules, and TODOs
By the numbers
- 3 documentation levels (L0 INDEX, L1 module files, L2 file docs)
Files
AgentLens - Codebase Navigation
Before Working on Any Codebase
Always start by reading .agentlens/INDEX.md for the project map.
Navigation Hierarchy
| Level | File | Purpose |
|---|---|---|
| L0 | INDEX.md | Project overview, all modules listed |
| L1 | modules/{slug}/MODULE.md | Module details, file list |
| L1 | modules/{slug}/outline.md | Symbols in large files |
| L1 | modules/{slug}/memory.md | TODOs, warnings, business rules |
| L1 | modules/{slug}/imports.md | File dependencies |
| L2 | files/{slug}.md | Deep docs for complex files |
Navigation Flow
INDEX.md → Find module → MODULE.md → outline.md/memory.md → Source fileWhen To Read What
| You Need | Read This |
|---|---|
| Project overview | .agentlens/INDEX.md |
| Find a module | INDEX.md, search module name |
| Understand a module | modules/{slug}/MODULE.md |
| Find function/class in large file | modules/{slug}/outline.md |
| Find TODOs, warnings, rules | modules/{slug}/memory.md |
| Understand file dependencies | modules/{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
{
"ownerId": "kn77p8afjgz97sa5ksxj36477d7ytdd8",
"slug": "agentlens",
"version": "1.0.0",
"publishedAt": 1767882646426
}{
"slug": "agentlens",
"name": "Agentlens",
"version": "1.0.0",
"installedAt": 1776152368936,
"source": "skillhub"
}Navigation Patterns
Pattern 1: Exploring a New Codebase
1. Read .agentlens/INDEX.md
→ Get list of all modules
→ Note entry points and hub modules
2. Pick relevant module from INDEX
→ Read modules/{slug}/MODULE.md
→ Understand module purpose and files
3. Need specific symbol?
→ Read modules/{slug}/outline.md
→ Find line number of function/class
4. Check for issues first?
→ Read modules/{slug}/memory.md
→ See TODOs, warnings before editingPattern 2: Finding Where Something Is Defined
1. Start with INDEX.md
2. Search for keyword in module descriptions
3. Go to matching MODULE.md
4. Check outline.md for symbol locations
5. Read only the specific source lines neededPattern 3: Understanding Dependencies
1. Read modules/{slug}/imports.md
2. See which files import what
3. Understand the dependency graph
4. Navigate to related modules as neededPattern 4: Before Modifying Code
1. Read memory.md for the module
2. Check for:
- TODO: Pending work
- FIXME: Known bugs
- WARNING: Dangerous areas
- SAFETY: Critical invariants
- DEPRECATED: Code to avoid
3. Understand the context before changesToken Efficiency Tips
- Never read entire source files in large codebases
- Use outline.md to find exact line numbers first
- Read only relevant sections of source code
- Navigate hierarchically: INDEX → MODULE → outline → source
- Estimated savings: 80-96% fewer tokens than reading raw source
AgentLens Output Structure
Directory Layout
.agentlens/
├── INDEX.md # L0: Global routing table
├── AGENT.md # Agent-specific instructions
├── modules/
│ └── {module-slug}/
│ ├── MODULE.md # L1: Module overview
│ ├── outline.md # L1: Symbol maps for large files
│ ├── memory.md # L1: TODOs, warnings, rules
│ └── imports.md # L1: File dependencies
└── files/
└── {file-slug}.md # L2: Deep docs for complex filesFile Purposes
INDEX.md (Always Read First)
- Project name and description
- Complete list of modules with descriptions
- Entry points (main files)
- Hub files (heavily imported)
- High-priority warnings summary
MODULE.md
- Module purpose and responsibility
- List of all files in the module
- File descriptions and line counts
- Language breakdown
outline.md
- Symbol maps for large files (>500 lines)
- Functions, classes, structs, enums, traits
- Line numbers for quick navigation
- Visibility (public/private)
memory.md
- TODO comments
- FIXME and BUG markers
- WARNING and SAFETY notes
- DEPRECATED markers
- Business rules (RULE, POLICY)
imports.md
- Which files import which
- Internal dependencies within module
- Helps understand coupling
files/{slug}.md (L2 - Complex Files Only)
- Generated for very complex files
- Detailed symbol documentation
- More context than outline.md
Related skills
FAQ
Where do I start?
Always start by reading .agentlens/INDEX.md for the project map.
Should I read source files directly?
For large codebases, don't; use outline.md first, then read only the needed source sections.