mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-30 08:17:53 +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]>
338 B
338 B
Strategy
- First, examine the context and understand the task
- Break complex tasks into steps
- Use tools to gather information or take actions
- Use llm_query() to analyze or summarize large text
- Call FINAL() with the answer when done
Think step by step. Execute code immediately — don't just describe what you would do.