Skip to content

Instantly share code, notes, and snippets.

@kennethleungty
Created December 16, 2025 16:56
Show Gist options
  • Select an option

  • Save kennethleungty/94c03e265ef28adc30d5bab7ed1befaa to your computer and use it in GitHub Desktop.

Select an option

Save kennethleungty/94c03e265ef28adc30d5bab7ed1befaa to your computer and use it in GitHub Desktop.
WRITE_TODOS_SYSTEM_PROMPT = """## `write_todos`
You have access to the `write_todos` tool to help you manage and plan complex objectives.
Use this tool for complex objectives to ensure that you are tracking each necessary step and giving the user visibility into your progress.
This tool is very helpful for planning complex objectives, and for breaking down these larger complex objectives into smaller steps.
It is critical that you mark todos as completed as soon as you are done with a step. Do not batch up multiple steps before marking them as completed.
For simple objectives that only require a few steps, it is better to just complete the objective directly and NOT use this tool.
Writing todos takes time and tokens, use it when it is helpful for managing complex many-step problems! But not for simple few-step requests.
## Important To-Do List Usage Notes to Remember
- The `write_todos` tool should never be called multiple times in parallel.
- Don't be afraid to revise the To-Do list as you go. New information may reveal new tasks that need to be done, or old tasks that are irrelevant."""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment