by Jane-xiaoer
小耳公众号SVG:让公众号文章自己动起来。纯 SVG 动效长图 Agent Skill(Claude Code / Codex / Cursor),推草稿箱或粘贴台一键复制。By Xiaoer Omia
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/Jane-xiaoer/xiaoer-wx-svgGuides for using ai agents skills like xiaoer-wx-svg.
你(agent)要帮用户做一篇公众号 SVG 动效长图。仓库根目录就是本文件所在目录,下面的命令都在这里执行。
pip install -r requirements.txt
python3 -m playwright install chromium # 只用来出封面图和截帧检查;装不上也能生成文章
| 路 | 适合 | 怎么做 | 说明 |
|---|---|---|---|
| 套模板 | 产品介绍、工具、方法论、日常稿 | 照 motion/STORYBOARD.md 写分镜 JSON → python3 motion/make.py 分镜.json |
14 种场景、6 套配色,每屏 7–11 秒 |
| 等轴测旅程(3D) | 有先后的流程、路线、链路、几站串起来的故事 | 照 iso/README.md 写分镜 → python3 iso/iso_journey.py 分镜.json [--grow] |
Z 字公路串起 N 个 2.5D 小场景,光点沿路跑;结尾可以加「建议卡」和「工具墙」 |
| 带图片帧的产品故事(3D) | 对方网站上有 3D 模型或动画,或手上有作品图 / 渲染图(要 AppID 传图床) | 先读 docs/web-to-frames.md:tools/web_frames.py capture 从网站截帧 → compose 合成并自动分段 → 照 templates/storyboards/等轴测-小耳FM洗衣房.json 改分镜 → iso_journey.py --grow --speed 0.8 |
浪漫开场问一句、角色说话泡泡、产品真帧在动、作品一幅幅晾上绳子、点一下猜答案、结尾大网址。语气像聊天,站点上不写小字 |
| 品牌 VI 版 | 用户给了 VI 手册的品牌稿 | 先读 VI 的动态原则、禁用页、合规页,再用 iso/vikit.py 写一个专用脚本 |
磨砂玻璃立板、清晰窗由虚到实、标尺测量线、VI 字体转曲 |
| 片子改编(视频 → 长图) | 用户已经有一支做好的片子(动画短片、MV、品牌片),想让它在公众号里「打开就自己往下演」 | 先读 film/README.md,再按 film/docs/01–08 一步步做;工具在 film/kit/(python3 film/kit/starter.py 先跑通起步工程) |
人从第一场戏一路掉进一个个场景窗,窗里是片子的画面,窗外是白纸、发丝线和对白;主角色用定稿抠图做切件 / three.js 立体帧,不重画。这条路是写脚本,不是套模板 |
分镜一定从样例改:templates/storyboards/ 里找最像的一份复制过来改。每屏换什么场景、写什么字,按题材来定,别每篇都一个顺序。
docs/wechat-svg-rules.md。要点:没有 id、没有 fill-opacity 动画、没有 xlink:href、没有滤镜 / 渐变 / mask / clipPath / style / JS;互动只能「点一下揭开」。--push,会自动传图、换链接。没有 AppID 也可以照样做,本地 preview.html 能完整预览;但用粘贴台粘进公众号图会丢,开工前先跟用户说清楚,等他拿到 AppID 再推。motion/config.py),不要写进文件、日志或别的地方。open out/<名字>/preview.html # 浏览器里看,「重播」从头播
cat out/<名字>/timeline.json # 每屏 / 每站几秒开始
python3 tools/frames.py out/<名字>/preview.html out/<名字>/frames.png 7.6,0 13.6,1 21.8,2
frames.py 的参数是「秒,屏」:秒从 timeline.json 里取(想看第 N 屏画完的样子,填第 N+1 屏的开始秒数);屏按 1080×1920 一屏,从 0 数,可以写小数。等轴测是一张长图,「屏」不等于「站」,先截 0、1、2 看位置再调。--speed(0.85 = 快 15%,1.2 = 慢 20%)。A. 有 AppID:推草稿箱
python3 motion/config.py --set wx_appid 你的AppID --set wx_secret 你的AppSecret # 只存本机,权限 600
python3 motion/make.py 分镜.json --push # 等轴测:python3 iso/iso_journey.py 分镜.json --push
第一次推会提示「IP 不在白名单」:让用户去公众号后台 → 设置与开发 → 开发接口管理 → IP 白名单,加上报错里的那个 IP。 推完会打印「本地 / 草稿」标签数对照表,数字不一致就说明被删了,要告诉用户。 然后告诉用户:草稿箱里有了,用「预览」发到手机看,满意再自己群发。
B. 没有 AppID:粘贴台
python3 tools/paste.py out/<名字>/article.html
会在浏览器打开 https://svg.xiaoeromia.com/paste/ 。文章放在网址 # 后面,不会上传。
没有图形界面(服务器、远程环境)就加 --print 只打印链接,链接很长:存成文件交给用户,或者让用户打开粘贴台、把 out/<名字>/article.html 拖进去。告诉用户:
out/<名字>/cover.jpg),点「预览」发到手机检查,再群发motion/scenes_extra.py 写 def 场景(d, y, t, th) -> (片段列表, 秒数),注册进 SCENES,再在 motion/STORYBOARD.md 补字段表。iso/models.py 加一个函数,注册进 MODELS(写法见 iso/README.md:先画后面再画前面,面上内容用 deco_*)。模板和粘贴台都在更新:git pull 就能拿到新模板。模板演示见 https://svg.xiaoeromia.com
See how xiaoer-wx-svg compares with popular alternatives.
让公众号文章自己动起来。 纯 SVG 动效长图:往下拉,一屏屏长出来。线稿自己画、数字滚动、等轴测 3D 小场景一块块拼好、品牌照片从磨砂到清晰。没有视频、没有 GIF、没有一行代码在跑,公众号原生支持。
👉 演示和模板:https://svg.xiaoeromia.com · 粘贴台:https://svg.xiaoeromia.com/paste/
由 Xiaoer Omia 出品。
这个仓库本身就是一个 Agent Skill(入口 SKILL.md),Claude Code、Codex、Cursor 这类 agent 都能直接用。
# Claude Code
git clone https://github.com/Jane-xiaoer/xiaoer-wx-svg ~/.claude/skills/xiaoer-wx-svg
# 其他 agent:clone 到任意位置,让它先读 SKILL.md
然后跟 agent 说:
用 xiaoer-wx-svg 给我做一篇公众号 SVG 动效长图,题材是:,资料在:
agent 会问你题材、资料、选哪种形式,生成后自己截帧检查,把文中每一条事实列出来让你确认,最后:
发布永远由你自己点。
| 适合 | 入口 | |
|---|---|---|
| 套模板 | 产品介绍、工具、方法论、日常稿 | motion/make.py + motion/STORYBOARD.md(14 种场景、6 套配色) |
| 等轴测旅程(3D) | 流程、路线、链路、几站串起来的故事 | iso/iso_journey.py + iso/README.md |
| 品牌 VI 版 | 甲方给了 VI 的品牌稿 | iso/vikit.py(磨砂玻璃立板、清晰窗由虚到实、标尺测量线、VI 字体转曲) |
| 片子改编(视频 → 长图) | 已经有一支成片,想让它在公众号里打开就自己往下演 | film/README.md:七步流程 + 八份分步文档 + 自带工具包(film/kit/starter.py 不要素材就能跑通)。成品在线看 |
分镜样例在 templates/storyboards/,找最像的一份改。
pip install -r requirements.txt
python3 -m playwright install chromium # 可选:封面图和截帧
python3 motion/make.py templates/storyboards/方法论-番茄工作法.json # → out/方法论-番茄工作法/preview.html
python3 iso/iso_journey.py templates/storyboards/等轴测-小耳的四台电脑.json
python3 iso/iso_journey.py templates/storyboards/等轴测-小耳FM洗衣房.json --grow --speed 0.8 # 带真图片帧的产品故事
python3 tools/paste.py out/方法论-番茄工作法/article.html # 打开粘贴台,一键复制
# 推进你自己的草稿箱
python3 motion/config.py --set wx_appid 你的AppID --set wx_secret 你的AppSecret
python3 motion/make.py 分镜.json --push
推送需要把你电脑的公网 IP 加进公众号后台的 IP 白名单(第一次推会提示是哪个 IP)。
docs/wechat-svg-rules.md:所有 id、fill-opacity 动画、xlink:href、滤镜、渐变、mask、clipPath、style、JS 都会被删;插音频整篇拒收;animate、animateTransform、点击触发、微信图床图片会保留……每一条都是推进草稿箱、再拉回来逐个标签比对出来的。
motion/scenes_extra.py,注册进 SCENES,补 motion/STORYBOARD.mdiso/models.py,注册进 MODELSgit pull 就能拿到。代码 MIT。示例分镜文案 © Jane-xiaoer,见 NOTICE.md。
English: Animated, pure-SVG long-form posts for WeChat Official Accounts. Content grows screen by screen as readers scroll: self-drawing line art, counters, isometric 3D scenes. No video, no JS. Ships as an Agent Skill (SKILL.md) for Claude Code / Codex / Cursor. Push to your own WeChat draft box, or copy with one click via the paste station at https://svg.xiaoeromia.com/paste/. Includes a tested list of what WeChat strips from SVG. Made by Xiaoer Omia. MIT.
xiaoer-wx-svg is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Jane-xiaoer. 小耳公众号SVG:让公众号文章自己动起来。纯 SVG 动效长图 Agent Skill(Claude Code / Codex / Cursor),推草稿箱或粘贴台一键复制。By Xiaoer Omia. It has 132 GitHub stars.
xiaoer-wx-svg's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Jane-xiaoer/xiaoer-wx-svg" and add it to your Claude Code skills directory (see the Installation section above). xiaoer-wx-svg ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
xiaoer-wx-svg is primarily written in Python. It is open-source under Jane-xiaoer on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh xiaoer-wx-svg against similar tools.
No comments yet. Be the first to share your thoughts!