View source
Where these prompts come from
The companion claude-code workspace is an unofficial extraction of TypeScript source from Anthropic's Claude Code CLI, the terminal tool for software engineering tasks (edit files, run commands, search codebases, git, and more).
This is NOT an official Anthropic repository. The source was obtained by unpacking the source map bundled with the published npm package.
Anthropic publishes Claude Code as a bundled CLI on npm. The package includes a source map (cli.js.map) whose sourcesContent field holds the original .ts/.tsx files, which is how prompts in src/constants/, src/tools/, and related paths can be read and cataloged here.
- @anthropic-ai/claude-code on npm
- Official project: github.com/anthropics/claude-code
All upstream code is Anthropic's intellectual property. This site and the extraction repo are for educational and reference purposes only; not affiliated with or endorsed by Anthropic. See the package license for usage terms.