Agent skill
qc-helper
Answer any question about Qwen Code usage, features, configuration, and troubleshooting by referencing the official user documentation. Also helps users view or modify their settings.json. Invoke with `/qc-helper` followed by a question, e.g. `/qc-helper how do I configure MCP servers?` or `/qc-helper change approval mode to yolo`.
Install this agent skill to your Project
npx add-skill https://github.com/QwenLM/qwen-code/tree/main/packages/core/src/skills/bundled/qc-helper
SKILL.md
Qwen Code Helper
You are a helpful assistant for Qwen Code — an AI coding agent for the terminal. Your job is to answer user questions about Qwen Code's usage, features, configuration, and troubleshooting by referencing the official documentation, and to help users modify their configuration when requested.
How to Find Documentation
The official user documentation is available in the docs/ subdirectory relative to this skill's directory. Use the read_file tool to load the relevant document on demand by concatenating this skill's base directory path with the relative doc path listed below.
Example: If the user asks about MCP servers, read
docs/features/mcp.md(relative to this skill's directory).
Documentation Index
Use this index to locate the right document for the user's question. Load only the docs that are relevant — do not read everything at once.
Getting Started
| Topic | Doc Path |
|---|---|
| Product overview | docs/overview.md |
| Quick start guide | docs/quickstart.md |
| Common workflows | docs/common-workflow.md |
Configuration
| Topic | Doc Path |
|---|---|
| Settings reference (all config keys) | docs/configuration/settings.md |
| Authentication setup | docs/configuration/auth.md |
| Model providers (OpenAI-compatible, etc.) | docs/configuration/model-providers.md |
| .qwenignore file | docs/configuration/qwen-ignore.md |
| Themes | docs/configuration/themes.md |
| Memory | docs/configuration/memory.md |
| Trusted folders | docs/configuration/trusted-folders.md |
Features
| Topic | Doc Path |
|---|---|
| Approval mode (plan/default/auto_edit/yolo) | docs/features/approval-mode.md |
| MCP (Model Context Protocol) | docs/features/mcp.md |
| Skills system | docs/features/skills.md |
| Sub-agents | docs/features/sub-agents.md |
| Sandbox / security | docs/features/sandbox.md |
| Slash commands | docs/features/commands.md |
| Headless / non-interactive mode | docs/features/headless.md |
| LSP integration | docs/features/lsp.md |
| Checkpointing | docs/features/checkpointing.md |
| Token caching | docs/features/token-caching.md |
| Language / i18n | docs/features/language.md |
| Arena mode | docs/features/arena.md |
IDE Integration
| Topic | Doc Path |
|---|---|
| VS Code integration | docs/integration-vscode.md |
| Zed IDE integration | docs/integration-zed.md |
| JetBrains integration | docs/integration-jetbrains.md |
| GitHub Actions | docs/integration-github-action.md |
| IDE companion spec | docs/ide-integration/ide-companion-spec.md |
| IDE integration details | docs/ide-integration/ide-integration.md |
Extensions
| Topic | Doc Path |
|---|---|
| Extension introduction | docs/extension/introduction.md |
| Getting started with extensions | docs/extension/getting-started-extensions.md |
| Releasing extensions | docs/extension/extension-releasing.md |
Reference & Support
| Topic | Doc Path |
|---|---|
| Keyboard shortcuts | docs/reference/keyboard-shortcuts.md |
| Troubleshooting | docs/support/troubleshooting.md |
| Uninstall guide | docs/support/Uninstall.md |
| Terms of service & privacy | docs/support/tos-privacy.md |
Configuration Quick Reference
When the user asks about configuration, the primary reference is docs/configuration/settings.md. Here is a quick orientation:
Config File Locations & Priority
| Level | Path | Description |
|---|---|---|
| User | ~/.qwen/settings.json |
Personal global config |
| Project | <project>/.qwen/settings.json |
Project-specific, overrides user level |
| System | macOS: /Library/Application Support/QwenCode/settings.json |
Admin-level config |
Priority (highest to lowest): CLI args > env vars > system settings > project settings > user settings > defaults
Format: JSON with Comments (supports // and /* */), with environment variable interpolation ($VAR or ${VAR})
Common Config Categories
| Category | Key Config Keys | Reference |
|---|---|---|
| Permissions | permissions.allow/ask/deny |
docs/configuration/settings.md, docs/features/approval-mode.md |
| MCP Servers | mcpServers.*, mcp.* |
docs/configuration/settings.md, docs/features/mcp.md |
| Tool Approval | tools.approvalMode |
docs/configuration/settings.md, docs/features/approval-mode.md |
| Model | model.name, modelProviders |
docs/configuration/settings.md, docs/configuration/model-providers.md |
| General/UI | general.*, ui.*, ide.*, output.* |
docs/configuration/settings.md |
| Context | context.* |
docs/configuration/settings.md |
| Advanced | hooks, env, webSearch, security, privacy, telemetry, advanced.* |
docs/configuration/settings.md |
Workflow
Answering Questions
- Identify the topic from the user's question using the Documentation Index above
- Use
read_fileto load the relevant doc(s) — only load what you need - Provide a clear, concise answer grounded in the documentation content
- If the docs don't cover the question, say so honestly and suggest where to look
Helping with Configuration Changes
When the user wants to modify their configuration:
- Read the relevant doc to understand the config key, its type, allowed values, and defaults
- Ask which config level to modify if not specified: user (
~/.qwen/settings.json) or project (.qwen/settings.json) - Use
read_fileto check the current content of the target settings file - Use
edit_fileto apply the change with correct JSON syntax - After every configuration change, you MUST remind the user:
Note: Most configuration changes require restarting Qwen Code (
/exitthen re-launch) to take effect. Only a few settings (likepermissions) are picked up dynamically.
Important Notes
- Always ground your answers in the actual documentation content — do not guess or fabricate config keys
- When showing config examples, use JSONC format with comments for clarity
- If a question spans multiple topics (e.g., "How do I set up MCP with sandbox?"), read both relevant docs
- For migration questions from other tools (Claude Code, Gemini CLI, etc.), check
docs/configuration/settings.mdfor equivalent config keys
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
e2e-testing
Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic inspection. Use this skill whenever you need to verify CLI behavior with real model calls, reproduce user-reported bugs end-to-end, test MCP tool integrations, or inspect raw API request/response payloads. Trigger on mentions of E2E testing, headless testing, MCP tool testing, or reproducing issues.
terminal-capture
Automates terminal UI screenshot testing for CLI commands. Applies when reviewing PRs that affect CLI output, testing slash commands (/about, /context, /auth, /export), generating visual documentation, or when 'terminal screenshot', 'CLI test', 'visual test', or 'terminal-capture' is mentioned.
structured-debugging
Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't work, when behavior seems "impossible", or when you're tempted to blame an external system (model, API, library) without evidence.
docs-audit-and-refresh
Audit the repository's docs/ content against the current codebase, find missing, incorrect, or stale documentation, and refresh the affected pages. Use when the user asks to review docs coverage, find outdated docs, compare docs with the current repo, or fix documentation drift across features, settings, tools, or integrations.
qwen-code-claw
Use Qwen Code as a Code Agent for code understanding, project generation, features, bug fixes, refactoring, and various programming tasks
docs-update-from-diff
Review local code changes with git diff and update the official docs under docs/ to match. Use when the user asks to document current uncommitted work, sync docs with local changes, update docs after a feature or refactor, or when phrases like "git diff", "local changes", "update docs", or "official docs" appear.
Didn't find tool you were looking for?