Skills

Agent Reproduce Feature

Use when reproducing an existing Codex or Claude Code feature in Qwen Code or another...

Install

npx skills add QwenLM/qwen-code --skill agent-reproduce-feature -g -a claude-code -y
Repository
QwenLM/qwen-code28.9k
Category
AI and agents
Updated
3d ago
License
Apache-2.0
Context cost
Lightabout 1,376 tokens
Runs scripts
Yes, review before use

What it does

Use when reproducing an existing Codex or Claude Code feature in Qwen Code or another agent CLI by choosing a reference agent, capturing HTTP request bodies, prompts, tool/function schemas, terminal output, and then implementing the matching behavior in the target repo.

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

Read the whole SKILL.md on GitHub

More in AI and agents