Add six 2026 coding-agent captures: Claude Code (incl. -p mode), Codex CLI, opencode - #162
Open
xizhuomengcontin wants to merge 1 commit into
Open
xizhuomengcontin wants to merge 1 commit into
xizhuomengcontin wants to merge 1 commit into
Conversation
…de x2) Recorded off the wire by a local proxy rather than extracted from the shipped bundle, each with the command that reproduces it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Six coding-agent system prompts, captured 2 September 2026. New
OPENCODE/vendor directory.The Claude Code entry currently in
ANTHROPIC/isClaude_Code_03-04-24.md. These are the v2.1.258.18d harness on three current models.Captured off the wire, not out of the bundle
A local proxy sits in front of the model API, the harness is launched pointing at it, and the request that carries the prompt is recorded exactly as sent. Every file's header names the one command that regenerates it —
node capture/capture.mjs claude --model claude-opus-5and so on — using OrcaReplay (Apache-2.0), and links a public copy so the text can be diffed against a second location.That method reaches two things a bundle extraction cannot:
1.
-pmode is a different prompt. Every Claude Code prompt in circulation is the interactive one.--printis the non-interactive mode — one turn in, answer to stdout — and it is what a script, a CI job, or the Agent SDK actually receives:cc_entrypoint=sdk-cli, notcli! <command>hint, the Scratchpad Directory section, thegitStatusblockArtifact,AskUserQuestion,EnterPlanMode,ExitPlanModeare never offered when nobody is at the terminalrole:"system"turn drops from 11,529 to 7,585 charactersSame harness build as the interactive Fable 5.1 file in this PR, captured minutes apart, so the two diff cleanly.
2. opencode has three prompts, not one. Measured across seven models on the same harness:
edit,writeedit,writeapply_patchTwo of the three are in this PR (the first and the third — the widest-shared and the outlier). The prompt, the wire dialect and the tool set are each chosen per model. The
apply_patchone is worth reading besideOPENAI/Codex-CLI-gpt-5.6-sol_Sep-02-2026.md: same model, different harness, unrelated prompt.Scrubbing
Home directory, username, git name and email, gateway host, OS build, e-mail addresses, uuids and hex runs of 32+ become
{{PLACEHOLDER}}tokens — derived from the machine at capture time, not hard-coded, and the capture aborts rather than write a file if anything identifying survives the pass. Nothing else is reworded, reordered or removed. Tool definitions travelled in the same requests and are not included in these files.Disclosure: I work on OrcaReplay, the tool used to capture these.
🤖 Generated with Claude Code