Agent skill

Ray Wechat

by imraywang in imraywang/rayskills

把已经定稿的中文长文排成适合手机浏览的微信公众号富文本,生成可复制预览,在用户明确要求写入草稿箱后创建或更新公众号草稿,并回读核对标题、封面、正文、空段落、署名和中文编码。用于“给公众号重新排版”“把这篇推到微信公众号草稿箱”“更新已有微信草稿”“公众号排版太单调或有多余空行”“恢复失败的草稿更新”时。优先更新文章 frontmatter…

Custom licenceAuto-check passedProductivity & Automation

Install Ray Wechat

skills CLI
$ npx skills add imraywang/rayskills --skill ray-wechat -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install imraywang/rayskills ray-wechat --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/imraywang/rayskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ray-wechat .claude/skills/ray-wechat && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ray-wechat
GitHub stars
159
Token cost
~1.7k tokens
SKILL.md length
312 words
Files
13 (incl. scripts, references)
Skills in repo
12
Repo updated
First seen
Licence
Custom licence

At a glance

把已经定稿的中文长文排成适合手机浏览的微信公众号富文本,生成可复制预览,在用户明确要求写入草稿箱后创建或更新公众号草稿,并回读核对标题、封面、正文、空段落、署名和中文编码。用于“给公众号重新排版”“把这篇推到微信公众号草稿箱”“更新已有微信草稿”“公众号排版太单调或有多余空行”“恢复失败的草稿更新”时。优先更新文章 frontmatter…

  • Works in 6 steps: 先判定授权 → 读取当前状态 → 生成排版与预览 → …
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers 固定边界, 0. 先判定授权, 1. 读取当前状态 and 2. 生成排版与预览, plus 5 more sections
  • Runs Python scripts from its folder; calls python3; needs WECHAT_SECRET

What it does

Ray Wechat is an agent skill from imraywang/rayskills. 把已经定稿的中文长文排成适合手机浏览的微信公众号富文本,生成可复制预览,在用户明确要求写入草稿箱后创建或更新公众号草稿,并回读核对标题、封面、正文、空段落、署名和中文编码。用于“给公众号重新排版”“把这篇推到微信公众号草稿箱”“更新已有微信草稿”“公众号排版太单调或有多余空行”“恢复失败的草稿更新”时。优先更新文章 frontmatter 记录的原草稿,不制造同题重复草稿;“进入下一阶段”“推送到微信”“发布到两个平台”等含糊说法先只做本地预览,再用一句话确认是否写入草稿箱;本 Skill 不发布或群发文章。

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including scripts and reference files (for example `agents/openai.yaml`, `evals/evals.json` and `references/layout-contract.md`).

It sits in Productivity & Automation, covering Messaging and chat bots. It works with WeChat. The repository describes itself as: 面向 AI Builder 的实战 Skill 工具箱:10 个可执行、可验证、可恢复的工作流,/ray 路由 + 内容生产管线直达公众号与 X Articles 草稿箱,支持 Claude Code、Codex 与 WorkBuddy。

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “给公众号重新排版”
  • “把这篇推到微信公众号草稿箱”
  • “更新已有微信草稿”
  • “/ray-wechat”

Requirements

  • Python 3
  • A credential in WECHAT_SECRET

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. 先判定授权
  2. 读取当前状态
  3. 生成排版与预览
  4. 本地交付门
  5. 创建或更新草稿
  6. 最终验收

What it can do on your machine

Read from SKILL.md and the folder at commit 2ad2449. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • WECHAT_SECRET

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ray Wechat loads about 1.7k tokens when it runs, and up to ~6.6k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 312 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 312 words (~1,699 tokens).

name
ray-wechat

Read the full SKILL.md on GitHub

Files

SKILL.md and 12 other files (scripts, references) in skills/ray-wechat of imraywang/rayskills.

  • SKILL.md
  • agents/openai.yaml
  • evals/evals.json
  • references/layout-contract.md
  • references/ray-themes.json
  • references/recovery-runbook.md
  • references/theme-library.md
  • references/wechat-api.md
  • scripts/prepare_article.py
  • scripts/render_article.py
  • scripts/wechat_draft.py
  • scripts/wechat_egress.py
  • scripts/wechat_images.py

Open the folder on GitHubat commit 2ad2449

Compare with similar skills

Ray Wechat next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ray Wechat compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ray Wechat this skillimraywang/rayskills159—~1.7kAutomated safety check: PassCustom licence
She Love Me863401402/she-love-me9251 repos~1.3kAutomated safety check: PassMIT
Wechat Article Extractorfreestylefly/wechat-article-extractor-skill1361 repos~1kAutomated safety check: PassNone
Wechat Miniprogram Builderchenjin-cmd/wechat-miniprogram-builder355—~634Automated safety check: PassMIT
Skill Wechat PublisherZJU-REAL/Easel3.3k—~1.8kAutomated safety check: PassApache-2.0
Wechat Mp Writerth3ee9ine/wechat-claw-skill206—~1.4kAutomated safety check: PassMIT

