Communitygithub.com

notasimrazzaq/AI-Video-Editor

在 Windows PC 上检查或修复视频编辑工具链(Node 22+、FFmpeg、Deepgram 密钥、Chrome、HyperFrames 技能)。当转录或渲染失败、新 PC 需要设置、缺少 .setup-ok 文件或用户要求更新 HyperFrames 时使用。

AI-Video-Editor 是什么?

该技能提供了一套完整的 Windows 环境视频编辑工具链自动检查和修复方案。它通过运行一个 PowerShell 脚本(tools/setup.ps1)来一键安装或修复 Node.js 22+、FFmpeg、Deepgram API 密钥、Chrome 以及 HyperFrames 技能等必要组件,并在成功时写入 .setup-ok 文件。如果任何组件缺失或配置错误,脚本会输出明确的失败原因和修复建议。该技能还包含一个“医生”检查命令(npx -y hyperframes doctor),用于快速诊断当前环境状态,并提供了常见问题的修复指南,如刷新 PATH、重新设置 Deepgram 密钥、处理 API 错误码等。它适用于 Windows 平台,特别适合视频编辑工具链出问题或新环境初始化时使用。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/notasimrazzaq/AI-Video-Editor/tree/HEAD/.agents/skills/mg-setup-check

在你喜欢的 AI 中提问

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

文档

设置检查(Windows)

一键安装或修复所有组件(无人值守,可安全重复运行,成功后会写入 .setup-ok 文件):

powershell -NoProfile -ExecutionPolicy Bypass -File tools/setup.ps1

当某些组件无法自动修复时,脚本会输出 SETUP FAILED: <原因> 并给出修复方法。

已知正确的设置:

工具位置
Node.js 22+winget OpenJS.NodeJS.LTS → C:\Program Files\nodejs
FFmpeg / FFprobewinget Gyan.FFmpeg
转录 / AI 语音通过 tools/transcribe-deepgram.ps1 使用 Deepgram API,密钥存储在用户环境变量 DEEPGRAM_API_KEY 中
Chrome系统安装,或通过 npx --yes hyperframes browser ensure 获取私有副本
HyperFrames 技能%USERPROFILE%\.agents\skills (以及 .claude\skills)

请勿安装 whisper.cpp 或运行本地转录模型(在典型 PC 上既慢又吵)。

检查

npx -y hyperframes doctor

不需要 Docker、Kokoro (TTS)、MusicGen 和 whisper-cpp —— 忽略它们。

常见修复

  • Deepgram 密钥:用户自行运行 powershell -NoProfile -ExecutionPolicy Bypass -File tools/set-deepgram-key.ps1(切勿在聊天中粘贴密钥)。脚本即使在旧终端中也能读取用户作用域的值。
  • 设置后找不到 node / ffmpeg:在终端中刷新 PATH($env:Path = [Environment]::GetEnvironmentVariable('Path','Machine') + ';' + [Environment]::GetEnvironmentVariable('Path','User'))或重启编辑器。
  • “运行脚本被禁用”错误:始终通过 powershell -NoProfile -ExecutionPolicy Bypass -File ... 调用脚本。
  • Deepgram 401 错误:密钥错误或已过期 —— 请用户重新设置。402/429 错误:额度用尽或被限流。
  • 更新技能 / CLI:npx -y hyperframes skills update、npx -y hyperframes upgrade。
  • 任何需要管理员权限的操作:向用户提供要在管理员终端中运行的确切命令。

Individual skills in this repo

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

notasimrazzaq/AI-Video-Editor

Add motion graphics on top of the user's own raw / talking-head video (Damiano 'Motion Graphics with Claude Code' workflow, PROMPT 11 + 12). Use when: the user gives a raw video, reel, clip or footage and wants it edited, animated, 'made into a masterpiece', cards/counters/checklists added, or a specific moment fixed ('when I say X, show Y').

notasimrazzaq/AI-Video-Editor

Render and export HyperFrames videos: frame rate, 4K, ProRes MOV, PNG sequence, smaller files (--crf), transparent overlays for Premiere/After Effects (PROMPT 14), plus quick fixes when something looks wrong (fonts, cropping, captions overlap, timing, huge files). Use when: the user asks to render, export, change resolution/fps, make it transparent, reduce size, or says something looks off.

notasimrazzaq/AI-Video-Editor

Make a motion-graphics video with no footage: text-only / script video, product launch video, SaaS promo from screenshots, a first test render, or the 10-moves demo (kit PROMPTS 02, 03, 08, 09, 10). Use when: the user gives a script, a product description, app screenshots or a brief and wants an animated video made from nothing.

notasimrazzaq/AI-Video-Editor

Add sound effects to a motion-graphics video: the kit's clicks (pop, tick, counter, chime, snap, star, switch, fill, success) and the paper / stop-motion set (paper-flip, paper-drop, paper-rustle, tape-rip, marker-tick, marker-scribble, stamp, paper-slide, thump). PROMPT 13. Use when: the user asks for sound effects, SFX, clicks, ticks, dings, crisp sounds, page turns, paper sounds, or 'make it sound better'.

相关技能