WeChat Service Account One-Click Deployment
Paste the following prompt into your AI chat to install this skill:
Please install @user_f12a44b7/self-dev-wechat-service-account-deploy according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Connecting a WeChat Service Account to an LLM support backend is often harder than the model call itself. The practical blockers include server verification, token refresh, multi-type message handling, menu synchronization, OAuth2, template messages, and reverse-proxy configuration. This skill targets a public cloud VM that already has a public IP, a domain, and WeChat AppID / AppSecret credentials, and turns the production backend deployment into a structured set of repeatable steps.
How It Works and Limits
The workflow covers environment setup, core code generation, Nginx configuration, systemd service definition, startup verification, and WeChat platform configuration. The generated backend handles GET /wechat signature verification, text, image, voice, video, location, link, and event payloads, and integrates Hermes-powered LLM replies, custom menus, OAuth2 login, template message push, and a web admin dashboard. The source also flags operational constraints: the domain must resolve to the server's public IP, SSL should use a proper CA certificate such as Let's Encrypt, and .env secrets should be appended via terminal commands to avoid content-redaction corruption. It also calls out specific fixes such as extra="ignore" for pydantic_settings and explicit handling of wechatpy signature exceptions. This is useful for building an operable WeChat AI backend, but it is not a fit for environments without public reachability, completed domain registration, or Service Account permissions.
Use Cases
- A Ubuntu VM and domain are ready, and the task is to connect WeChat messages to Hermes LLM and launch a verified backend.
- Configure /wechat signature verification, token refresh, multi-type message routing, and sync custom menus to WeChat.
- Prepare Nginx, systemd, and HTTPS before setting the Service Account URL, Token, and IP whitelist in mp.weixin.qq.com.
- Ship WeChat OAuth2 login and template message push, then inspect users, messages, and menus in the admin dashboard.
Best For
- Indie developers with a public IP, domain, and Service Account credentials who need a quick AI support backend.
- IT engineers owning enterprise WeChat operations who need HTTPS, message routing, and an admin dashboard deployment.
- Application owners who need to connect Hermes Agent to WeChat template messages and API endpoints.
- Ops on-call engineers who need to handle Nginx, systemd, port conflicts, and Let's Encrypt certificate setup.
Related Skills
For independent developers, automates Git weekly reports, prioritized bug tickets, and project health checks into shareable Markdown.
Scan Windows caches, temporary files, and junk files, show space usage and risk levels, and clean selected items to free disk space.
Covers Jenkins, GitHub, and automation-related wrap workflows for IT operations and security.
A wrapper-style tool around Logstash for automation and GitHub-related workflows.