weixin-configure

weixin-configure is a skill for Claude Code from qufei1993/cc-weixin. It costs 16 tokens per session (560 once invoked), scanned A, original, MIT.

A tool for connecting or disconnecting a WeChat account to an assistant by scanning a QR code. It checks existing accounts, waits for the scan, and saves the connection details.

In plain words
What is it for?
Starting a WeChat connection, clearing an existing connection, displaying a scannable QR-code link, and saving the resulting credentials.
Why use it?
It handles the account-login process so the assistant can use a WeChat connection without manually managing the login steps.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: positional $N argument; mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the weixin plugin — 2 skills, 1 MCP server shipped together

Good fit Starting a WeChat connection, clearing an existing connection, displaying a scannable QR-code link, and saving the resulting credentials.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add qufei1993/cc-weixin
Claude Code
/plugin install weixin

Made for: Claude Code.

Or install weixin, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for weixin-configure

README.md
[![agentmods](https://agentmods.dev/badge/skills/qufei1993/cc-weixin/configure/github.svg)](https://agentmods.dev/skills/qufei1993/cc-weixin/configure)
Your own site
<a href="https://agentmods.dev/skills/qufei1993/cc-weixin/configure"><img src="https://agentmods.dev/badge/skills/qufei1993/cc-weixin/configure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for weixin-configure

Your own site · 80×15
<a href="https://agentmods.dev/skills/qufei1993/cc-weixin/configure"><img src="https://agentmods.dev/badge/skills/qufei1993/cc-weixin/configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00560
Opus 5.5 $0.00006 $0.00224
Sonnet 5.5 $0.00003 $0.00112
Haiku 4.5 $0.00002 $0.00056

Measured 2mo ago against content hash 471a0154c608, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

weixin-configure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/weixin/skills/configure/SKILL.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WeChat Configure

Manage your WeChat connection.

Instructions

IMPORTANT: All commands must run from the plugin root directory (where package.json is), NOT from the skills directory.

Run as a single Bash command:

cd "${CLAUDE_PLUGIN_ROOT:-$(dirname $(dirname $0))}" && bun install --no-summary 1>&2 && bun src/cli-login.ts

If the user provides clear as an argument, append clear:

cd "${CLAUDE_PLUGIN_ROOT:-$(dirname $(dirname $0))}" && bun install --no-summary 1>&2 && bun src/cli-login.ts clear

The script handles everything: checking existing accounts, displaying the QR code, polling for scan result, and saving credentials.

IMPORTANT — QR Code display: The script outputs a line like:

Scan the QR code above with WeChat, or open this URL:
https://....

Always extract and show this URL to the user explicitly. In environments where the terminal QR code is not visible (e.g. Codex TUI background terminal), this URL is the only way for the user to scan. Tell the user to open the URL in a browser and scan the QR code with WeChat.

IMPORTANT — Privacy: NEVER show file system paths (such as the plugin root directory, cache paths, or home directory paths) to the user. These paths contain the user's system username and are private. If you need to refer to re-running this skill, say $weixin:weixin-configure clear — never paste an absolute path.

After connecting, tell the user the next step based on their platform:

Claude Code:

claude --dangerously-load-development-channels plugin:weixin@cc-weixin

Do NOT mention claude --channels plugin:weixin@cc-weixin (without --dangerously-load-development-channels) — this requires an official allowlist and is not yet available.

Codex:

~/cc-weixin/plugins/weixin/start-codex.sh

This starts both the Codex App Server and the WeChat bridge in one command. Run it in a terminal and keep it running. WeChat conversations are processed in the background — Codex TUI does not display them directly.

Read the full file on GitHub · 53 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 53 lines · 16 tokens per session scan A 471a0154c608

Subscribe to this mod's changes

weixin-configure is a skill published in the GitHub repository qufei1993/cc-weixin (157 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 560 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

weixin-configure compared with skills from other repositories

weixin-configure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
weixin-configurequfei1993/cc-weixinSkill1576mo agoMITA16Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code