agentleFS
iberi22iberi22/skills/skills/tools/qwen/SKILL.md

qwen

Skill0 starsChanged 36 days agoMITView on GitHub

Qwen CLI integration for Alibaba's Qwen AI models. Versión: 1.0.0 Última actualización: 2026-02-05

  • Reads credentials
  • Installs packages

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Qwen CLI Skill

Qwen CLI integration for Alibaba's Qwen AI models.

📦 Instalación

# Instalar Qwen CLI
pip install qwen-cli

# O via npm
npm install -g @qwen/qwen-cli

# Verificar
qwen --version

⚙️ Configuración

# Login con Alibaba Cloud
qwen login --api-key YOUR_API_KEY

# Configurar endpoint
qwen config set endpoint https://api.qwen.ai/v1

# Verificar
qwen config list

🚀 Uso

Desde OpenClaw

from skills.qwen.qwen_client import QwenCLI

qwen = QwenCLI()

# Basic
result = qwen.run("Write a Python function")
print(result)

# Con archivo
result = qwen.analyze_code("src/module.py")

# Chat
chat = qwen.chat_session("debug")
response = chat.send("Help me fix this bug")

📁 Estructura

skills/qwen/
├── SKILL.md            # Este archivo
├── qwen_client.py      # Cliente Python
└── scripts/
    └── qwen.ps1        # PowerShell wrapper

🔧 API Reference

QwenCLI

from qwen_client import QwenCLI

# Basic
cli = QwenCLI()
result = cli.run("Your prompt")

# Opciones
result = cli.run(
    prompt="Explain this code",
    model="qwen-turbo",
    temperature=0.7,
    max_tokens=4000
)

# Archivos
result = cli.analyze_file("src/module.py")
result = cli.generate_code("Create a REST API", framework="fastapi")

🎯 Casos de Uso

TaskComando
Code generationqwen run "Create a login API"
Translationqwen run "Translate this to Spanish"
Documentationqwen run "Generate docs for this code"
Debugqwen run "Find the bug"

🔗 Integración

def handle_coding_task(task: str):
    """Delegar tarea de código a Qwen."""
    qwen = QwenCLI()
    return qwen.run(task)

Versión: 1.0.0 Última actualización: 2026-02-05

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.