Eileenes/creative-skills / skills/promo-video-director
promo-video-director
Verified根据账号链接、网站地址或参考视频,引导并完成体素吉祥物宣传片的资料收集、平台适配、角色调整、关键帧预览、渲染和交付。支持 X、小红书、微信公众号及产品官网的 19 秒模板,也支持基于该模板的定制;适用于账号宣传片、鲸鱼同款视频和吉祥物点按界面动效。
assets/promo-kit/fetch_wechat_profile.py
View on GitHub"""公众号资料 ← 任意一篇该号的公开文章链接 (mp.weixin.qq.com/s/...). No browser needed.
usage: python3 fetch_wechat_profile.py "<article url>" > profile.json
公众号没有公开粉丝数:articles / followers 留空时片子里不显示统计;用户给了数字就手动填进 profile.json。"""
import html, json, re, subprocess, sys
u = sys.argv[1]
t = subprocess.run(["curl", "-sL", "--compressed", "--max-time", "60", "-A", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 Chrome/120 Safari/537.36", u],
capture_output=True).stdout.decode("utf-8", "ignore")
def v(name):
m = re.search(r'(?:var\s+)?\b' + name + r'\s*=\s*(?:htmlDecode\()?["\']([^"\']*)["\']', t)
return html.unescape(m.group(1)) if m else ""
nick = v("nickname")
if not nick: sys.exit("未解析到公众号信息(可能是验证页/链接失效),请让用户换一篇文章链接或直接提供资料")
avatar = (v("round_head_img") or v("hd_head_img") or v("ori_head_img_url")).replace("http://", "https://")
sig = v("profile_signature")
print(json.dumps({"platform": "wechat", "name": nick, "id": v("alias") or v("user_name"), "bio": [sig] if sig else [],
"articles": None, "followers": None, "avatar": avatar, "banner": "", "lastArticle": v("msg_title")}, ensure_ascii=False, indent=1))
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |