Communitygithub.com

bassam1998new-ops/hyperframes-students

构建具有Warm Glass Face-cam风格的视频(样式卡:warm-glass-facecam)——主持人在镜头前讲述,磨砂玻璃面板带有温暖光晕精确出现在他指向的位置。包含模糊弹出文字、卡拉OK胶囊、小图表,以及演示部分缩小为圆角画中画的效果。

hyperframes-students 是什么?

该技能用于构建带有“Warm Glass Face-cam”风格的视频,这是一种高端技术视频开场风格:主持人在镜头前讲述,磨砂玻璃面板带有温暖光晕,精准落在他指向的关键词和手势位置,随后画面缩小为圆角画中画,用于演示部分。源素材为英语16:9格式,但需要自动构建9:16竖版和阿拉伯语版本(在首次任务中完成)。不支持讲座片段或AI新闻。 技能适用于多种代理平台(如Claude Code、Cursor、Codex),通过`node tools/vid.mjs style apply warm-glass-facecam <项目>`命令应用样式卡。它依赖于`talking-head-recut`技能同步旁白时间码,并提供了详细的工作流:从品牌文件中提取颜色角色(禁止使用第三方AI产品的品牌色),使用本地库替换CDN资源(GSAP、字体),以及使用`_library`中的预定义合成块。 该技能还包含两种模式:平静(calm),即原始无音乐/音效;以及动感(punchy,未测试),包括背景音乐和音效。构建完成后,需要运行`npx hyperframes lint`、`snapshot`和`render --quality draft`进行检查,确保安全区域、面板定位准确,且不遮挡人脸。同时提供了详细的“do/don't”指南,例如:必须根据手势或关键词调整面板时间、不重复使用第三方品牌色或CDN资源,以及构建9:16和阿拉伯语版本后再提交给客户审阅。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bassam1998new-ops/hyperframes-students/tree/HEAD/.claude/skills/style-warm-glass-facecam

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

样式:暖色玻璃面部摄像头

高端技术开场:主讲人头部出镜,磨砂玻璃面板带有一圈温暖的光晕,精准地落在他所说的关键词和手势上,随后画面缩小为圆角画中画,用于演示部分。 卡片:video-projects/_library/styles/warm-glass-facecam/style.md — 草稿(尚未批准 — 请向项目负责人说明)。

先看效果: 该卡片目前没有帧(frames/ 为空)。观看源素材渲染的早期项目(非公开),或使用 npx hyperframes snapshot an earlier project --at 2,8,15 -o video-projects/_library/styles/warm-glass-facecam/tests/snaps (不在公开仓库中) 拍摄快照。源素材为16:9英语 — 在提交项目负责人批准前,先为卡片制作3–6张9:16的帧。

0. 首先应用卡片

node tools/vid.mjs style apply warm-glass-facecam <项目> [--mode calm|punchy]
node tools/vid.mjs style show warm-glass-facecam

对于将叠加效果与主讲人头部同步,talking-head-recut 技能提供了转录同步模式。

1. 颜色 = 角色(品牌填充十六进制颜色)

