Saltar al contenido
Skillpedia
Programación general29 mil · #9769

qwen-code-claw

Qué hace

Esta habilidad permite que un agente de IA use Qwen Code, un agente de programación, para tareas de código. Cubre entender el código, corregir errores, refactorizar y generar proyectos. Es para desarrolladores que quieren un segundo agente de código que haga el trabajo.

Cuándo usarla

  • ✓Cuando quieres entender una base de código o hacer preguntas sobre ella usando Qwen Code.
  • ✓Cuando quieres que Qwen Code corrija un error, refactorice código o genere un proyecto nuevo.
  • ✓Cuando quieres que las tareas de revisión de código o de documentación se ejecuten con Qwen Code.

Link de la skill

https://github.com/QwenLM/qwen-code/blob/main/.qwen/skills/qwen-code-claw/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/QwenLM/qwen-code/blob/main/.qwen/skills/qwen-code-claw/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Usa Qwen Code para refactorizar el módulo de inicio de sesión de este proyecto y explica qué cambiaste.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Tu agente instala Qwen Code, comprueba que la autenticación esté configurada y lo ejecuta mediante el Agent Client Protocol con acpx. Entrega la tarea y reporta el resultado, en lugar de leer pantallas de terminal.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Qwen Code Claw

When to Use This Skill

Use this skill when you need to:

  • Understand codebases or ask questions about source code
  • Generate new projects or add new features
  • Review pull requests in the codebase
  • Fix bugs or refactor existing code
  • Execute various programming tasks such as code review, testing, documentation generation, etc.
  • Collaborate with other tools and agents to complete complex development tasks

Install

npm install -g @qwen-code/qwen-code

For normal session reuse, prefer a global install over npx.

Authentication

Check if authentication is already configured:

qwen auth status

If authentication exists, skip this section. If not authenticated, check if the BAILIAN_CODING_PLAN_API_KEY environment variable exists:

echo $BAILIAN_CODING_PLAN_API_KEY

If BAILIAN_CODING_PLAN_API_KEY exists, authenticate directly:

qwen auth coding-plan --region china --key $BAILIAN_CODING_PLAN_API_KEY

If the environment variable does not exist, interrupt and prompt the user to authenticate via qwen-oauth or coding-plan:

qwen auth

Or configure custom API after launching Qwen Code via /auth.

ACPX Integration

You should always use acpx to run Qwen Code over the Agent Client Protocol (ACP) instead of scraping PTY sessions.

To use acpx:

  1. Install acpx globally (recommended) or use npx:
npm install -g acpx@latest

Or without installing:

npx acpx@latest
  1. Install the acpx skill for full reference:
npx acpx@latest --skill install acpx
  1. Read the acpx skill reference for every command, flag, and workflow pattern: See the ACPX Reference section below for details

  2. For complete CLI reference with all options and examples: https://raw.githubusercontent.com/openclaw/acpx/main/docs/CLI.md

From now on, when you need to delegate work to Qwen Code, use acpx instead of spawning raw terminal sessions. For example:

npx acpx@latest qwen "fix the failing tests"
npx acpx@latest qwen "refactor the auth module"
npx acpx@latest qwen exec "one-shot: summarize this repo"

Tip: You should typically use the --approve-all flag to prevent task interruptions.

Practical Workflows

Persistent Repository Assistant

acpx qwen 'inspect failing tests and propose a fix plan'
acpx qwen 'apply the smallest safe fix and run tests'

One-Shot Script Steps

acpx qwen exec 'summarize repo purpose in 3 lines'

Parallel Named Streams

acpx qwen -s backend 'fix API pagination bug'
acpx qwen -s docs 'draft changelog entry for release'

Queue Follow-ups Without Waiting

acpx qwen 'run full test suite and investigate failures'
acpx qwen --no-wait 'after tests, summarize root causes and next steps'

Machine-Readable Output for Orchestration

acpx --format json qwen 'review current branch changes' > events.ndjson

Repository-Wide Review with Permissive Mode

acpx --cwd ~/repos/my-project --approve-all qwen -s pr-123 \
  'review PR #123 for regressions and propose minimal patch'

Approval Modes

  • --approve-all: No interactive prompts
  • --approve-reads (default): Auto-approve reads/searches, prompt for writes
  • --deny-all: Deny all permission requests

If every permission request is denied/cancelled and none are approved, acpx exits with permission denied.

Best Practices

  1. Use named sessions for organizing different types of development tasks
  2. Use --no-wait for long-running tasks to avoid blocking
  3. Use --approve-all for non-interactive batch operations
  4. Use --format json for automation and script integration
  5. Use --cwd to manage context across multiple projects

QwenCode Reference

CLI Commands

Command Description
/help Show available commands
/clear Clear conversation history
/compress Compress history to save tokens
/stats Show session info
/auth Configure authentication
/exit Exit Qwen Code

Full reference: docs/users/features/commands.md.

Configuration

Config files (highest priority first): CLI args > env vars > system > project (.qwen/settings.json) > user (~/.qwen/settings.json) > d

Preguntas frecuentes

¿Cómo lo instalo?

La habilidad instala Qwen Code como un paquete global de npm.

¿Cómo inicia sesión?

Comprueba si existe autenticación. Si no existe, usa una clave de tu entorno o te pide que inicies sesión.

¿Por qué no controlar una terminal directamente?

La habilidad usa el Agent Client Protocol con acpx, así que no tiene que extraer datos de la salida de la terminal.

Detalles

Descripción original del autor

Use Qwen Code as a Code Agent for code understanding, project generation, features, bug fixes, refactoring, and various programming tasks

repo: QwenLM/qwen-code

Popularidad

Estrellas en GitHub
29 mil
Posición en el ranking
#9769
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas