This repository contains system prompts and tool definitions for Claude Chrome, a web automation assistant.
📖 How Claude in Chrome works: For a detailed explanation of how Claude Chrome works, see How Claude Chrome Works.
.
├── system/ # System prompts
└── tools/ # Tool definitions (JSON format)
System prompts are located in the system/ directory:
- prompt-1.txt - Main system prompt with security rules, behavior instructions, and browser automation guidelines
- prompt-2.txt - Platform-specific information (Mac system, keyboard shortcuts)
- prompt-3.txt - Browser tabs usage instructions and best practices
- prompt-4.txt - Turn answer start instructions
Tool definitions are located in the tools/ directory. Each tool is defined in a separate JSON file:
- read_page.json - Get accessibility tree representation of page elements
- find.json - Find elements using natural language queries
- get_page_text.json - Extract raw text content from pages
- navigate.json - Navigate to URLs or browser history
- computer.json - Mouse and keyboard interactions, screenshots
- form_input.json - Set values in form elements
- javascript_tool.json - Execute JavaScript code in page context
- tabs_create.json - Create new browser tabs
- tabs_context.json - Get context information about tabs
- upload_image.json - Upload images to file inputs or drag & drop targets
- gif_creator.json - Record and export browser actions as animated GIFs
- read_console_messages.json - Read browser console messages
- read_network_requests.json - Read HTTP network requests
- resize_window.json - Resize browser window dimensions
- update_plan.json - Update and present plan to user for approval
- turn_answer_start.json - Mark the start of a turn response
Each tool file contains a complete JSON definition with:
name: Tool identifierdescription: What the tool doesinput_schema: Parameters and their types- Additional metadata (e.g.,
type,cache_control)
System prompt files contain instructions and guidelines for the Claude Chrome assistant.
This repository serves as a reference for:
- System prompt structure and content
- Tool definition schemas
- Browser automation capabilities