Communitygithub.com

bassam1998new-ops/hyperframes-students

新手学生HyperFrames工作室的首次环境配置工具。检测电脑(Git、Node.js、FFmpeg、渲染浏览器),用通俗语言解释缺少什么,推荐安装方案,安装前征求用户同意,最后制作一个3秒测试视频证明一切就绪。

hyperframes-students 是什么?

此技能专为HyperFrames学生工作室的首次环境配置设计,面向编程新手用户。它会自动检测Git、Node.js(22+)、npm、FFmpeg/FFprobe及磁盘空间等关键依赖,并以直观的✓/✗列表呈现结果。对于缺失的组件,技能会逐一用浅显的语言解释其用途(如“运行HyperFrames”或“合成视频”),询问用户是否允许安装,然后使用系统包管理器(Windows用winget,macOS用Homebrew,Linux用apt)自动安装。安装后,技能会指导用户完成`npm install`、`npx hyperframes skills`、`npx hyperframes browser ensure`及`npx hyperframes doctor`等后续步骤,最后创建一个包含淡入动画的3秒测试视频,验证整个流程可用性。该技能可安全重复运行——已完成的步骤会自动跳过,非常适合故障排查或重装场景。

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

在你喜欢的 AI 中提问

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

文档

环境配置 —— 让新手电脑准备就绪

学生是新手。用他们的语言说话,句子简短,一步一步来。 你自己完成所有检查。每次安装前必须征求同意。绝不要替他们输入密码。

0. 在正确文件夹中?

此操作必须在工作室文件夹内运行(该文件夹包含 CLAUDE.md 和 video-projects/_library/)。 如果你在其他位置,请找到该文件夹,或询问他们将项目克隆到了哪里,然后 cd 到那里。

1. 检查已安装的内容

确定系统类型(Windows / macOS / Linux),运行以下检查。不要显示原始输出,而是显示一个简短列表。

检查项命令是否必需一句话说明
Gitgit --version是下载本工作室及其更新
Node.js 22 或更新版本node --version是运行 HyperFrames
npmnpm --version是随 Node.js 一起安装
FFmpeg + FFprobeffmpeg -version, ffprobe -version是将画面和声音合成为 MP4
可用磁盘空间(doctor 会显示)~3 GB用于工具和你的视频

像这样显示:

✓ Git
✗ Node.js — 未安装(需要:它用于运行 HyperFrames)
✓ FFmpeg

如果所有项都显示 ✓,请告知用户并跳转到步骤 3。

2. 安装缺失部分 —— 先询问,逐一安装

对于每个 ✗:用一句话说明它是什么,它是免费的,你推荐什么,然后询问“我安装它好吗?”。等待用户回答“是”。

Windows(winget 内置于 Windows 10/11):

  • Node.js:winget install -e --id OpenJS.NodeJS.LTS --accept-package-agreements --accept-source-agreements
  • FFmpeg:winget install -e --id Gyan.FFmpeg --accept-package-agreements --accept-source-agreements
  • Git:winget install -e --id Git.Git --accept-package-agreements --accept-source-agreements
  • 如果 Windows 弹出“你要允许此应用对你的设备进行更改吗?”对话框,告诉用户点击是。
  • 如果 winget 本身缺失:让用户去 https://nodejs.org(点 LTS 按钮)、https://git-scm.com,对于 FFmpeg 则说“请从 Microsoft Store 安装 App Installer,然后我会重试”。

macOS(使用 Homebrew):

  • 检查 brew --version。如果缺失,用户必须自己运行安装程序,因为它会要求输入 Mac 密码。告诉用户:打开终端应用,粘贴来自 https://brew.sh 的命令,按回车,输入 Mac 密码(输入时屏幕不会显示字符——这很正常),然后告诉你安装完成。
  • 然后运行:brew install node ffmpeg git

Linux: 这些操作需要用户的密码,因此让他们在自己的终端中运行: sudo apt install -y git ffmpeg。对于 Node.js 22+,推荐从 https://nodejs.org 安装 LTS 版本。

安装任何东西之后: 新程序在此 Claude 窗口中尚不可见。告诉用户: “请完全关闭 Claude Code,在此同一文件夹中重新打开它,然后输入 /setup —— 我会从这里继续。”然后停止并等待。(当用户回来时,步骤 1 将显示新的 ✓。)

3. 安装工作室自带组件

说明每个组件的用途和大致大小,然后按顺序运行:

  1. npm install —— 将 HyperFrames 下载到此文件夹(约 120 MB,耗时约一分钟)。
  2. npx hyperframes skills —— 教给 Claude 官方的 HyperFrames 规则(很小)。先询问:此操作会为此电脑上的 Claude 安装技能。
  3. npx hyperframes browser ensure —— 下载仅供制作视频专用的 Chrome 私有副本(约 150 MB)。用户的正常浏览器不会受到影响。
  4. npx hyperframes doctor —— 最终检查。只解释重要的红色项: Node.js、FFmpeg、FFprobe 和 Chrome 必须显示 ✓。以下为可选——可忽略:有更新的版本可用、whisper-cpp(自动字幕)、MusicGen(AI 音乐)、Docker。

执行 npx hyperframes skills 之后:新技能将在新会话中加载。告诉用户: “请关闭 Claude Code,在此文件夹中重新打开它,然后输入 /setup —— 我会从测试视频部分继续。”

4. 证明一切正常:一个 3 秒测试视频

需要互联网(动画库从网络加载)。逐行运行以下命令(在 PowerShell 中,&& 无效):

mkdir my-videos
cd my-videos
npx hyperframes init hello-test --example blank --resolution portrait --non-interactive
cd hello-test

空白示例原本是 10 秒,显示“Title”。在 index.html 中:将文字改为用户的名字或“Hello”,将两个 data-duration="10" 都改为 3,添加一个淡入效果 (tl.fromTo("#title", { opacity: 0 }, { opacity: 1, duration: 0.6 }, 0);)并在 window.__timelines 这行之前加入 tl.set({}, {}, 3);。然后运行:

npx hyperframes lint
npx hyperframes render --quality draft

在 my-videos/hello-test/renders/ 中找到 MP4 文件,告诉用户文件位置,并提供打开选项。 如果渲染失败,请阅读错误信息,修复问题,然后重试。不要将未完成的步骤交给用户。

5. 完成

简短地告诉用户:

  • “环境配置完成。你的视频将存放在 my-videos 文件夹中。”
  • “要制作视频,请输入 /new-video。”
  • “下次请在此同一文件夹中打开 Claude Code。” 告诉用户你使用的完整文件夹路径,以及如何操作:
    • Claude 桌面应用: 代码选项卡 → 选择/打开文件夹 → 选择该文件夹。
    • 终端: cd "<完整路径>" 然后 claude。
  • 在 Windows 上,“Documents”可能实际上位于 OneDrive 中(OneDrive\Documents)。请检查克隆实际落在哪个路径,并提供精确路径。

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

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 Warm Glass Face-cam look (style card warm-glass-facecam) — the presenter talks to camera while frosted-glass panels with one warm glow land exactly where he points; blur-punch text, a karaoke pill, small charts, and a shrink into a rounded picture-in-picture for the demo part. Use when the director picked this card, or the owner says "make it in the warm glass style", "glass panels over my face", "face-cam with glass cards", "PiP intro", "كروت زجاج وأنا بتكلم", or the video is a build show-off or quick tutorial with the owner on camera. Source is English 16:9; the 9:16 and Arabic versions still have to be built at the first job. Not for lecture clips or AI news.

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>.

相关技能