Anthropic Protocol
Expertly crafted prompts and instructions extracted from the Anthropic system. Master the patterns that power professional AI interactions.
Prompt Architecture
Browse structured rules and examples for this system.
Examples
Write a function to check prime numbers.
Agent: I will write the function and then use the 'code-reviewer' agent to validate the implementation.
Usage Strategy
Use this protocol when you need deep research or code searches that require autonomy. Ideal for tasks you cannot solve in a single attempt.
Examples
Step 1
screenshot -> Analyze image -> left_click at [x, y] to open the menu.
Step 2
type -> Enter 'https://google.com' in the address bar.
Usage Strategy
Before any click action, always request a screenshot to confirm visual coordinates. Ensure the cursor lands in the center of the target element.
Examples
Find the 'Add to cart' button.
Agent: [Use find with query 'add to cart button'] -> Returns ref_123
Usage Strategy
Use 'find' when you need to interact with an element but are unsure of its exact position. Returns reference IDs that can be used with other tools.
Examples
read_page with filter='interactive' to list only available buttons and links.
Usage Strategy
Use 'read_page' to get an overview of the DOM hierarchy. If the output is too large, use 'depth' or focus on a specific 'ref_id'.
Examples
javascript_tool -> text: 'window.appData.user.id' -> Returns the current user ID.
Usage Strategy
Use this tool for tasks visual tools cannot perform, such as extracting data from a global window variable or firing specific events.
Examples
read_console_messages with pattern='error' to find script load failures.
Usage Strategy
When a web action fails silently, check 'read_console_messages' and 'read_network_requests' to identify 4xx/5xx errors or JS exceptions.
Examples
npm install -> Installs project dependencies.
Usage Strategy
Use this block to interact with the operating system. Always verify the parent directory exists before creating files.
Examples
Read main.js -> Identify the function -> Use Edit to update the logic.
Usage Strategy
To edit code, read the file first. Capture enough context in 'old_string' so it is unique.
Examples
start_recording -> Run purchase sequence -> stop_recording -> export.
Usage Strategy
Start recording before a complex sequence of steps to document agent behavior or create automatic tutorials.
Examples
git status -> git diff -> git commit with a descriptive message.
Usage Strategy
When you finish a task, use this protocol to confirm changes. The assistant will analyze the log to follow the project's commit style.
Usage Strategy
Low-level automation tool for browser control. Integrated into the computer protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the find protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the form_input protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the get_page_text protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the gif_creator protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the javascript_tool protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the navigate protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the read_console_messages protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the read_network_requests protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the read_page protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the resize_window protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the tabs_context protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the tabs_create protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the turn_answer_start protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the update_plan protocol.
Usage Strategy
Low-level automation tool for browser control. Integrated into the upload_image protocol.
Visual Context Examples
Explore the global gallery
No direct visual matches found for this model yet. Browse our full collection for inspiration.
Browse GalleryEngineering Masterclass
1Context-Aware Strategy
The protocols define how an agent should react to ambiguity. Always provide the "Strategy" to set the right technical boundaries.
2Iterative Validation
Don't apply all protocols at once. Start with the "Agency" or "Task Management" blocks and scale up as the task grows in complexity.
3Actionable Examples
Each example shows the expected input and output. Use them to train your own models or calibrate existing coding assistants.