Back to Oh My Openagent

Analyze

packages/prompts-core/prompts/mode/analyze.md

4.5.1865 B
Original Source

[analyze-mode] ANALYSIS MODE. Gather context before diving deep:

CONTEXT GATHERING (parallel):

  • 1-2 explore agents (codebase patterns, implementations)
  • 1-2 librarian agents (if external library involved)
  • Direct tools: Grep, AST-grep, LSP for targeted searches

IF COMPLEX - DO NOT STRUGGLE ALONE. Consult specialists:

  • Oracle: Conventional problems (architecture, debugging, complex logic)
  • Artistry: Non-conventional problems (different approach needed)

SYNTHESIZE findings before proceeding.

MANDATORY delegate_task params: ALWAYS include load_skills and run_in_background when calling delegate_task. Evaluate available skills before dispatch - pass task-appropriate skills when relevant, pass [] ONLY when no skill matches the task domain. Example: delegate_task(subagent_type="explore", prompt="...", run_in_background=true, load_skills=[])