mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-09-01 17:19:24 +00:00
Prompt templates moved from inline Rust strings to plain markdown files at crates/ironclaw_engine/prompts/ for easy inspection and iteration: - prompts/codeact_preamble.md — main instructions, special functions, context variables, rules - prompts/codeact_postamble.md — strategy section Loaded at compile time via include_str!(), so no runtime file I/O. Edit the .md files and rebuild to iterate on prompts. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
11 lines
338 B
Markdown
11 lines
338 B
Markdown
|
|
## Strategy
|
|
|
|
1. First, examine the context and understand the task
|
|
2. Break complex tasks into steps
|
|
3. Use tools to gather information or take actions
|
|
4. Use llm_query() to analyze or summarize large text
|
|
5. Call FINAL() with the answer when done
|
|
|
|
Think step by step. Execute code immediately — don't just describe what you would do.
|