Interface with the Qwen Code CLI agent for operations requiring the Qwen model.
Interact with the Qwen agent. This skill wraps input in strict JSON enforcement prompts and handles retries.
Triggers: "ask qwen", "qwen help", "consult qwen"
# Usage: .claude/skills/qwen/qwen-agent.sh "Your prompt here"
.claude/skills/qwen/qwen-agent.sh "Summarize the history of AI."You can pass a JSON object with prompt, context, and schema.
{
"prompt": "Generate a user profile",
"context": "Target audience: internal admin tools",
"schema": {
"type": "object",
"properties": {
"username": {"type": "string"},
"age": {"type": "integer"}
},
"required": ["username", "age"],
"additionalProperties": false
}
}.claude/skills/qwen/qwen-agent.sh '{"prompt":"...","context":"...","schema":{...}}'Success (JSON only):
{
"key": "value"
}Error:
{
"ok": false,
"error": {
"code": "error_code",
"message": "Description"
}
}QWEN_CMD (default: qwen)QWEN_ARGS (default: empty)QWEN_TIMEOUT (default: 60)QWEN_APPROVAL_MODE (default: plan)qwen/SKILL.md
1721217
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.