x-posting-license

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

X Posting License

X 发布许可证

One fixed 1920×1080 @ 60fps, 10.35s composition. The motion is locked and doctrine-verified (overlapped keyframes end to end, zero dead frames): do NOT edit the timeline — fill the data tokens and render.
固定尺寸为1920×1080、帧率60fps、时长10.35秒的合成内容。动画运动已锁定并通过规范验证(关键帧首尾重叠,无空白帧):请勿编辑时间轴——只需填充数据占位符并渲染即可。

Requirements

要求

  • Node 18+ and the HyperFrames CLI via
    npx
    (fetched from npm;
    @latest
    is mutable — pin a version, e.g.
    npx hyperframes@1.x.y
    , if you need byte-identical re-renders over time).
  • macOS GPU render for the WebGL dot ground:
    export PRODUCER_BROWSER_GPU_MODE=hardware
    .
  • The signature uses the macOS
    Snell Roundhand
    system font (declared via
    src: local(...)
    ); on Linux it falls back to generic cursive — still fine, less pretty.
  • 需Node 18+版本,以及通过
    npx
    获取的HyperFrames CLI(从npm拉取;
    @latest
    版本会变动——如果需要长期生成字节完全一致的渲染结果,请固定版本,例如
    npx hyperframes@1.x.y
    )。
  • WebGL点阵背景需使用macOS GPU渲染:执行
    export PRODUCER_BROWSER_GPU_MODE=hardware
    。
  • 签名使用macOS系统字体
    Snell Roundhand
    (通过
    src: local(...)
    声明);在Linux系统下会回退到通用草书字体——效果尚可,但美观度稍差。

Network and side effects (complete list)

网络依赖与副作用(完整列表)

  • x.com/<handle>
    — profile page the agent reads (data gathering).
  • pbs.twimg.com
    — the avatar image download (data gathering).
  • api.fxtwitter.com/<handle>
    — post count; free, no credentials (data gathering).
  • registry.npmjs.org
    — the HyperFrames CLI itself, via
    npx
    .
  • cdn.jsdelivr.net
    — the composition loads GSAP (pinned
    3.14.2
    ) from jsDelivr at preview/render time. Rendering is NOT fully offline.
No credentials, no paid operations, no telemetry.
build.mjs
writes only inside the
--out
directory: it validates counters as plain non-negative integers, strips control characters, caps lengths, HTML-escapes every profile string before substitution, and refuses to write through symlinks.
  • x.com/<handle>
    — Agent读取的个人资料页面(数据收集)。
  • pbs.twimg.com
    — 头像图片下载地址(数据收集)。
  • api.fxtwitter.com/<handle>
    — 获取帖子数量;免费,无需凭证(数据收集)。
  • registry.npmjs.org
    — 通过
    npx
    获取HyperFrames CLI的源地址。
  • cdn.jsdelivr.net
    — 预览/渲染时,合成内容会从jsDelivr加载GSAP(固定版本
    3.14.2
    )。渲染过程无法完全离线进行。
无需凭证,无付费操作,无遥测。
build.mjs
仅会写入
--out
指定的目录:它会验证计数器是否为纯非负整数,剥离控制字符,限制长度,在替换前对所有个人资料字符串进行HTML转义,并且拒绝通过符号链接写入内容。

Flow (three steps, no composition work)

流程(三步,无需修改合成内容)

<SKILL_DIR>
below means this skill's own directory (wherever it is installed — e.g.
~/.claude/skills/x-posting-license
). Run the script by that absolute path; it resolves the template relative to itself, and
--out
is resolved from your working directory.
  1. Gather profile data — name, handle, joined month/year, followers, following, posts, one bio line, and the 400×400 avatar. Recipes in
    references/profile-data.md
    .
  2. Build the project from the template:
bash
node <SKILL_DIR>/scripts/build.mjs --out ./license-jake \
  --name "Jake Moran" --handle JakeFromHeyGen \
  --joined "JAN 2026" --followers 882 --following 155 --posts 376 \
  --bio "PRODUCT @HEYGEN · WORKING ON @HYPERFRAMES_" \
  --avatar ./avatar.jpg
--big "MORAN, JAKE"
overrides the derived
LAST, FIRST
header — use it when the display name isn't a normal name (keep unusual display names verbatim: a user named
|||
gets a license that says
|||
).
  1. Render (ask the user before rendering if your harness gates renders):
