Skip to content

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

promo-video-director

Verified

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

assets/promo-kit/fetch_x_profile.sh

View on GitHub
#!/usr/bin/env bash
# Read a public X profile with agent-browser and print JSON for config.json
# (name, verified, bio lines, link, joined, following, followers, avatar, banner).
# Works logged-out (X renders without data-testid then) and logged-in.
# Run through bash with browser:true and a named AGENT_BROWSER_SESSION.  usage: bash fetch_x_profile.sh <handle> > profile.json
set -euo pipefail
H="${1#@}"
agent-browser open "https://x.com/$H" >/dev/null; agent-browser wait 6000 >/dev/null
agent-browser eval "(() => {
  const H = '$H', L = document.body.innerText.split('\n').map(s => s.trim()).filter(Boolean);
  const iH = L.findIndex(s => s.toLowerCase() === '@' + H.toLowerCase());
  const iJ = L.findIndex((s, i) => i > iH && /^Joined /.test(s));
  const name = (document.querySelector('h1')?.innerText || L[iH - 1] || H).trim();
  let mid = iH >= 0 && iJ > iH ? L.slice(iH + 1, iJ) : [];
  mid = mid.filter(s => !/^(Show translation|Translate bio|Follows you)$/.test(s));
  let link = '';
  if (mid.length && /^[^\s]+\.[a-z]{2,}(\/\S*)?$/i.test(mid[mid.length - 1])) link = mid.pop();
  const cnt = w => { const s = L.find(x => new RegExp('^[\\\\d.,]+[KM]? ' + w + '\$').test(x)); if (!s) return null; const v = s.split(' ')[0]; return /^[\\\\d,]+\$/.test(v) ? +v.replace(/,/g, '') : v; };
  let verified = false, e = document.querySelector('h1');
  for (let k = 0; e && k < 5 && !verified; k++, e = e.parentElement) verified = !!e.querySelector('[aria-label=\"Verified account\"], [data-testid=\"icon-verified\"]');
  const imgs = [...document.images].map(i => i.src);
  return JSON.stringify({ handle: H, name, verified, bio: mid, link, joined: iJ > 0 ? L[iJ] : '',
    following: cnt('Following'), followers: cnt('Followers'),
    avatar: (imgs.find(s => s.includes('profile_images')) || '').replace(/_(normal|bigger|200x200|x96)\./, '_400x400.'),
    banner: imgs.find(s => s.includes('profile_banners')) || '' }, null, 1); })()" | python3 -c "
import sys,json; d=json.loads(json.loads(sys.stdin.read()))
for k in ('following','followers'):
    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