Skip to content

Eileenes/creative-skills / skills/x-profile-3d-video

x-profile-3d-video

Verified

用 X(Twitter) 主页真实截图 + Remotion 代码动画,制作 30 秒竖屏 3D 风格个人介绍短片(主页平板翻转、头像弹出、置顶帖立起+浏览量滚动、撕纸拼贴墙、X Logo 收尾卡),自动合成配乐音效。当用户想“用我的 X 主页做一个类似的 3D 介绍视频/宣传片”时使用。

scripts/chroma_key.py

View on GitHub
# 绿幕抠图:python3 chroma_key.py in.jpg out.png
import sys, cv2, numpy as np
im = cv2.imread(sys.argv[1]).astype(np.float32)
b, g, r = im[..., 0], im[..., 1], im[..., 2]
d = g - np.maximum(r, b)                       # 绿色程度
a = 1 - np.clip((d - 25) / 60, 0, 1)           # 透明度
a = cv2.GaussianBlur(a, (3, 3), 0)
im[..., 1] = np.where(d > 0, np.minimum(g, np.maximum(r, b) + 10), g)  # 去绿边
out = np.dstack([im, a * 255]).astype(np.uint8)
ys, xs = np.where(a > 0.5)
out = out[max(0, ys.min() - 6):ys.max() + 6, max(0, xs.min() - 6):xs.max() + 6]
cv2.imwrite(sys.argv[2], out)
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