DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to capture an agent's system prompt for each model with Orca Replay

Record the prompt a harness assembles for a given model, with the local machine details removed.

Short answer: Run npm i -g orcareplay and clone the repo if you need the capture folder locally; then run node capture/capture.mjs claude --model claude-opus-5 to capture the prompt for that model; read capture/README.md for the measured differences between interactive and print prompts and the sanitising rules. All steps.

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

  1. Run npm i -g orcareplay and clone the repo if you need the capture folder locally.
  2. Run node capture/capture.mjs claude --model claude-opus-5 to capture the prompt for that model.
  3. Read capture/README.md for the measured differences between interactive and print prompts and the sanitising rules.
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer