Using the Explorer Agent for Codebase Discovery
Suppose you’re new to a large codebase and need to find where specific functionality is implemented.Ask broad discovery questions
Explorer searches efficiently
The Explorer agent:
- Searches file names and paths
- Greps code content for keywords
- Analyzes architectural patterns
- Returns results with file paths and code snippets
Breaking Tasks Into Manageable Chunks
Suppose you’re working on a large codebase and need to add a feature that touches many files.Identify natural task boundaries
Instead of requesting everything at once:Focus on one self-contained component first.
Complete the phase fully
Work through Phase 1 completely including testing before moving to Phase 2. This creates a clean checkpoint.
Leveraging Plan Mode for Large-Scale Changes
Suppose you need to refactor a feature scattered across dozens of files in a large codebase.Start in Plan Mode
Review the comprehensive plan
Verdent presents a plan showing:
- All files requiring changes (25 files identified)
- Minimal set of files to include in main context
- Order of operations
- Dependencies between changes
Making Coordinated Changes Across Many Files
Suppose you need to rename a function that’s used in 50+ files across a large codebase.Verify no files are missed
Verdent shows all 52 files requiring updates. Review the list to ensure completeness.
Execute coordinated changes
Approve the plan. Verdent updates all files systematically, ensuring consistent renaming everywhere.
Frequently Asked Questions
How do I know when I'm approaching context limits?
How do I know when I'm approaching context limits?
Signs include slower response times, sessions running for several hours, or many large files loaded. Monitor your session length and file count. When you notice performance degradation, complete your current task, commit your progress, and start a fresh session with clean context.
Is it safe to let Verdent modify dozens of files at once?
Is it safe to let Verdent modify dozens of files at once?
Yes, when used properly. Always use Plan Mode to review the complete scope first, ensure you have comprehensive test coverage, and commit frequently between phases. This allows you to verify changes incrementally and rollback easily if needed.
When should I use the Explorer agent versus loading files directly?
When should I use the Explorer agent versus loading files directly?
Use the Explorer agent for discovery and search tasks without consuming main context. Load files directly with @-mentions only when you need to modify them. Explorer is ideal for “find all files that…” questions, while @-mentions are for “update this specific file” tasks.
Which model preset is best for large codebase work?
Which model preset is best for large codebase work?
Use the Performance preset for complex multi-file operations and refactoring. Use the Efficiency preset for simple searches and discovery tasks. Performance provides more reasoning capability for coordinated changes, while Efficiency is faster and more cost-effective for exploration.