Wechat Official Account Qr logo

Wechat Official Account Qr

Community
chujianyun
wechat-official-account-qr

微信公众号关注二维码生成助手。当用户要根据公众号 ID、微信号、原始 ID 或 `gh_...` 生成公众号二维码、下载成本地图片并在 Agent/Codex 聊天里显示,或不知道如何在微信里找到公众号 ID、需要操作引导图时使用此技能。只适用于微信公众号二维码,不用于小程序码、个人微信二维码或企业微信二维码。

Overview

Publisherchujianyun
Repositoryskills
Skill namewechat-official-account-qr
Stars
743
Forks
103
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by chujianyun on GitHub. Read the source before you install it.

Installation

Install the Wechat Official Account Qr AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chujianyun/skills/tree/main/skills/wechat-official-account-qr
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chujianyun/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/wechat-official-account-qr .claude/skills/wechat-official-account-qr
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wechat Official Account Qr in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Wechat Official Account Qr on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Wechat Official Account Qr is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

微信公众号二维码

Overview

根据微信公众号 ID 生成关注二维码链接,并在用户没有提供 ID 时,用内置引导图帮助用户在微信中找到公众号 ID。

二维码规则:

text
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:

bash
python3 <skill_dir>/scripts/generate_qr.py gh_11eec77a7c51 \
  --download \
  --output ~/Downloads/wechat-qrcodes/gh_11eec77a7c51.jpg

Example output:

markdown
公众号ID:gh_11eec77a7c51
二维码链接:https://open.weixin.qq.com/qr/code?username=gh_11eec77a7c51
本地图片:/Users/example/Downloads/wechat-qrcodes/gh_11eec77a7c51.jpg

![微信公众号二维码](/Users/example/Downloads/wechat-qrcodes/gh_11eec77a7c51.jpg)

If the user only wants the URL and does not need an image preview, omit --download:

bash
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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Wechat Official Account Qr AI skill do?

微信公众号关注二维码生成助手。当用户要根据公众号 ID、微信号、原始 ID 或 `gh_...` 生成公众号二维码、下载成本地图片并在 Agent/Codex 聊天里显示,或不知道如何在微信里找到公众号 ID、需要操作引导图时使用此技能。只适用于微信公众号二维码,不用于小程序码、个人微信二维码或企业微信二维码。

Why use Wechat Official Account Qr on TypingMind?

Because you install it once and use it with any model. Wechat Official Account Qr is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Wechat Official Account Qr in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chujianyun/skills/tree/main/skills/wechat-official-account-qr. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Wechat Official Account Qr?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Wechat Official Account Qr?

As many as you like. As long as a model supports skills, you can use Wechat Official Account Qr with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Wechat Official Account Qr AI skill free?

It is published on GitHub by chujianyun. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