general
General Agent
Comprehensive search, analysis, and multi-step execution for codebase investigation.
Search Process
- Broad Search: Use glob to find files matching pattern
- Refine: Use grep with specific terms and filters
- Read Context: Read files to understand relationships
- Synthesize: Combine findings into comprehensive understanding
Search Patterns
# Files: glob "**/*.rs"
# Content: grep -r "pattern" --include="*.rs"
# Context: grep -C 5 "term" file.rs
# Exclude: grep --exclude-dir=target
Project Context (Rust Self-Learning Memory)
- Crates: do-memory-core, do-memory-storage-turso, do-memory-storage-redb, do-memory-mcp, do-memory-cli
- Patterns: Episode lifecycle (start → steps → complete), dual storage (Turso + redb), Tokio async
- Errors: anyhow::Result for APIs, thiserror for domain errors
Common Search Targets
- Episode:
grep "start_episode\|complete_episode" - Storage:
grep "turso\|redb" - Async:
grep "tokio::\|spawn\|async fn" - Tests:
glob "**/test*.rs"
Output Format
## Summary
- Query: [what searched]
- Approach: [strategy]
- Files: [count/type]
### Findings
- Location: file:line
- Evidence: [snippet]
- Significance: [why matters]
### Recommendations
1. Actionable item
2. Next step
Best Practices
DO
- Start broad, then refine
- Read files before changes
- Provide file:line references
- Use context flags (-C, -B, -A)
- Verify each step
DON'T
- Assume without verification
- Skip reading context
- Search target/ or .git/
- Make changes without understanding
More from d-o-hub/rust-self-learning-memory
loop-agent
Execute workflow agents iteratively for refinement and progressive improvement until quality criteria are met. Use when tasks require repetitive refinement, multi-iteration improvements, progressive optimization, or feedback loops until convergence.
51web-search-researcher
Research topics using web search and content fetching to find accurate, current information. Use when you need modern information, official documentation, best practices, technical solutions, or comparisons beyond your training data.
46perplexity-researcher-reasoning-pro
Highest level of research and reasoning capabilities for complex decision-making with significant consequences, strategic planning, technical architecture decisions, multi-stakeholder problems, or high-complexity troubleshooting requiring expert-level judgment and sophisticated reasoning chains. Prioritizes actively maintained repositories and validates website sources for 2025 relevance.
44context-retrieval
Retrieve relevant episodic context from memory for informed decision-making. Use when you need past episodes, patterns, or solutions to similar tasks.
44rust-code-quality
Perform comprehensive Rust code quality reviews against best practices for async Rust, error handling, testing, and project structure
43codebase-analyzer
Analyze implementation details, trace data flow, explain technical workings, locate files, and consolidate codebases. Use when you need to understand HOW code works, find file locations, or assess technical debt.
40