agent-reproduce-align

agent-reproduce-align is a skill for Codex from QwenLM/qwen-code. It costs 62 tokens per session (908 once invoked), scanned A, original, Apache-2.0.

A comparison workflow for matching a new Qwen Code feature with the behavior of Codex or Claude Code. It captures and compares requests, tool definitions, terminal traces, and outputs under the same scenario.

In plain words
What is it for?
Use it after implementing a feature to reproduce the same scenario, compare normalized traces, and iterate toward closer behavioral parity.
Why use it?
It reveals where the new implementation differs from the selected reference agent, so compatibility can be checked using observable evidence.

Skill for Codex ✓ vendor

Written for Codex: runs codex exec. Also seen: mentions Claude Code; mentions Codex; $skill-name invocation.

Good fit Use it after implementing a feature to reproduce the same scenario, compare normalized traces, and iterate toward closer behavioral parity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qwenlm/qwen-code/agent-reproduce-align
About the project

Qwen Code is an open-source AI coding agent that runs in a terminal and helps developers work with code through language models. It supports multiple model providers and can also be used through IDEs, desktop software, SDKs, and messaging bots.

QwenLM/qwen-code · 27,718 stars · on GitHub · qwenlm.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add QwenLM/qwen-code --skill agent-reproduce-align
Clone the repo
git clone --depth 1 https://github.com/QwenLM/qwen-code

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-reproduce-align

README.md
[![agentmods](https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-reproduce-align/github.svg)](https://agentmods.dev/skills/qwenlm/qwen-code/agent-reproduce-align)
Your own site
<a href="https://agentmods.dev/skills/qwenlm/qwen-code/agent-reproduce-align"><img src="https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-reproduce-align/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-reproduce-align

Your own site · 80×15
<a href="https://agentmods.dev/skills/qwenlm/qwen-code/agent-reproduce-align"><img src="https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-reproduce-align.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 908 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00908
Opus 5 $0.00031 $0.00454
Sonnet 5 $0.00012 $0.00182
Haiku 4.5 $0.00006 $0.00091

Measured 10d ago against content hash 1bb5376710ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agent-reproduce-align scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/compare_traces.py, scripts/normalize_trace.py, scripts/run_pair_capture.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.qwen/skills/agent-reproduce-align/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Reproduce Align

Purpose

Use this skill when Qwen Code already has a candidate implementation and needs evidence-based parity with a selected reference agent: codex or claude-code. The goal is not byte-for-byte equality; it is matching the observable contract that matters for the feature.

Default target repo: the current working directory. Use a user-specified path only when the user explicitly provides one.

Reference Agent Selection

Use the same reference agent selected during $agent-reproduce-feature. If the earlier choice is unavailable, ask once and record the answer in the scenario or run notes.

Workflow

  1. Re-state the parity target:
    • feature name and trigger
    • selected reference agent
    • one baseline prompt or interaction script
    • acceptable differences
    • must-match fields
  2. Run the reference agent and Qwen Code in separate capture directories with the same scenario.
  3. Capture the selected reference agent's local state before and after the reference run when state may affect parity.
  4. Normalize traces with scripts/normalize_trace.py.
  5. Compare normalized traces with scripts/compare_traces.py.
  6. Inspect differences in this order:
    • reference-agent state changes that explain behavior
    • missing tool/function names
    • schema shape and required fields
    • model settings and response mode
    • prompt role/order differences that affect behavior
    • terminal-visible output and exit status
  7. Patch Qwen Code, rerun the smallest failing scenario, and repeat.
  8. Preserve only redacted minimal fixtures in the repo.

Read references/alignment-workflow.md before the first comparison pass.

Common Commands

Normalize:

.qwen/skills/agent-reproduce-align/scripts/normalize_trace.py \
  .repro-runs/reference/http.jsonl \
  > .repro-runs/reference/normalized.json

Compare:

.qwen/skills/agent-reproduce-align/scripts/compare_traces.py \
  .repro-runs/reference/normalized.json \
  .repro-runs/qwen/normalized.json

Read the full file on GitHub · 99 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 99 lines · 62 tokens per session scan A 1bb5376710ae

Subscribe to this mod's changes

agent-reproduce-align is a skill published in the GitHub repository QwenLM/qwen-code (27,718 stars, last pushed today), licensed Apache-2.0. It adds 62 tokens to every session and 908 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

verify

Exercise the real app/API/CLI and collect observable evidence; tests alone do not count as end-to-end verification.

Hmbown/CodeWhale · 25 tokens

webapp-testing

Start/reuse a local app, wait for readiness, inspect rendered state/console/network, act from observed selectors, and verify with evidence.

Hmbown/CodeWhale · 32 tokens

test-app

Verify a running Mendix app in a browser with Playwright, with OQL for data assertions. Use when asked to test or validate the app end to end, or to confirm that generated pages actually render.

mendixlabs/mxcli · 45 tokens

e2e-testing

Use when writing or stabilizing Playwright tests that drive a real browser through multi-step journeys — durable locators, web-first assertions, storageState auth, trace/retries, and flakes that only bite in CI. NOT in-process component tests (that is testing-web), NOT WCAG auditing (that is accessibility), NOT the…

ericrisco/rsc-harness · 79 tokens

hatch3r-browser-verify

Opt-in browser verification skill — spec-run-first Playwright verification (assertions execute in the runner, agent reads only failures), axe-core a11y audits, toHaveScreenshot() regression diffs, E2E test scaffolds, and snapshot-mode exploratory driving. Default ON for UI-affecting agent invocations; disable globally…

hatch3r/hatch3r · 83 tokens

tdd-test-engineer

Use for test-first development, regression tests, flaky test debugging, coverage gaps, test strategy, CI failures, or converting bugs into minimal reproducible tests.

DominikTobureto/awesome-grok-build · 37 tokens