About Qwen Code
Qwen Code is an MCP server published by QwenLM in the Agents category: an open-source AI coding agent that lives in your terminal. Conduid read 25 tools from its source: channel_loop_cancel, channel_loop_create, channel_loop_list, echo, js, js_reset and 19 more. No package is published for it, so it installs from a source checkout.
The repository has 31K stars and 3.6K forks, is licensed Apache-2.0, and its last commit was on 2 Dec 2026. The latest release is v0.29.2 (2 Dec 2026): New read-only API GET /v1/agents/sessions/{sessionId}/skills returns ordered names and descriptions of user-invocable Session Skills. It follows sdk-typescript-v0.1.41 (29 Nov 2026), and the 5 most recent releases go back to v0.29.0 (28 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ai-coding, cli, coding-agent, devtools, qwen and terminal.
Install
git clone https://github.com/QwenLM/qwen-codeTools (25)
channel_loop_cancelCancel a proactive loop for the current channel chat.| Parameter | Type | Description |
|---|---|---|
| id * | string | Loop id to cancel. |
channel_loop_createCreate a recurring proactive reminder or scheduled prompt for the current channel chat. Use this in channel sessions instead of cron_create.| Parameter | Type | Description |
|---|---|---|
| cron * | string | Standard 5-field cron expression in local time, for example "*/5 * * * *". |
| prompt * | string | The message or instruction to run and proactively push to this channel chat. |
| recurring | boolean | Whether the loop recurs. Defaults to true. |
channel_loop_listList proactive loops for the current channel chat.echoEchoes back the provided arguments as JSON.| Parameter | Type | Description |
|---|---|---|
| message * | string | Message to echo |
jsExecute JavaScript in a persistent Node.js session with top-level await. The first call preloads global cua and displays runtime documentation. On the first invocation, call only cua.getState() or cua.getApp(name), then read the returned documentation before continuing. Use cua.rewriteDocumentation() after context compaction. Use nodeRepl.write(value) for explicit output.| Parameter | Type | Description |
|---|---|---|
| code * | string | JavaScript source to execute. |
| timeout_ms | number | Execution timeout in ms (default ${DEFAULT_TIMEOUT_MS}). |
| title | string | Short user-facing description of this call. |
js_resetDiscard all bindings and module state. The next js call starts a fresh session and displays documentation again.mobile_take_screenshotTake a screenshot of the mobile device. Use this to understand what's on screen. Do not cache this result.| Parameter | Type | Description |
|---|---|---|
| device * | string | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. |
qq_create_join_approval_strategyCreate a bot-level auto-join-approval strategy: join requests from whitelisted QQ numbers are approved automatically once the strategy runs. The strategy is created enabled-free (default on) but only takes effect while the bot is a group admin. Provide exactly one of group_openids / group_ids. A bot may hold at most 20 strategies. Whitelist numbers are added separately with qq_set_join_approval_whitelist.| Parameter | Type | Description |
|---|---|---|
| expire_at | string | RFC3339 expiry; defaults to one year from now. |
| group_ids | array | QQ group numbers the strategy covers (strings, at most 100). Mutually exclusive with group_openids. |
| group_openids | array | Group openids the strategy covers, at most 100. Mutually exclusive with group_ids. |
| is_enable | string | Default on. |
| remark | string | Human-readable note, at most 255 characters. |
qq_delete_join_approval_strategyDelete a bot-level auto-join-approval strategy.| Parameter | Type | Description |
|---|---|---|
| strategy_id * | string | Strategy id. |
qq_execute_join_approval_strategyRun a bot-level auto-join-approval strategy now: it scans every covered group and approves pending join requests whose QQ number is whitelisted. Asynchronous, roughly 10 minutes.| Parameter | Type | Description |
|---|---|---|
| strategy_id * | string | Strategy id. |
qq_get_bot_stateGet the bot's own state in the current QQ group: member role (member/admin/owner), join time, whether proactive push is allowed, and which messages the group lets the bot receive. ${RESERVED_NOTE}qq_get_group_infoGet the current QQ group profile: name, description, category, tags and member count. ${RESERVED_NOTE}qq_get_group_memberGet one group member's details (nickname, role, join time). ${RESERVED_NOTE}| Parameter | Type | Description |
|---|---|---|
| member_openid * | string | The member's openid. |
qq_get_mute_statusQuery the current QQ group mute state: the group-wide mute rule and every member-level mute still in effect. ${ADMIN_NOTE}qq_kick_memberRemove one or more members from the current QQ group, optionally blacklisting them. ${RESERVED_NOTE}| Parameter | Type | Description |
|---|---|---|
| add_to_member_blacklist | boolean | Also add them to the group blacklist. Default false. |
| member_openid | string | The group member to remove. |
| member_openids | array | Bulk form, at most 20 members. Use instead of member_openid. |
qq_list_group_membersList group members, up to 30 per page. ${RESERVED_NOTE}| Parameter | Type | Description |
|---|---|---|
| cursor | string | Pagination cursor. |
qq_list_join_approval_strategiesList the bot-level auto-join-approval strategies currently in effect (bot-wide, not per group), newest first.| Parameter | Type | Description |
|---|---|---|
| cursor | string | Pagination cursor from a previous call. |
| limit | integer | Page size, default 20, maximum 50. |
qq_list_join_requestsList pending join requests for the current QQ group, newest first. ${ADMIN_NOTE}| Parameter | Type | Description |
|---|---|---|
| cursor | string | Pagination cursor from a previous call; omit for page 1. |
| limit | integer | Page size, default 20, maximum 50. |
qq_list_member_blacklistList the group blacklist, up to 100 per page. ${RESERVED_NOTE}| Parameter | Type | Description |
|---|---|---|
| cursor | string | Pagination cursor. |
| limit | integer | Page size, default 20, maximum 100. |
qq_recall_messageRecall a message in the current QQ group chat. The call requires a target: pass member_openid to recall that member's most recent message the channel still remembers from this chat, or message_id for a platform message id the operator or the channel logs supplied — the channel does not put message ids into the transcript, so ask for one instead of guessing. There is no implicit target, and the tool never recalls the bot's own messages. Member-targeted recall only reaches messages the channel actually received and still tracks: ordinary non-@ group messages arrive only when groupAllPolicy is 'keyword', 'all' or 'log', and the member must be a full member_openid, which requires allowMention (with allowMention: false the transcript carries only a truncated sender name, so only message_id works). A member_openid recall is allowed only when the turn's own sender is that member, or when the turn has no member sender (for example an operator-initiated turn). Recalling another member's message requires the bot to be a group admin. Direct chats are unsupported, because the platform only recalls the bot's own messages there.| Parameter | Type | Description |
|---|---|---|
| member_openid | string | The member's openid whose most recent recorded message should be recalled. |
| message_id | string | Explicit id of a message in this group chat. |
qq_review_join_requestApprove or decline a pending join request for the current QQ group. ${ADMIN_NOTE}| Parameter | Type | Description |
|---|---|---|
| add_to_member_blacklist | boolean | Also blacklist the applicant when declining. |
| join_request_id | string | Join request id from qq_list_join_requests. |
| member_openid * | string | Openid of the applicant (from qq_list_join_requests). |
| op * | string | approve to let them in, decline to reject. |
| reject_reason | string | Reason shown when declining. |
qq_set_join_approval_whitelistAdd or remove whitelisted QQ numbers on a bot-level auto-join-approval strategy. At most 10000 numbers per call; a strategy holds at most 100000. Numbers must be strings to avoid precision loss. There is no API to read the numbers back — only the count.| Parameter | Type | Description |
|---|---|---|
| op * | string | |
| strategy_id * | string | Strategy id. |
| whitelist_users * | array | QQ numbers as strings, at most 10000 per call. |
qq_set_muteMute or unmute group members in the current QQ group. ${ADMIN_NOTE} Max mute duration is 30 days; only ordinary members can be muted (not the owner, other admins or bots).| Parameter | Type | Description |
|---|---|---|
| member_openid | string | Single member to mute or unmute. |
| members | array | Bulk form, at most 20 entries, each {member_openid, op, mute_expire_at}. Both member_openid and op are required on every entry. |
| mute_expire_at | string | RFC3339 expiry for the single-member form, e.g. 2026-08-05T11:23:05+08:00. For op=del an empty string lifts the mute now. |
| op | string | Operation for the single-member form: add mutes, update changes the expiry, del lifts the mute. Required. |
qq_update_join_approval_strategyUpdate a bot-level auto-join-approval strategy: enable/disable it, change its expiry, add or remove covered groups, or change the remark. Group identifiers must use the same form the strategy was created with.| Parameter | Type | Description |
|---|---|---|
| expire_at | string | RFC3339 expiry. |
| group_action | object | Add or remove covered groups. |
| is_enable | string | |
| remark | string | |
| strategy_id * | string | Strategy id. |
qq_update_member_blacklistAdd members to or remove them from the group blacklist. A member who is still in the group cannot be blacklisted — remove them first. ${RESERVED_NOTE}| Parameter | Type | Description |
|---|---|---|
| member_openids * | array | At most 20 openids. |
| op * | string |
Security checks
Static checks derived from the repository 23 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml and 5 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.5K words, fetched 23 hours ago. The original in the repository is authoritative.
Read full README