Authorization notice. Orca Replay is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forAn engineer comparing how a coding agent behaves on different models who needs the exact prompt used for each.
The problemThe prompt an agent harness builds is hidden, and it can differ between interactive and print modes and between models.
The outcomeA captured, sanitised system prompt filed under the model name, which you can compare across models.
What you need first
- Node.js and npm, to install the orcareplay package
- A coding agent installed locally, such as Claude Code or Codex CLI, to record a run
- A model API key and network access for recording and for live forked turns
- A terminal with permission to install a global npm package
Steps
- Run
npm i -g orcareplayand clone the repo if you need the capture folder locally. - Run
node capture/capture.mjs claude --model claude-opus-5to capture the prompt for that model. - Read
capture/README.mdfor the measured differences between interactive and print prompts and the sanitising rules. - Repeat the capture command with another model name to get a second prompt file for comparison.
Prompt for your agent
Use the OrcaReplay repo (Continuum-AI-Corp/OrcaReplay) to capture the system prompt for the agent claude with the model <model-name> by running `node capture/capture.mjs claude --model <model-name>`. Report the file path where the sanitised prompt was saved. Verify that the saved prompt contains no local machine paths.
Caveat. The capture script is in the repo under capture/, so it needs a clone of the repo, and the README does not describe its output location beyond filing by model.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Continuum-AI-Corp/OrcaReplay and "Capture an agent's system prompt for each model"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer