agent-reproduce-feature

agent-reproduce-feature is a skill for Claude Code, Codex from QwenLM/qwen-code. It costs 56 tokens per session (1,294 once invoked), scanned A, original, Apache-2.0.

A workflow for copying a feature from Codex or Claude Code into Qwen Code or another agent command-line tool. It observes one reference agent and records its requests, prompts, tool definitions, and terminal output before implementation.

In plain words
What is it for?
Use it to reproduce a command or interaction, select a reference agent, capture its behavior, and implement the matching feature in the target project.
Why use it?
It replaces guesswork about another agent's behavior with captured evidence that can guide a compatible implementation.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Good fit Use it to reproduce a command or interaction, select a reference agent, capture its behavior, and implement the matching feature in the target project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qwenlm/qwen-code/agent-reproduce-feature
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 · 31,040 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-feature
Clone the repo
git clone --depth 1 https://github.com/QwenLM/qwen-code

Made for: Claude Code, 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-feature

README.md
[![agentmods](https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-reproduce-feature/github.svg)](https://agentmods.dev/skills/qwenlm/qwen-code/agent-reproduce-feature)
Your own site
<a href="https://agentmods.dev/skills/qwenlm/qwen-code/agent-reproduce-feature"><img src="https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-reproduce-feature/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-feature

Your own site · 80×15
<a href="https://agentmods.dev/skills/qwenlm/qwen-code/agent-reproduce-feature"><img src="https://agentmods.dev/badge/skills/qwenlm/qwen-code/agent-reproduce-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 67
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00056 $0.01294
Opus 5.5 $0.00022 $0.00518
Sonnet 5.5 $0.00011 $0.00259
Haiku 4.5 $0.00006 $0.00129

Measured 3mo ago against content hash 958e5d3cdcdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-reproduce-feature scanned grade A with 1 finding 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 3mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/capture_state.py, scripts/llm_dump.py, scripts/run_tmux_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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The mitm script sets common proxy and CA variables for Node, Python, and curl-based CLIs. If TLS fails, read the certificate notes in `references/capture-workflow.md` and fix trust before interpreting missing traffic as
.qwen/skills/agent-reproduce-feature/SKILL.md · 133 lines

How it starts

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

Agent Reproduce Feature

Purpose

Use this skill to turn an observed feature from a reference agent into an implementation task for Qwen Code. The workflow treats the current session as the outer harness and runs a nested reference agent process as the program under test.

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

Reference Agent Selection

Start by selecting exactly one reference agent:

  • codex: use nested Codex as the reference implementation.
  • claude-code: use nested Claude Code as the reference implementation.

If the user did not choose one, ask once before capture. Then discover the local commands instead of assuming them:

command -v codex || true
command -v claude || command -v claude-code || true

Record the selected adapter in the run notes or scenario:

{
  "reference_agent": "codex",
  "reference_interactive_command": "codex",
  "reference_headless_command": "codex exec",
  "target_agent": "qwen-code",
  "target_repo": "."
}

Workflow

  1. Define the feature surface in one sentence: command, trigger, expected UI/output, and a minimal prompt that exercises it.
  2. Select codex or claude-code as the reference agent and discover its local launch command.
  3. Inspect the target repo enough to identify the likely module boundaries and Qwen Code launch command before changing code.
  4. Run the nested reference agent against the feature with capture enabled:
    • Local state capture via scripts/capture_state.py before and after the scenario.
    • HTTP/body capture via scripts/run_with_mitm.sh.
    • Terminal capture via scripts/run_tmux_capture.sh when the feature is interactive or TUI-visible.
    • Headless/non-interactive execution when the feature has a stable command-line path.
  5. Extract behavioral facts from the trace:
    • system/developer prompt deltas relevant to the feature
    • request body shape, including messages, tools, functions, schemas, tool choice, model settings
    • visible terminal states and command output
    • local agent state changes, file edits, exit status, and error paths
  6. Implement the smallest compatible behavior in Qwen Code using its existing patterns.
  7. Add focused tests or a reproducible smoke command.
  8. Hand off to $agent-reproduce-align when implementation exists and parity needs iteration.

Read the full file on GitHub · 133 lines

Files

What ships with it

5 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. 3mo ago First seen · 133 lines · 56 tokens per session scan A 958e5d3cdcdb

Subscribe to this mod's changes

agent-reproduce-feature is a skill published in the GitHub repository QwenLM/qwen-code (31,040 stars, last pushed today), licensed Apache-2.0. It adds 56 tokens to every session and 1,294 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-reproduce-feature compared with skills from other repositories

agent-reproduce-feature next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-reproduce-featureQwenLM/qwen-codeSkill31ktodayApache-2.0A56Claude Code, Codex
sls-dashboard-builderalibaba/loongsuite-pilotSkill2703d agoApache-2.0A72Claude Code, Codex
agentloop-audit-dashboardalibaba/loongsuite-pilotSkill2703d agoApache-2.0A149Claude Code, Codex
loongsuite-pilot-opsalibaba/loongsuite-pilotSkill2703d agoApache-2.0A15Claude Code, Codex
agentloop-audit-queryalibaba/loongsuite-pilotSkill2703d agoApache-2.0A54Claude Code, Codex
novel-workshopMerkyorLynn/LynnSkill7317d agoApache-2.0A90Claude Code
proactive-agentMerkyorLynn/LynnSkill7317d agoApache-2.0A46Claude Code, Codex