I collect observations and questions about how system prompts are discovered, understood, tested, and documented. My notes distinguish deriving a prompt from model behavior from extracting it through prompt injection, and connect to system prompts and model behavior and prompt injection fundamentals.
I noted that this is not about using prompt injection to extract the system prompt.
I described the trick as: run a bunch of prompts and then use the logged prompts and responses to derive the system prompt using a trained model.
I asked what's meant to happen if they are interleaved within the conversation, rather than stated once at the start of the messages array.
I described reverse engineering system prompts as one of the best ways I know of to level up at prompt engineering.
I shared my collection of 45 posts on reverse engineering system prompts, dating back to the Microsoft Bing prompt leak in February 2023.
I explained that Artifacts can call the real Claude API via a monkey-patched fetch() that gets redirected through a proxy adding an API key.
I would like AI labs to publish a detailed write-up explaining how you iterate on, test and eval those prompts.
I said such a write-up would be a huge help for your customers building on those models.
I suggested that AI labs shipping systems with epic system prompts publish a detailed write-up of how they iterate on, test and eval those prompts.
I said that such a write-up would be a huge help for customers building on the labs’ models.
I said the GPT-5 API hidden system prompt “appears to add other stuff too.”
As an API user, I said, “as an API user I want visibility into the whole prompt!”
I asked Anthropic to publish its tool descriptions, saying, “if you published the tool descriptions as well.”
Since Anthropic publish their system prompts, “we can generate a diff between Claude Opus 4.6 and 4.7”; I shared my notes on what changed at https://t.co/IQHuvLGmwO. This comparison builds on my notes in claude prompt updates.
Related: system prompt secrecy, claude prompt updates, product and api documentation