Skip to content

Eileenes/creative-skills / skills/promo-video-director

promo-video-director

Verified

根据账号链接、网站地址或参考视频,引导并完成体素吉祥物宣传片的资料收集、平台适配、角色调整、关键帧预览、渲染和交付。支持 X、小红书、微信公众号及产品官网的 19 秒模板,也支持基于该模板的定制;适用于账号宣传片、鲸鱼同款视频和吉祥物点按界面动效。

assets/promo-kit/fetch_xhs_profile.sh

View on GitHub
#!/usr/bin/env bash
# Read a 小红书 profile (share link from the app: 个人主页 → 分享 → 复制链接) with agent-browser → JSON for init_config.py.
# Logged-out pages often hit a login wall; then ask the user for name / 小红书号 / bio / counts / avatar instead.
# Run through bash with browser:true and a named AGENT_BROWSER_SESSION.  usage: bash fetch_xhs_profile.sh "<profile url>" > profile.json
set -euo pipefail
U="$1"
agent-browser open "$U" >/dev/null; agent-browser wait 6000 >/dev/null
agent-browser eval "(() => {
  const st = window.__INITIAL_STATE__ || {}, ud = (st.user && (st.user.userPageData?._value || st.user.userPageData)) || {};
  const bi = ud.basicInfo || {}, it = ud.interactions || [];
  const n = t => (it.find(x => x.type === t) || {}).count;
  const L = document.body.innerText.split('\n').map(s => s.trim()).filter(Boolean);
  const pick = re => (L.find(s => re.test(s)) || '');
  const num = w => { const s = L.find(x => new RegExp('^[\\\\d.万千+]+\\\\s*' + w + '\$').test(x)) || ''; return s.replace(w, '').trim(); };
  return JSON.stringify({ platform: 'xhs',
    name: bi.nickname || (document.title || '').replace(/ - 小红书\$/, ''),
    id: bi.redId || pick(/^小红书号/).replace(/^小红书号[::]\s*/, ''),
    bio: (bi.desc || '').split('\n').filter(Boolean),
    ip: bi.ipLocation || pick(/^IP属地/).replace(/^IP属地[::]\s*/, ''),
    following: n('follows') ?? num('关注'), followers: n('fans') ?? num('粉丝'), likes: n('interaction') ?? num('获赞与收藏'),
    avatar: bi.imageb || bi.images || ([...document.images].map(i => i.src).find(s => /sns-avatar/.test(s)) || ''),
    banner: '', loginWall: /登录后推荐更懂你的笔记|手机号登录/.test(document.body.innerText) && !bi.nickname }, null, 1); })()" | python3 -c "
import sys,json; d=json.loads(json.loads(sys.stdin.read()))
for k in ('following','followers','likes'):
    v=str(d[k] or '').replace(',','')
    d[k]=int(v) if v.isdigit() else v
print(json.dumps(d,ensure_ascii=False,indent=1))"
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall