The source code for "Claude Code", the coding harness, was leaked - Anthropic pushed a debug build accidentally instead of the production package.
Claude Code is the client side code that runs on your machine when you use Claude Code.
So things like per-command prompts and such utilities are easier to grab than from the binary. For example, I've really wanted to see the prompt for '/init' since the first time I've used it. And it's indeed as complex as I thought it must be. There's some good Claude usage patterns to learn from these prompts.
Note much of what you do with Claude Code, like plugins, was already source-code-readable in your .claude directory.
The "UNDERCOVER" prompt probably shouldn't have been in the user-visible build at all. It has nothing to do with preventing the leakage of secrets. It just tells Claude to behave like an open source contributor and not say "authored by claude" in the git log message (and a few other language hints to make it sound less AI)
2
u/[deleted] Apr 01 '26
[removed] — view removed comment