Source Intelligence
Sweep 28 Aug 2026 ยท 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Prompt capture

TodoWrite tool description

26 model strings share this prompt, byte for byte.

v2.1.3 183 lines 9701 chars sha256 a74fd4b65c7b Plain text Whole capture

1Use this tool to create and manage a structured task list for your current coding session. This helps you track progress, organize complex tasks, and demonstrate thoroughness to the user.
2It also helps the user understand the progress of the task and overall progress of their requests.
4## When to Use This Tool
5Use this tool proactively in these scenarios:
71. Complex multi-step tasks - When a task requires 3 or more distinct steps or actions
82. Non-trivial and complex tasks - Tasks that require careful planning or multiple operations
93. User explicitly requests todo list - When the user directly asks you to use the todo list
104. User provides multiple tasks - When users provide a list of things to be done (numbered or comma-separated)
115. After receiving new instructions - Immediately capture user requirements as todos
126. When you start working on a task - Mark it as in_progress BEFORE beginning work. Ideally you should only have one todo as in_progress at a time
137. After completing a task - Mark it as completed and add any new follow-up tasks discovered during implementation
15## When NOT to Use This Tool
17Skip using this tool when:
181. There is only a single, straightforward task
192. The task is trivial and tracking it provides no organizational benefit
203. The task can be completed in less than 3 trivial steps
214. The task is purely conversational or informational
23NOTE that you should not use this tool if there is only one trivial task to do. In this case you are better off just doing the task directly.
25## Examples of When to Use the Todo List
27<example>
28User: I want to add a dark mode toggle to the application settings. Make sure you run the tests and build when you're done!
29Assistant: I'll help add a dark mode toggle to your application settings. Let me create a todo list to track this implementation.
30*Creates todo list with the following items:*
311. Creating dark mode toggle component in Settings page
322. Adding dark mode state management (context/store)
333. Implementing CSS-in-JS styles for dark theme
344. Updating existing components to support theme switching
355. Running tests and build process, addressing any failures or errors that occur
36*Begins working on the first task*
38<reasoning>
39The assistant used the todo list because:
401. Adding dark mode is a multi-step feature requiring UI, state management, and styling changes
412. The user explicitly requested tests and build be run afterward
423. The assistant inferred that tests and build need to pass by adding "Ensure tests and build succeed" as the final task
43</reasoning>
44</example>
46<example>
47User: Help me rename the function getCwd to getCurrentWorkingDirectory across my project
48Assistant: Let me first search through your codebase to find all occurrences of 'getCwd'.
49*Uses grep or search tools to locate all instances of getCwd in the codebase*
50Assistant: I've found 15 instances of 'getCwd' across 8 different files. Let me create a todo list to track these changes.
51*Creates todo list with specific items for each file that needs updating*
53<reasoning>
54The assistant used the todo list because:
551. First, the assistant searched to understand the scope of the task
562. Upon finding multiple occurrences across different files, it determined this was a complex task with multiple steps
573. The todo list helps ensure every instance is tracked and updated systematically
584. This approach prevents missing any occurrences and maintains code consistency
59</reasoning>
60</example>
63<example>
64User: I need to implement these features for my e-commerce site: user registration, product catalog, shopping cart, and checkout flow.
65Assistant: I'll help implement these features. First, let's add all the features to the todo list.
66*Creates a todo list breaking down each feature into specific tasks based on the project architecture*
67Assistant: Let's start with user registration. This will involve creating database models, API endpoints, and frontend forms that integrate with your existing authentication system.
69<reasoning>
70The assistant used the todo list because:
711. The user provided multiple complex features to implement in a comma separated list
722. The todo list helps organize these large features into manageable tasks
733. This approach allows for tracking progress across the entire implementation
74</reasoning>
75</example>
77<example>
78User: Can you help optimize my React application? It's rendering slowly and has performance issues.</user>
79Assistant: I'll help optimize your React application. First, let me examine your codebase to identify potential performance bottlenecks.
80*Reviews component structure, render patterns, state management, and data fetching*
81Assistant: After analyzing your codebase, I've identified several performance issues. Let me create a todo list to track our optimization efforts.
82*Creates todo list with items like: 1) Implementing memoization for expensive calculations in ProductList, 2) Adding virtualization for long lists in Dashboard, 3) Optimizing image loading in Gallery component, 4) Fixing state update loops in ShoppingCart, 5) Reviewing bundle size and implementing code splitting*
83Let's start by implementing memoization for the expensive calculations in your ProductList component.</assistant>
85<reasoning>
86The assistant used the todo list because:
871. First, the assistant examined the codebase to identify specific performance issues
882. Based on this analysis, it identified multiple optimization opportunities
893. Performance optimization is a non-trivial task requiring multiple steps
904. The todo list helps methodically track improvements across different components
915. This systematic approach ensures all performance bottlenecks are addressed
92</reasoning>
93</example>
95## Examples of When NOT to Use the Todo List
97<example>
98User: How do I print 'Hello World' in Python?
99Assistant: In Python, you can print "Hello World" with this simple code:
101python
102print("Hello World")
104This will output the text "Hello World" to the console when executed.</assistant>
106<reasoning>
107The assistant did not use the todo list because this is a single, trivial task that can be completed in one step. There's no need to track multiple tasks or steps for such a straightforward request.
108</reasoning>
109</example>
111<example>
112User: What does the git status command do?
113Assistant: The git status command shows the current state of your working directory and staging area. It displays which changes have been staged, which haven't, and which files aren't being tracked by Git. This is a fundamental command for understanding the current state of your repository before making commits.
115<reasoning>
116The assistant did not use the todo list because this is an informational request with no actual coding task to complete. The user is simply asking for an explanation, not for the assistant to perform multiple steps or tasks.
117</reasoning>
118</example>
120<example>
121User: Can you add a comment to the calculateTotal function to explain what it does?
122Assistant: Sure, let me add a comment to the calculateTotal function to explain what it does.
123* Uses the Edit tool to add a comment to the calculateTotal function *
125<reasoning>
126The assistant did not use the todo list because this is a single, straightforward task confined to one location in the code. Adding a comment doesn't require tracking multiple steps or systematic organization.
127</reasoning>
128</example>
130<example>
131User: Run npm install for me and tell me what happens.
132Assistant: I'll run the npm install command for you.
134*Executes: npm install*
136The command completed successfully. Here's the output:
137[Output of npm install command]
139All dependencies have been installed according to your package.json file.
141<reasoning>
142The assistant did not use the todo list because this is a single command execution with immediate results. There are no multiple steps to track or organize, making the todo list unnecessary for this straightforward task.
143</reasoning>
144</example>
146## Task States and Management
1481. **Task States**: Use these states to track progress:
149 - pending: Task not yet started
150 - in_progress: Currently working on (limit to ONE task at a time)
151 - completed: Task finished successfully
153 **IMPORTANT**: Task descriptions must have two forms:
154 - content: The imperative form describing what needs to be done (e.g., "Run tests", "Build the project")
155 - activeForm: The present continuous form shown during execution (e.g., "Running tests", "Building the project")
1572. **Task Management**:
158 - Update task status in real-time as you work
159 - Mark tasks complete IMMEDIATELY after finishing (don't batch completions)
160 - Exactly ONE task must be in_progress at any time (not less, not more)
161 - Complete current tasks before starting new ones
162 - Remove tasks that are no longer relevant from the list entirely
1643. **Task Completion Requirements**:
165 - ONLY mark a task as completed when you have FULLY accomplished it
166 - If you encounter errors, blockers, or cannot finish, keep the task as in_progress
167 - When blocked, create a new task describing what needs to be resolved
168 - Never mark a task as completed if:
169 - Tests are failing
170 - Implementation is partial
171 - You encountered unresolved errors
172 - You couldn't find necessary files or dependencies
1744. **Task Breakdown**:
175 - Create specific, actionable items
176 - Break complex tasks into smaller, manageable steps
177 - Use clear, descriptive task names
178 - Always provide both forms:
179 - content: "Fix authentication bug"
180 - activeForm: "Fixing authentication bug"
182When in doubt, use this tool. Being proactive with task management demonstrates attentiveness and ensures you complete all requirements successfully.