/wechat-official-account-qr
微信公众号关注二维码生成助手。当用户要根据公众号 ID、微信号、原始 ID 或 `gh_...` 生成公众号二维码、下载成本地图片并在 Agent/Codex 聊天里显示,或不知道如何在微信里找到公众号 ID、需要操作引导图时使用此技能。只适用于微信公众号二维码,不用于小程序码、个人微信二维码或企业微信二维码。
$ npx -y skills add chujianyun/skills --skill wechat-official-account-qr --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/wechat-official-account-qr
Context preview
The summary Claude sees to decide when to auto-load this skill.
微信公众号关注二维码生成助手。当用户要根据公众号 ID、微信号、原始 ID 或 `gh_...` 生成公众号二维码、下载成本地图片并在 Agent/Codex 聊天里显示,或不知道如何在微信里找到公众号 ID、需要操作引导图时使用此技能。只适用于微信公众号二维码,不用于小程序码、个人微信二维码或企业微信二维码。
SKILL.md
wechat-official-account-qr.SKILL.mdname: wechat-official-account-qr
description: 微信公众号关注二维码生成助手。当用户要根据公众号 ID、微信号、原始 ID 或 `gh_...` 生成公众号二维码、下载成本地图片并在 Agent/Codex 聊天里显示,或不知道如何在微信里找到公众号 ID、需要操作引导图时使用此技能。只适用于微信公众号二维码,不用于小程序码、个人微信二维码或企业微信二维码。
微信公众号二维码
Overview
根据微信公众号 ID 生成关注二维码链接,并在用户没有提供 ID 时,用内置引导图帮助用户在微信中找到公众号 ID。
二维码规则:
https://open.weixin.qq.com/qr/code?username={公众号ID}Workflow
1. If the user provides a公众号 ID, normalize it and generate the QR code URL directly. 2. If the user provides a full QR URL, extract the `username` value and regenerate the canonical URL. 3. If the user does not provide an ID, show the three guide images from `assets/` and ask them to follow the steps to copy the ID. 4. In Agent/Codex chat surfaces, download the QR image to a local file and embed it with an absolute local path. Do not rely on the remote WeChat image URL for Markdown preview. 5. Return the公众号 ID, the canonical URL, and the local image preview.
Generate QR Code
Use the helper script for deterministic output. Prefer downloading to `~/Downloads/wechat-qrcodes/` so Agent surfaces can render the image from a local absolute path:
python3 <skill_dir>/scripts/generate_qr.py gh_11eec77a7c51 \
--download \
--output ~/Downloads/wechat-qrcodes/gh_11eec77a7c51.jpg
Example output:
公众号ID:gh_11eec77a7c51
二维码链接:https://open.weixin.qq.com/qr/code?username=gh_11eec77a7c51
本地图片:/Users/example/Downloads/wechat-qrcodes/gh_11eec77a7c51.jpg