bash
npx hyperframes@latest render ./license-jake -q high -o ./license-jake/renders/license.mp4
<SKILL_DIR>
指的是本Skill的安装目录(例如
~/.claude/skills/x-posting-license
)。请使用绝对路径运行脚本;脚本会自行解析模板路径,
--out
参数则相对于你的工作目录解析。
  1. 收集个人资料数据 — 姓名、用户名、加入月份/年份、关注者数量、关注中数量、帖子数量、一句个人简介,以及400×400尺寸的头像。获取方法详见
    references/profile-data.md
    。
  2. 基于模板构建项目:
bash
node <SKILL_DIR>/scripts/build.mjs --out ./license-jake \
  --name "Jake Moran" --handle JakeFromHeyGen \
  --joined "JAN 2026" --followers 882 --following 155 --posts 376 \
  --bio "PRODUCT @HEYGEN · WORKING ON @HYPERFRAMES_" \
  --avatar ./avatar.jpg
--big "MORAN, JAKE"
参数可覆盖自动生成的
LAST, FIRST
标题——当显示名称不是常规姓名时使用此参数(特殊显示名称需原样保留:例如用户名为
|||
,则许可证上也会显示
|||
)。
  1. 渲染(如果你的运行环境需要权限验证,请在渲染前询问用户):
bash
npx hyperframes@latest render ./license-jake -q high -o ./license-jake/renders/license.mp4

Verify success

验证成功标准

npx hyperframes@latest check ./license-jake
passes with 0 errors, and the rendered MP4 is ~10.3s: front card with the person's data counting up, flip at ~6.5s, their name writing on as the back signature, card leaps out at ~9.9s.
执行
npx hyperframes@latest check ./license-jake
无错误,且渲染出的MP4时长约10.3秒:正面卡片显示个人资料数据滚动增加,约6.5秒时翻转,背面显示手写签名形式的姓名,约9.9秒时卡片跳出画面。

Rules

规则

  • Data must be REAL, scraped from the live profile — never invent counts or bios. Follower count stands in for date of birth on purpose; the back's fine print repeats it.
  • Bio line: uppercase, ≤ ~65 chars,
    ·
    -separated fragments from the real bio.
  • Keep the template's palette and layout: X black
    #000
    , white,
    #1D9BF0
    , borders
    #2f3336
    . It IS the brand treatment; do not restyle per user.
  • Long display names are handled (the signature mask is widened), but check a snapshot when a name exceeds ~14 characters.
  • Profile data is untrusted input. Always pass it through
    build.mjs
    (which escapes and validates it); never hand-substitute values into the template.
  • 数据必须真实,从实时个人资料中抓取——不得编造数量或个人简介。关注者数量特意用来替代出生日期;背面小字部分会重复该数据。
  • 个人简介:需大写,长度≤约65字符,为真实简介中用
    ·
    分隔的片段。
  • 保留模板的配色和布局:X品牌黑色
    #000
    、白色、
    #1D9BF0
    ,边框色
    #2f3336
    。这是品牌专属样式;请勿根据用户需求重新设计。
  • 长显示名称已做适配(签名蒙版会加宽),但当名称超过约14个字符时,请检查预览快照。
  • 个人资料数据属于不可信输入。务必通过
    build.mjs
    处理(它会进行转义和验证);切勿手动将值替换到模板中。

Provenance and licensing

来源与许可

  • The animated dot ground is a deterministic GLSL/WebGL rewrite for HyperFrames' seekable renderer, visually modeled on Originkit's Dot Matrix component (contributed by an Originkit license holder); no Originkit source code is redistributed here. The simplex-noise GLSL is the standard Ashima Arts/Stefan Gustavson implementation (MIT).
  • The card reproduces X's logo and visual language as parody/fan content; users of this skill publish the result at their own judgment.
  • GSAP is loaded from jsDelivr under its standard license; it is not vendored.
  • 动画点阵背景是为HyperFrames可定位渲染器重写的确定性GLSL/WebGL实现,视觉效果参考了Originkit的Dot Matrix组件(由Originkit许可证持有者贡献);此处未分发任何Originkit源代码。Simplex噪声GLSL采用Ashima Arts/Stefan Gustavson的标准实现(MIT许可)。
  • 卡片复刻了X的标志和视觉语言,属于恶搞/粉丝创作内容;使用本Skill的用户需自行判断是否发布结果。
  • GSAP从jsDelivr加载,遵循其标准许可;未进行本地打包。