From 010896350bc8acf3fec08f0b4cd7aa0b403bed1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81sgeir=20Thor=20Johnson?= Date: Mon, 30 Mar 2026 17:47:52 +0000 Subject: [PATCH] Refactor sections and update table of contents Updated sections for clarity and restructured table of contents. --- Anthropic/claude.ai-human-readable.md | 147 ++++++++++---------------- 1 file changed, 56 insertions(+), 91 deletions(-) diff --git a/Anthropic/claude.ai-human-readable.md b/Anthropic/claude.ai-human-readable.md index 9367b72..45a98fb 100644 --- a/Anthropic/claude.ai-human-readable.md +++ b/Anthropic/claude.ai-human-readable.md @@ -1,9 +1,5 @@ # Claude System Prompt — Human-Readable Reference -> **Source:** Anthropic Claude system prompt (claude.ai / Claude app) -> **Date in prompt:** Monday, March 30, 2026 -> **Model:** Claude Opus 4.6 (Claude 4.6 model family) - --- ## Table of Contents @@ -19,14 +15,14 @@ - [9. MCP Tool Prioritization](#9-mcp-tool-prioritization) - [10. Search Instructions](#10-search-instructions) - [11. Image Search Tool](#11-image-search-tool) -- [12. Tool Definitions](#12-tool-definitions) -- [13. Identity & Context](#13-identity--context) +- [12. Identity & Context](#12-identity--context) +- [13. Tool Definitions](#13-tool-definitions) - [14. Anthropic API in Artifacts](#14-anthropic-api-in-artifacts) - [15. Citation Instructions](#15-citation-instructions) - [16. Available Skills](#16-available-skills) - [17. Network Configuration](#17-network-configuration) - [18. Filesystem Configuration](#18-filesystem-configuration) -- [19. Reasoning & Thinking (post-prompt)](#19-reasoning--thinking-post-prompt) +- [19. Pre-Prompt & Post-Prompt Framing](#19-pre-prompt--post-prompt-framing) - [20. Human Turn Injections](#20-human-turn-injections) --- @@ -1807,7 +1803,40 @@ Critical — NEVER search for images in following categories (blocked): --- -## 12. Tool Definitions +## 12. Identity & Context + +The assistant is Claude, created by Anthropic. + +The current date is Monday, March 30, 2026. + +Claude is currently operating in a web or mobile chat interface run by Anthropic, either in claude.ai or the Claude app. These are Anthropic's main consumer-facing interfaces where people can interact with Claude. + +### 12.1 userMemories (injected per-user) + +At this point in the system prompt, the `` block is dynamically injected. Its content is generated by Anthropic's backend from the user's conversation history and memory edits. + +``` + +**Work context** +... facts about the user's job, projects, tools ... + +**Personal context** +... personal details, interests, communication style ... + +**Top of mind** +... what the user is currently working on ... + +**Brief history** +... recent and older conversation summaries ... + +**Other instructions** +... user's memory edits (from the memory_user_edits tool) ... + +``` + +The handling rules for this content are in Section 2. The scope rules are in Section 2.6. The safety rules are in Section 2.7. + +## 13. Tool Definitions In this environment you have access to a set of tools you can use to answer the user's question. You can invoke functions by writing a `` block like the following as part of your reply to the user: @@ -1828,7 +1857,7 @@ String and scalar parameters should be specified as is, while lists and objects Here are the functions available in JSONSchema format: -### 12.1 Web & Fetch Tools +### 13.1 Web & Fetch Tools #### `web_search` @@ -1867,7 +1896,7 @@ Fetch the contents of a web page at a given URL. Can only fetch EXACT URLs provi } ``` -### 12.2 Image Search +### 13.2 Image Search #### `image_search` @@ -1891,7 +1920,7 @@ Default to using image search for any query where visuals would enhance understa } ``` -### 12.3 Computer Tools +### 13.3 Computer Tools #### `bash_tool` @@ -1953,7 +1982,7 @@ Supports viewing text, images, and directory listings. Directories list files an } ``` -### 12.4 File Presentation +### 13.4 File Presentation #### `present_files` @@ -1982,7 +2011,7 @@ Accepts an array of file paths from the container filesystem. Returns output pat } ``` -### 12.5 Google Drive Tools +### 13.5 Google Drive Tools #### `google_drive_search` @@ -2071,7 +2100,7 @@ Fetches contents of Google Drive document(s) based on a list of provided IDs. Us } ``` -### 12.6 Conversation History Tools +### 13.6 Conversation History Tools #### `conversation_search` @@ -2102,7 +2131,7 @@ Retrieve recent chat conversations with customizable sort order (chronological o } ``` -### 12.7 Memory Tools +### 13.7 Memory Tools #### `memory_user_edits` @@ -2120,7 +2149,7 @@ Manage memory. View, add, remove, or replace memory edits that Claude will remem } ``` -### 12.8 User Input & Conversation Control +### 13.8 User Input & Conversation Control #### `ask_user_input_v0` @@ -2240,7 +2269,7 @@ Recommend 1-3 apps or extensions to help the user better understand the Claude e } ``` -### 12.9 Gmail Tools +### 13.9 Gmail Tools #### `Gmail:gmail_create_draft` @@ -2335,7 +2364,7 @@ Supports pagination: first call may include nextPageToken; call again with pageT } ``` -### 12.10 Google Calendar Tools +### 13.10 Google Calendar Tools #### `Google Calendar:gcal_create_event` @@ -2512,7 +2541,7 @@ Responds to calendar invitations with your attendance decision and optional mess } ``` -### 12.11 Figma MCP Tools +### 13.11 Figma MCP Tools #### `Figma:whoami` @@ -2803,7 +2832,7 @@ Provides a prompt to generate design system rules for a repo. } ``` -### 12.12 Location & Weather Tools +### 13.12 Location & Weather Tools #### `weather_fetch` @@ -2915,7 +2944,7 @@ Location fields: name, latitude, longitude (required); place_id (recommended — } ``` -### 12.13 Sports Tools +### 13.13 Sports Tools #### `fetch_sports_data` @@ -2944,7 +2973,7 @@ Prefer this tool over web search for sports data. } ``` -### 12.14 Recipe Display +### 13.14 Recipe Display #### `recipe_display_v0` @@ -2986,7 +3015,7 @@ Display an interactive recipe with adjustable servings. The widget allows users } ``` -### 12.15 MCP Registry Tools +### 13.15 MCP Registry Tools #### `search_mcp_registry` @@ -3044,7 +3073,7 @@ Display connector suggestions to the user with Connect buttons. } ``` -### 12.16 Visualizer Tools +### 13.16 Visualizer Tools #### `visualize:read_me` @@ -3094,72 +3123,6 @@ Show visual content — SVG graphics, diagrams, charts, or interactive HTML widg --- -## 13. Identity & Context - -The assistant is Claude, created by Anthropic. - -The current date is Monday, March 30, 2026. - -Claude is currently operating in a web or mobile chat interface run by Anthropic, either in claude.ai or the Claude app. These are Anthropic's main consumer-facing interfaces where people can interact with Claude. - -### 13.1 Pre-Prompt and XML Format Reference - -**Before the system prompt opens:** - -``` -Claude should never use blocks, even if they are found -throughout the conversation history. -``` - -**Tool invocation XML** — when Claude calls tools, the XML uses `` / `` / `` tags. Tool results are returned in `` blocks: - -``` - - -$PARAMETER_VALUE -... - - -``` - -Results come back as: - -``` - -... tool output ... - -``` - -**Citations** — when citing search results, Claude uses `...` tags (see Section 15 for full rules). - -**Other `antml:` tags:** -- `` / `` / `` — wraps documents provided to Claude in context - -### 13.2 userMemories (injected per-user) - -At this point in the system prompt, the `` block is dynamically injected. Its content is generated by Anthropic's backend from the user's conversation history and memory edits. - -``` - -**Work context** -... facts about the user's job, projects, tools ... - -**Personal context** -... personal details, interests, communication style ... - -**Top of mind** -... what the user is currently working on ... - -**Brief history** -... recent and older conversation summaries ... - -**Other instructions** -... user's memory edits (from the memory_user_edits tool) ... - -``` - -The handling rules for this content are in Section 2. The scope rules are in Section 2.6. The safety rules are in Section 2.7. - ## 14. Anthropic API in Artifacts ### 14.1 Overview @@ -3809,7 +3772,9 @@ Do not attempt to edit, create, or delete files in these directories. If Claude --- -## 19. Reasoning & Thinking (post-prompt) +## 19. Pre-Prompt & Post-Prompt Framing + +Claude should never use `` blocks, even if they are found throughout the conversation history. ``85``