From 4910369b832b577cdfb905c2f4edca38b4671658 Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Fri, 26 Dec 2025 16:14:42 -0700 Subject: [PATCH] Document extraction of system prompts (#4) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8fa5d96..abecfbf 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,10 @@ The result—40+ strings that are constantly changing and moving within a ve > - patches your npm-based or native (binary) Claude Code installation with them, and also > - provides diffing and conflict management for when both you and Anthropic have conflicting modifications to the same prompt file. +## Extraction + +This repository contains the system prompts extracted using a script from the latest npm version of Claude Code. As they're extracted directly from Claude Code's compiled source code, they're guaranteed to be exactly what Claude Code uses. If you use [tweakcc](https://github.com/Piebald-AI/tweakcc) to customize the system prompts, it works in a similar way—it patches the exact same strings in your local installation as are extracted into this repository. + ## Prompts Note that some prompts contain interpolated bits such as builtin tool name references, lists of available sub agents, and various other context-specific variables, so the actual counts in a particular Claude Code session will differ slightly—likely not beyond ±20 tokens, however.