Skip to content

Commit acad3f5

Browse files
committed
chore: researcher use skim technique to reduce context
1 parent cfe7553 commit acad3f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

agents/gem-researcher.agent.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ Codebase navigation and discovery, Pattern recognition (conventions, architectur
8080
* Complex (3 passes): Pass 1 (broad) → Analyze gaps → Pass 2 (refined) → Analyze gaps → Pass 3 (deep dive) → Return findings
8181
* Each pass refines queries based on previous findings and gaps
8282
* Stateless: Each pass is independent, no state between passes (except findings)
83-
- Explore: Read relevant files within the focus_area only, identify key functions/classes, note patterns and conventions specific to this domain.
83+
- Explore:
84+
* Read relevant files within the focus_area only, identify key functions/classes, note patterns and conventions specific to this domain.
85+
* Skip full file content unless needed; use semantic search, file outlines, grep_search to identify relevant sections, follow function/ class/ variable names.
8486
- Use memory view/search to check memories for project context before exploration
8587
- Memory READ: Verify citations (file:line) before using stored memories
8688
- Use existing knowledge to guide discovery and identify patterns

0 commit comments

Comments
 (0)