环境准备。安装依赖、配置 API Key、验证环境。触发词:安装、环境准备、初始化
安装
首次使用前的环境准备
快速使用
用户: 安装环境
用户: 初始化
依赖清单
| 依赖 | 用途 | 安装命令 |
|---|---|---|
| Node.js | 运行脚本 | brew install node |
| FFmpeg | 视频剪辑 | brew install ffmpeg |
| curl | API 调用 | 系统自带 |
API 配置
火山引擎语音识别
控制台:https://console.volcengine.com/speech/new/experience/asr?projectName=default
- 注册火山引擎账号
- 开通语音识别服务
- 获取 API Key
配置到项目目录 .claude/skills/.env:
# 文件路径:剪辑Agent/.claude/skills/.env
VOLCENGINE_API_KEY=your_api_key_here
安装流程
1. 安装 Node.js + FFmpeg
↓
2. 配置火山引擎 API Key
↓
3. 验证环境
执行步骤
1. 安装依赖
# macOS
brew install node ffmpeg
# 验证
node -v
ffmpeg -version
2. 配置 API Key
# 在项目 .claude/skills/ 目录下创建 .env 文件
echo "VOLCENGINE_API_KEY=your_key" >> .claude/skills/.env
3. 验证环境
# 检查 Node.js
node -v
# 检查 FFmpeg
ffmpeg -version
# 检查 API Key(在项目目录下执行)
cat .claude/skills/.env | grep VOLCENGINE
常见问题
Q1: API Key 在哪获取?
火山引擎控制台 → 语音技术 → 语音识别 → API Key
Q2: ffmpeg 命令找不到
which ffmpeg # 应该输出路径
# 如果没有,重新安装:brew install ffmpeg
Q3: 文件名含冒号报错
FFmpeg 命令需加 file: 前缀:
ffmpeg -i "file:2026:01:26 task.mp4" ...
You Might Also Like
Related Skills

create-pr
Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI validation. Use when creating PRs, submitting changes for review, or when the user says /pr or asks to create a pull request.
n8n-io
electron-chromium-upgrade
Guide for performing Chromium version upgrades in the Electron project. Use when working on the roller/chromium/main branch to fix patch conflicts during `e sync --3`. Covers the patch application workflow, conflict resolution, analyzing upstream Chromium changes, and proper commit formatting for patch fixes.
electron
pr-creator
Use this skill when asked to create a pull request (PR). It ensures all PRs follow the repository's established templates and standards.
google-gemini
clawdhub
Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawdhub CLI.
moltbot
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
moltbot
create-pull-request
Create a GitHub pull request following project conventions. Use when the user asks to create a PR, submit changes for review, or open a pull request. Handles commit analysis, branch management, and PR creation using the gh CLI tool.
cline