风格 = 质量、结构和动效。陶土色 (#D97757) 是第三方AI产品的品牌颜色 — 永远不要为项目负责人的品牌发布此颜色。 从 brand/<name>.md 中填充角色:

角色参考颜色来自品牌
画中画(PiP)后的背景#05080F + 微弱网格 + 散布的星星canvas (dark)
文字#FFFFFF / #F1F1F1text-strong
暗淡文字#B8B8B8muted
光晕:面板边缘、眉毛、活动字幕词、图表条#D97757primary — 主要用作光晕,从不作为大面积填充
柔和高光#F5B39Aprimary的浅色调
玻璃白色,透明度2–10%,背景模糊14–18 px,饱和度1.2无 — 保持中性
只使用一种光晕颜色。源素材在 compositions/0*.html 中内联包含颜色 — 复制时将它们提升为CSS变量(--bg、--ink、--dim、--glow、--glow-soft)。

2. 构建它

  • 起始代码: 早期项目(非公开)— compositions/01-hook.html、02-text-on-screen.html、03-karaoke-captions.html、04-mg-and-charts.html、05-pip.html,加上 compositions/components/shimmer-sweep.html 和 grain-overlay.html。首先使用本地库: 源素材从CDN加载了GSAP(以及Inter / JetBrains Mono)— 替换为 _library/assets/vendor/gsap.min.js (不在公开仓库中) 和 _library/assets/fonts/ (不在公开仓库中)(vid use 对库块执行此操作;对于复制的文件,手动执行)。
  • 块: 首先运行 node tools/vid.mjs find glass + director/library.md(液体玻璃块存在于 _library/compositions/ 中);使用 node tools/vid.mjs use <块> <项目> 导入任何块。
  • 布局 16:9 (1920×1080, 源素材): 全帧面部约12.8秒,面板位于空半部分或顶部区域,然后0.6秒缩小为540×960的画中画(PiP)停靠在右侧(圆角36 px,带光晕)。
  • 布局 9:16 (1080×1920): 尚未构建 — 在首次任务中:面部位于下方2/3处,面板位于顶部区域(y 220–700),卡拉OK胶囊位于y 1500上方;PiP = 下半部分的一个圆角卡片,同时演示填充上半部分。保持面部不被遮挡,所有内容位于x 60–960、y 220–1500范围内。
  • 阿拉伯语: 尚未构建 — 对面板和字幕使用IBM Plex Sans Arabic或Cairo字体(不要用Inter),按词处理,绝不按字母处理。
  • 动效令牌: 进入动画 expo.out · 柔和进入 power3.out · 退出 power2.in · 硬退出 power3.in · 强调 back.out(2) · 重新构图 power3.inOut · 微动 120 / 标准 350 / 英雄 650 ms · 交错 120 ms · 图表条间隔 80 ms · 模糊进入 18 px。
  • 文字动画: 模糊弹出进入(缩放 1.4 + 模糊 12–18 px → 清晰) · 从 x −20 / −30 滑入并淡出(0.32–0.35 s,expo.out) · 文字行上升,交错 0.12 s(0.55 s) · 卡拉OK胶囊,带有“CC”标签,活动词使用光晕颜色 · 闪光扫描覆盖片尾标题(3次扫描,每次1.2 s)。
  • 转场: 一次连续拍摄;叠加效果随句子变化;画中画(PiP)缩小(在关键词前0.3 s开始)替代剪切。动画化包装器 <div>,绝不对 <video> 做动画。
  • 模式: 平静(calm)= 按原样发布(无音乐,无音效)· 动感(punchy,未测试)= 在语音下添加背景音乐,每次模糊弹出时添加柔和嗖声(_library/assets/sfx/el/swoosh-text.mp3 (不在公开仓库中)),更快的面板切换。
  • 声音: 面部剪辑本身的音频(视频上的 data-has-audio="true",或同级的 <audio> 标签),语音 −14 LUFS。任何背景音乐来自 _library/assets/music (不在公开仓库中) — 绝不生成音乐。

3. 提交项目负责人前检查

  1. 在项目内运行 npx hyperframes lint — 0错误,且没有残留的远程GSAP/字体URL。
  2. 运行 npx hyperframes snapshot --at <每个面板的关键词> — 阅读每一帧:面部清晰,面板落在他指向的位置。
  3. 运行 npx hyperframes render --quality draft → node tools/vid.mjs judge <draft.mp4> → 读取 sheet.jpg 和 safe-sheet.jpg。
  4. 安全区 x 60–960、y 220–1500 (9:16) · 面部从未被裁剪或遮挡 · 阿拉伯语连字、从右到左、绝不按字母分割、不在 <html> 上设置 dir="rtl"。
  5. 风格检查:一种光晕颜色;无第三方标志;渲染30 fps,除非项目负责人要求60 fps。

操作 / 禁止操作

  • 操作: 将每个面板的时间与其手势或关键词(词的时间码)对齐;保持面部不遮挡;在用于项目负责人之前先构建9:16和阿拉伯语版本。
  • 禁止: 重复使用源素材的第三方标志或其品牌颜色;在渲染时从CDN加载字体或GSAP;将面板放在面部上方。

任务完成后:node tools/vid.mjs style comment warm-glass-facecam "<哪些效果起作用或不起作用>"。

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

bassam1998new-ops/hyperframes-students

Make a new video with a beginner, start to finish — a few easy questions, pick a look from this repo's styles, build it with HyperFrames, check the frames, render and show it. Use when the student says "new video", "make a video", "اعمل فيديو", "عايز فيديو", "reel", "animation", or asks how to start a video. Hands the technical HyperFrames rules to the official hyperframes skills.

bassam1998new-ops/hyperframes-students

First-time setup for the HyperFrames student studio. Checks the computer (Git, Node.js, FFmpeg, the render browser), explains in plain words what is missing, recommends what to install, asks before installing anything, then makes a 3-second test video to prove it all works. Use when the student says "setup", "install", "اعمل setup", "نزّل البرامج", "it doesn't work", "command not found", when node_modules is missing, or when `npx hyperframes doctor` shows a red item. Safe to run again any time — it skips what is already done.

bassam1998new-ops/hyperframes-students

Build a video in the Amber Grid Newsroom look (style card amber-grid-newsroom) — a hot "breaking news" desk: near-black grid field, the real screen recording in a framed window with instant reframes, an English title over an Arabic title line, and karaoke captions where the spoken word turns hot. Use when the director picked this card, or the owner says "make it in the amber newsroom style", "news desk", "breaking news look", "زي ريل opus 5.5", "ستايل الأخبار", or the video is AI news or a build show-off cut from his OBS screen recording with an Egyptian Arabic voice-over. 9:16 reels. Not for lecture clips or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Cream Caret Type look (style card cream-caret-type) — Arabic words typed with a coloured caret on a flat two-colour page (night and paper that swap on hard cuts), select-highlight → delete → retype, a flat profile silhouette, one coloured dot that match-cuts into a flat vector eye, a zoom-through the iris, a fixed noun with a bold verb swapping every 16 frames, a pixel-art icon on the sign-off and a monogram end card — one sound per event, silence between. Use when the director picked this card, or the owner says "the typing intro", "caret type", "cream caret", "زي فيديو الكتابة", "الكلام اللي بيتكتب", "intro بالكتابة", or the video is a channel / "who am I" intro, a course or service intro hook, a short opener before a talking head, a word-play promise line or a bumper. 9:16 only, Arabic-first. Not for talking heads the whole time, screen-recording proof, data-heavy explainers or full spoken subtitles. DRAFT — untested.

bassam1998new-ops/hyperframes-students

Build a video in the Floating Desk Zoom look (style card floating-desk-zoom) — real app windows float as cards on warm paper, a virtual camera hard-cuts in on the action, follows the typing and glides back out. Use when the director picked this card, or the owner says "make it in the floating desk style", "paper desk", "zoom on the screen like the launch video", "اعمله على الورق", or the video is a build show-off, quick tutorial or AI news made from his OBS screen recording with a voice-over. Arabic or English; 9:16 reels. Not for lecture clips or talking heads.

bassam1998new-ops/hyperframes-students

Build a video in the Hatch Cosmos look (style card hatch-cosmos) — a hand-drawn pencil-hatched world on one canvas, a block mascot (or a pair) that walks, looks, blinks and does ^ ^ eyes, a dive through its eye into a hatched galaxy of nebula blobs, tilted rings and needle stars. Use when the director picked this card, or the owner says "hatched", "hatch cosmos", "pencil cosmos", "the galaxy video style", "the mascot dive", "زي فيديو المجرة", "الستايل المرسوم بالقلم", "الكائن اللي بيدخل في عينه", or the video is a music-led show-off/teaser, a concept intro with a mascot, a "journey inside" beat or a channel bumper. 9:16 and 16:9 both built. Not for talking heads, real screen-recording proof, data-heavy explainers or photographic looks.

bassam1998new-ops/hyperframes-students

Build a video in the Horizon Prompt One-shot look (style card horizon-prompt-oneshot) — one continuous camera on a near-black stage lit by a soft planet-horizon glow; a glass app bar, a cursor and a prompt box morph into each other, a prompt is typed, the send button grows into a tile that blooms into a full-frame result, then a light wipe to a logo end card, every beat hit-synced to a UI sound. Use when the director picked this card, or the owner says "horizon prompt", "the prompt one-shot", "the ChatGPT-style promo", "زي فيديو البرومبت", "الكيرسر اللي بيكتب البرومبت", or the video is an AI tool show-off / prompt-to-result demo, a course or service promo opener, a launch teaser or a channel bumper. Not for talking heads, real screen-recording proof, data-heavy explainers or long tutorials. DRAFT — untested.

bassam1998new-ops/hyperframes-students

Remix 2+ existing style cards of the Hyperframes video workspace into one NEW draft style card, layer by layer (palette roles, type, texture, grade, camera, light, edit rhythm, transitions, motion, sound, prompt parts), then let the owner pick the skills for the video and start the director. Use when the owner says "hybrid style", "remix styles", "mix two styles", "combine styles", "اعمل هايبرد", "ادمج الستايلين", or ticks cards and presses "Remix these" on the Styles board.

bassam1998new-ops/hyperframes-students

Build a video in the Midnight Kinetic Type look (style card midnight-kinetic-type) — clean motion type on a flat dark field, word-by-word mask rises, one accent word that lands alone, icon strokes that draw on, and hard cuts on the music's beat grid. Use when the director picked this card, or the owner says "make it in the kinetic type style", "midnight type", "like an earlier project", "تايبوجرافي متحركة", or the video is a direct offer, proof / results reel or AI news told with type, music and SFX (no face, no footage). Arabic (Cairo, per-word) and English (Inter) versions; 9:16 reels. Not for lecture clips or quick tutorials.

bassam1998new-ops/hyperframes-students

Build a video in the Midnight Screen Desk look (style card midnight-screen-desk) — a calm, organised news desk in three fixed zones: an Arabic info card on top, the real screen recording in a glowing band with punch-ins in the middle, and word-by-word captions (dim → bright) below. Use when the director picked this card, or the owner says "make it in the screen desk style", "three zones", "like the AI releases reel", "كارت فوق والشاشة في النص", or the video is AI news, a build show-off or a quick tutorial cut from his screen recording with an Egyptian Arabic voice-over. 9:16 reels. Not for lecture clips or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Mint Lecture Room look (style card mint-lecture-room) — a calm classroom cut of a real lesson: one long take with slow zooms that follow the point, a topic lower third, a quiz card that asks, counts down think-time and then answers, and karaoke captions that light the current word. Use when the director picked this card, or the owner says "make it in the lecture room style", "lecture clip", "course cut", "quiz card", "قص من المحاضرة", "سؤال وجواب", or the video is a lecture clip or quick tutorial cut from his AI course recordings (Egyptian Arabic). 9:16 reels. Not for AI news or direct offers.

bassam1998new-ops/hyperframes-students

Build a video in the Neon Node Explainer look (style card neon-node-explainer) — a plain stage, one headline per spoken sentence, and one small glowing diagram (tiles, lines, packets, checks, terminal, tool list) that builds itself part by part. Use when the director picked this card, or the owner says "make it in the neon node style", "node explainer", "API vs MCP style", "اعمله زي فيديو الـ MCP", or the video is an AI explainer, concept explainer, quick tutorial or AI news with a voice-over and no face. Arabic headlines + English mono labels; 9:16 and 16:9 both built. Not for talking heads, warm stories, real screen-recording demos or music-only hype reels.

bassam1998new-ops/hyperframes-students

Build a video in the Swiss Motion Reel look (style card swiss-motion-reel) — a Swiss-grid "instrument panel" with a constant thin HUD, flat 2-colour blocks, word slams, shape match-cuts and hard cuts on a 128 BPM beat. Use when the director picked this card, or the owner says "make it in the Swiss style", "motion reel", "like the motion designer reel", "HUD reel", "ستايل سويسري", or the video is a brand sizzle, product intro, "what we do" reel, launch teaser or any no-person, graphics-only, music-led video. Latin display type with Arabic in a clean geometric sans; built and tested in 16:9, 9:16 still to build. Not for talking heads, screen-recording tutorials or long voice-led explainers.

bassam1998new-ops/hyperframes-students

Build a video in the <Style name> look (style card <slug>). Use when the director picked this style card, when the owner says "make it in the <Style name> style", "<slug>", "استايل <Style name>", or the video type is <video types from use_when>. Works for Arabic (Egyptian) and English, 9:16 reels<, and 16:9 if supported>. Not for <avoid_when>.

相关技能