Similar skills

  • She Love Me

    863401402/she-love-me

    Acquire, import, and analyze WeChat or QQ chat histories, including installing supported exporters, guiding required login or contact selection, converting exports, assessing relationship dynamics…

    925 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check passed
  • Wechat Article Extractor

    freestylefly/wechat-article-extractor-skill

    Extract metadata and content from WeChat Official Account articles.

    136 GitHub starsUsed in 1 repo~1k tokens
    Productivity & AutomationAuto-check passed
  • Wechat Miniprogram Builder

    chenjin-cmd/wechat-miniprogram-builder

    This skill should be used when the user wants to build, launch, monetize, or promote a WeChat mini-program with AI (vibe coding) — including topic selection, account registration & ICP filing…

    355 GitHub stars~634 tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • 微信公众号文章自动创作与发布工具。给定参考文章、文字或文档,自动搜索整理全网相关信息、生成图文并茂的公众号文章,并发布到微信公众号草稿箱。特别强调反 AI 检测写作。

    3.3k GitHub stars~1.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Wechat Mp Writer

    th3ee9ine/wechat-claw-skill

    微信公众号文章全自动写作与发布。从信息搜集、AI配图规划、报刊级 HTML 排版、到草稿创建和发布的完整流程。适用于 AI 日报、财经周报、深度分析、新闻资讯类文章。内置多种模板,并提供本地渲染、校验、图片规划和发布流水线脚本。

    206 GitHub stars~1.4k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Qiaomu Wx Video

    joeseesun/qiaomu-wx-video

    Qiaomu skill and workflow for downloading a WeChat Channels / 视频号 video or generated live replay when the user provides a weixin.qq.com/sph share link.

    135 GitHub stars~751 tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed

More from imraywang/rayskills

All 12 skills in this repo
  • Ray Trend Search

    imraywang/rayskills

    Researches what people are saying about a topic over a recent window across X, Reddit, YouTube and the public web, reporting each source's status with links.

    159 GitHub stars~2.1k tokensUpdated 16 days ago
    Auto-check passed
  • Ray Obsidian Vault Setup

    imraywang/rayskills

    Sets up, audits or incrementally upgrades a local Obsidian vault for knowledge work and content production, without overwriting or moving existing notes.

    159 GitHub stars~625 tokensUpdated 16 days ago
    Auto-check passed
  • Collage B-Roll Video Maker

    imraywang/rayskills

    Turns a spoken line or a full topic into editorial-collage videos of halftone cut-outs assembled piece by piece, as 5-second B-roll or a narrated explainer.

    159 GitHub stars~2.6k tokensUpdated 16 days ago
    Auto-check passed
  • Ray Cover

    imraywang/rayskills

    把已经确定核心判断的文章、成稿包或长文转成公众号、普通 X 分享图与 X Articles 后台封面。提炼一个可一眼读懂的视觉隐喻,按各平台目标尺寸分别使用 Image 2 一次生成画面和准确中文标题;不生成无字底图,不单独排版文字。主要验收隐喻、标题内容、构图、安全区和缩略图可读性。用于“给这篇文章做封面”“公众号和 X 都要封面”“做 5:2 Article 封面”“用 Adrian 或…

    159 GitHub stars~826 tokensUpdated 16 days ago
    Auto-check passed
  • Generates text-free article cover images in one fixed engraving style, with a quiet central gap and matching left-right scenes, for a publication, X post and X Article size.

    159 GitHub stars~599 tokensUpdated 16 days ago
    Auto-check passed
  • Ray Kb

    imraywang/rayskills

    把灵感、现场观察或长文变成 Ray 能直接开机录制的中文口播:原生快速口播只保留一份母稿;长文再分发则绑定母稿路径与内容指纹。表达先行——以 Ray 本人口吻把观点和情绪说满,拿不准或编补的内容列进「待确认」由 Ray 决定。也按“停下、听下去、记住、传播”四关审读口播,或对照生成稿与 Ray…

    159 GitHub stars~620 tokensUpdated 16 days ago
    Auto-check passed

Works with

Questions about Ray Wechat

What does Ray Wechat do?

把已经定稿的中文长文排成适合手机浏览的微信公众号富文本,生成可复制预览,在用户明确要求写入草稿箱后创建或更新公众号草稿,并回读核对标题、封面、正文、空段落、署名和中文编码。用于“给公众号重新排版”“把这篇推到微信公众号草稿箱”“更新已有微信草稿”“公众号排版太单调或有多余空行”“恢复失败的草稿更新”时。优先更新文章 frontmatter…. Ray Wechat is an agent skill from imraywang/rayskills.

When should I use Ray Wechat?

Ray Wechat fits situations like: tasks that involve Messaging and chat bots.

How do I install Ray Wechat in Claude Code?

Run `npx skills add imraywang/rayskills --skill ray-wechat -a claude-code`. Or copy the skill folder (skills/ray-wechat in imraywang/rayskills) into .claude/skills/ray-wechat in your project. Claude Code loads it when a task matches its description.

How do I install Ray Wechat in Codex?

Run `npx skills add imraywang/rayskills --skill ray-wechat -a codex`. Or copy the skill folder (skills/ray-wechat in imraywang/rayskills) into .agents/skills/ray-wechat in your project. Codex loads it when a task matches its description.

Can I use Ray Wechat in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add imraywang/rayskills --skill ray-wechat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ray-wechat, .gemini/skills/ray-wechat, .github/skills/ray-wechat and .opencode/skills/ray-wechat in your project.

What does Ray Wechat need to run?

Going by SKILL.md and its folder, Ray Wechat needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named WECHAT_SECRET. Our summary lists: Python 3; A credential in WECHAT_SECRET.

Does Ray Wechat access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ray Wechat safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Ray Wechat use?

Ray Wechat has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Ray Wechat use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.9k tokens, read only when the agent opens those files.

What are the alternatives to Ray Wechat?

Skills that share tags, products or a category with Ray Wechat: She Love Me (863401402/she-love-me, 925 stars), Wechat Article Extractor (freestylefly/wechat-article-extractor-skill, 136 stars), Wechat Miniprogram Builder (chenjin-cmd/wechat-miniprogram-builder, 355 stars) and Skill Wechat Publisher (ZJU-REAL/Easel, 3.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ray Wechat?

imraywang (a GitHub user) maintains it in imraywang/rayskills, which has 159 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on September 23, 2026.

Source: imraywang/rayskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.