explore-kid¶
Efficient codebase exploration and discovery
Explore-kid enables token-efficient codebase search and exploration, ideal for understanding large codebases without context bloat. Get the architecture without the noise.
What It Does¶
- Fast Codebase Search - Find code without reading everything
- Token Optimization - Minimize context use
- Dependency Discovery - Map module relationships
- Architecture Analysis - Understand system structure
- Context Efficiency - Compress codebase snapshots
Key Capabilities¶
Code Search¶
- Pattern Matching - Find similar code
- Symbol Resolution - Trace function definitions
- Import Analysis - Follow dependencies
- Cross-File Search - Find references globally
- Smart Indexing - Fast lookups
Context Compression¶
- Snapshot Generation - Compressed codebase
- Tree Structure Only - No full file content
- Dependency Graphs - Show relationships
- Architecture Extraction - High-level overview
Discovery¶
- Unused Code - Find dead code
- Cyclic Imports - Detect circular dependencies
- Module Boundaries - Identify service layers
- Public APIs - Map exposed interfaces
- Hidden Complexity - Find tangled dependencies
Integration¶
- Repomix Support - Generate snapshots
- MCP Tool - Available in herald
- Codebase API - REST interface
- Analysis Reports - HTML/PDF output
Accessing explore-kid¶
URL: http://127.0.0.1:8031
Commands:
python manage.py explore --search "function_name"
python manage.py snapshot --compress --include-diffs
python manage.py dependency-graph --output graph.html
python manage.py find-unused-code
Common Use Cases¶
Understand New Codebase¶
Generate compressed snapshot without reading all files.
Find Function Usage¶
Search where function is defined and called.
Map Module Dependencies¶
See which modules depend on each other.
Identify Dead Code¶
Find unused functions and modules.
Troubleshooting¶
Search returns too many results¶
Refine search query or use --exact flag.
Snapshot generation slow¶
Use --compress flag to speed up.
Cyclic import detection missed¶
Run analysis again with --strict flag.
Related Realms¶
- herald - Exposes explore-kid tool
- doc-u-me - Complementary documentation search
- realm-spawn - Analyzes realms to explore