en un clic
weixin-channel-setup
// 帮助用户快速配置和使用微信通道功能。当用户想要"配置微信"、"连接微信"、"设置微信机器人"、"weixin setup"、"wechat channel"时使用此技能。
// 帮助用户快速配置和使用微信通道功能。当用户想要"配置微信"、"连接微信"、"设置微信机器人"、"weixin setup"、"wechat channel"时使用此技能。
Control native macOS, Windows, and Linux desktop apps through the `open-computer-use` MCP server. Use when the user asks to operate local apps with accessibility-tree context plus screenshots, inspect the screen, click UI, type text, press shortcuts, scroll, drag, or interact with OS-level GUI software.
Control browser pages using the Playwright MCP server. Use when the user asks to open, inspect, navigate, click, type, test, or automate websites, localhost web apps, browser tabs, forms, and web UI.
Control the local desktop using the `computer` MCP tool from computer-use-mcp. Use when the user asks to operate local Mac/Windows apps, inspect the screen, click UI, type text, press shortcuts, scroll, drag, or interact with native GUI software.
Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec). Supports Python, JavaScript/TypeScript, C, and Java (including Hadoop-scale repositories). Covers call graphs, dependency analysis, dead code detection, hotspots, module coupling, architectural layering, commit history, change attribution, semantic code search, impact analysis, full architecture reports, and bug root cause analysis from GitHub issues. Use this skill whenever the user asks about code structure, code dependencies, who calls what, why something changed, finding similar functions, generating architecture reports, understanding module boundaries, analyzing GitHub issues/bugs, finding bug root causes, understanding why a project has many bugs, tracing bugs to code, indexing Java projects, or any question that benefits from a code knowledge graph — even if they don't mention "CodeScope" by name. If a `.codegraph` or similar index directory exists in the workspace, this skill applies.
为开源项目生成专业宣传视频,传入 {owner}/{repo} 参数 Triggers on "生成开源视频", "宣传视频", "oss video", "remotion video".
Build full-stack dashboard applications using React/Next.js + shadcn/ui + Tailwind CSS + Recharts + Express with customizable data sources. Use when creating data visualization dashboards, business intelligence interfaces, monitoring systems, KPI displays, analytics platforms, or any project requiring data visualization with modern UI components and dynamic effects.
| name | weixin-channel-setup |
| description | 帮助用户快速配置和使用微信通道功能。当用户想要"配置微信"、"连接微信"、"设置微信机器人"、"weixin setup"、"wechat channel"时使用此技能。 |
本技能帮助用户快速配置 Qwen Code 的微信通道功能,让 AI 助手通过微信与你交互。
运行以下命令启动微信登录流程:
qwen channel configure-weixin
操作流程:
保存的信息:
~/.qwen/channels/weixin/account.json编辑 ~/.qwen/settings.json,添加或更新 channels 配置:
{
"channels": {
"my-weixin": {
"type": "weixin",
"senderPolicy": "allowlist",
"allowedUsers": ["YOUR_WEIXIN_USER_ID"],
"sessionScope": "user",
"cwd": "/path/to/your/project",
"instructions": "你是一个简洁的编程助手,通过微信回复。保持回答简短。",
"model": "qwen3.5-plus"
}
}
}
获取你的微信 ID:
cat ~/.qwen/channels/weixin/account.json | grep userId
将输出中的 userId 值替换到配置文件的 allowedUsers 数组中。
qwen channel start my-weixin
看到 "[Channel] "my-weixin" is running. Press Ctrl+C to stop." 即表示成功!
现在打开微信,找到你的机器人助手,发送消息测试吧。
| 选项 | 必填 | 说明 | 示例 |
|---|---|---|---|
type | ✅ | 通道类型,固定为 "weixin" | "weixin" |
senderPolicy | ❌ | 访问策略:allowlist(白名单)、open(公开)、pairing(配对) | "allowlist" |
allowedUsers | 推荐 | 允许使用的微信用户 ID 列表 | ["o9cq803zPvc..."] |
sessionScope | ❌ | 会话范围:user(每用户独立)、single(全局共享) | "user" |
cwd | 推荐 | AI 工作目录 | "/Users/name/project" |
instructions | ❌ | 系统指令,控制 AI 行为风格 | "保持回答简短" |
model | ❌ | 使用的模型 | "qwen3.5-plus" |
# 查看当前配置的通道
qwen channel --help
# 启动微信通道
qwen channel start my-weixin
# 查看微信账号状态
qwen channel configure-weixin status
# 清除微信凭证(重新登录时使用)
qwen channel configure-weixin clear
# 停止通道(Ctrl+C 或 kill 进程)
kill <PID>
可能原因:
解决方案:
# 重新运行配置命令
qwen channel configure-weixin
检查清单:
ps aux | grep "channel start")allowedUsers 中settings.json 格式是否正确(JSON 语法)调试方法:
# 查看详细日志
DEBUG=1 qwen channel start my-weixin
# 清除旧凭证
qwen channel configure-weixin clear
# 重新扫码登录
qwen channel configure-weixin
在 allowedUsers 中添加多个微信用户:
{
"channels": {
"my-weixin": {
"type": "weixin",
"senderPolicy": "allowlist",
"allowedUsers": ["user1@im.wechat", "user2@im.wechat", "user3@im.wechat"]
}
}
}
⚠️ 警告:此模式下任何人都可以使用你的机器人,请谨慎开启!
{
"channels": {
"my-weixin": {
"type": "weixin",
"senderPolicy": "open"
}
}
}
通过 instructions 字段定义 AI 的风格:
{
"instructions": "你是一个专业的代码审查助手。回答要简洁专业,优先给出解决方案,然后解释原因。"
}
600(仅所有者可读写)account.json 内容分享给他人configure-weixin clear 清除凭证docs/users/features/channels/overview.mddocs/users/features/channels/telegram.mdqwen --help