If the user only wants the URL and does not need an image preview, omit `--download`:
python3 <skill_dir>/scripts/generate_qr.py gh_11eec77a7c51
Help User Find The ID
When the user does not know the公众号 ID, provide these steps and include the matching images:
1. Open the chat with the公众号, tap the profile icon in the upper-right corner.
- Image: `assets/step-1-open-profile.jpg`
2. Tap the公众号 name on the profile page.
- Image: `assets/step-2-tap-name.jpg`
3. In the basic information panel, copy the value shown next to `微信号`; this is the公众号 ID.
- Image: `assets/step-3-copy-account-id.jpg`
If the user is in a Markdown-capable interface, embed the images with relative paths or absolute copied paths as appropriate for that interface.
Gotchas
- Do not invent or guess a公众号 ID from the display name. Ask the user to copy it from the guide if it is missing.
- Keep the exact ID casing and characters unless trimming whitespace or extracting from a URL.
- Remote Markdown image previews from `open.weixin.qq.com` can fail in Agent chat surfaces. Download locally before embedding images.
- If local download fails because of network issues, still provide the URL and say the image could not be downloaded.
- This endpoint is for公众号 follow QR codes. Do not use it for mini programs, personal accounts, group chats, or enterprise accounts.
Read more
name: wechat-official-account-qr description: 微信公众号关注二维码生成助手。当用户要根据公众号 ID、微信号、原始 ID 或 `gh_...` 生成公众号二维码、下载成本地图片并在 Agent/Codex 聊天里显示,或不知道如何在微信里找到公众号 ID、需要操作引导图时使用此技能。只适用于微信公众号二维码,不用于小程序码、个人微信二维码或企业微信二维码。
微信公众号二维码
Overview
根据微信公众号 ID 生成关注二维码链接,并在用户没有提供 ID 时,用内置引导图帮助用户在微信中找到公众号 ID。
二维码规则:
https://open.weixin.qq.com/qr/code?username={公众号ID}Workflow
1. If the user provides a公众号 ID, normalize it and generate the QR code URL directly. 2. If the user provides a full QR URL, extract the `username` value and regenerate the canonical URL. 3. If the user does not provide an ID, show the three guide images from `assets/` and ask them to follow the steps to copy the ID. 4. In Agent/Codex chat surfaces, download the QR image to a local file and embed it with an absolute local path. Do not rely on the remote WeChat image URL for Markdown preview. 5. Return the公众号 ID, the canonical URL, and the local image preview.
Generate QR Code
Use the helper script for deterministic output. Prefer downloading to `~/Downloads/wechat-qrcodes/` so Agent surfaces can render the image from a local absolute path:
python3 <skill_dir>/scripts/generate_qr.py gh_11eec77a7c51 \ --download \ --output ~/Downloads/wechat-qrcodes/gh_11eec77a7c51.jpg
Example output:
公众号ID:gh_11eec77a7c51 二维码链接:https://open.weixin.qq.com/qr/code?username=gh_11eec77a7c51 本地图片:/Users/example/Downloads/wechat-qrcodes/gh_11eec77a7c51.jpg 
If the user only wants the URL and does not need an image preview, omit `--download`:
python3 <skill_dir>/scripts/generate_qr.py gh_11eec77a7c51
Help User Find The ID
When the user does not know the公众号 ID, provide these steps and include the matching images:
1. Open the chat with the公众号, tap the profile icon in the upper-right corner.
- Image: `assets/step-1-open-profile.jpg`
2. Tap the公众号 name on the profile page.
- Image: `assets/step-2-tap-name.jpg`
3. In the basic information panel, copy the value shown next to `微信号`; this is the公众号 ID.
- Image: `assets/step-3-copy-account-id.jpg`
If the user is in a Markdown-capable interface, embed the images with relative paths or absolute copied paths as appropriate for that interface.
Gotchas
- Do not invent or guess a公众号 ID from the display name. Ask the user to copy it from the guide if it is missing.
- Keep the exact ID casing and characters unless trimming whitespace or extracting from a URL.
- Remote Markdown image previews from `open.weixin.qq.com` can fail in Agent chat surfaces. Download locally before embedding images.
- If local download fails because of network issues, still provide the URL and say the image could not be downloaded.
- This endpoint is for公众号 follow QR codes. Do not use it for mini programs, personal accounts, group chats, or enterprise accounts.
这是悟鸣公开维护的一组 Agent Skills,偏实战、偏工作流,主要服务于 AI 工具使用、文档解读、项目配置、运维排障与技能分发。 和“技能清单”相比,这个仓库更适合被理解成一张能力地图:每个 skill 不只是一个说明文件,而是围绕某一类任务组织起来的可复用能力单元。
Repo: chujianyun/skills
Other skills on chujianyun-skills.
agent-md-advisor
AGENTS.md / CLAUDE.md 最佳实践顾问。用于用户询问 agents markdown、AGENTS.md、CLAUDE.md、Claude Code memory、AI…
agent-optimizer
Agent 设计顾问与审查工具。基于 12-Factor AgentOps 最佳实践,用于:(1) 探讨 Agent 架构设计方案;(2) 审查现有…
alltuu-downloader
喔图(alltuu.com)云摄影相册批量下载工具。当用户需要从 alltuu.com / m.alltuu.com 相册批量下载原图时使用此技能。支持下载原图(6720x4480…
article-interpreter
文章解读助手。对用户提供的文章(URL、Markdown、PDF、粘贴文本)进行结构化解读,输出包含总览、关键要点、个人启发、批判性思考和延伸思考的 Markdown…

