무료 프롬프트
FREE
스킬
mcut 비디오 편집 스킬 (mcut) — 브라우저 기반 영상 편집
이온디
2026.07.17
2
0
평점
0.0
리뷰 0개
사용 방법
본문을 복사해 AI 도구에서 실행하세요
-
STEP 1
아래 본문에서 역할, 목적, 입력값, 출력 형식을 확인합니다.
-
STEP 2
ChatGPT, Claude, Gemini, Codex의 대화창이나 프로젝트 지침에 붙여넣습니다.
-
STEP 3
예시 입력값을 내 업무 정보로 바꾼 뒤 실행하고 결과를 검토합니다.
mcut는 반복 업무를 더 안정적으로 처리하기 위한 AI 에이전트 스킬입니다.
Build a browser-based video editor with the mcut SDK — multi-track timeline, auto-captions, and deterministic client-side MP4/WebM/MKV export. Use when integrating video editing into a React or Next.js app, installing the mcut editor UI from the shadcn registry, scripting edits through serializable commands, or wiring a transcription provider.
사용 방법
Codex나 호환되는 AI 에이전트의 스킬 폴더에 아래 SKILL.md 내용을 저장한 뒤, 설명에 포함된 트리거 문장으로 호출하세요.
사용 예:
mcut 스킬 사용해줘.
이 작업은 mcut 기준으로 진행해줘.
원본 위치
.codex/skills/gocut-mcut/SKILL.md
SKILL.md
---
name: mcut
description: Build a browser-based video editor with the mcut SDK — multi-track timeline, auto-captions, and deterministic client-side MP4/WebM/MKV export. Use when integrating video editing into a React or Next.js app, installing the mcut editor UI from the shadcn registry, scripting edits through serializable commands, or wiring a transcription provider.
license: Apache-2.0
metadata:
source: https://github.com/mattppal/mcut
---
# mcut: open source video editing SDK
mcut has two product surfaces:
- **mcut OSS**: Apache-2.0 TypeScript packages for timeline editing, preview,
export, transcription, React bindings, CLI, and MCP integration.
- **mcut Editor**: a full editor built on the same engine. It is coming soon; the
site signup is for editor early access.
The OSS UI pieces install **as source** through a shadcn registry hosted on this
site. The engine is yours to depend on; the UI is yours to modify.
## Install
```sh
# 1. Engine packages (headless, framework-agnostic core)
bun add @mcut/timeline @mcut/compositor @mcut/media @mcut/react @mcut/transcription
# 2. Editor UI as source, into a Next.js + shadcn app (registry hosted at this origin)
bunx shadcn@latest add <this-origin>/r/editor-shell.json
# 3. Optional server-side transcription provider
bun add @mcut/transcription-assemblyai
```
The registry index lives at `/r/registry.json` on this origin. Besides the full
`editor-shell`, individual panels install standalone: `timeline-panel`, `toolbar`,
`media-bin`, `properties-panel`, `captions-panel`, `export-dialog`.
## Architecture
| Package | What it is |
| --- | --- |
| `@mcut/timeline` | Headless domain: project model, zod-validated serializable commands, undo/redo, reactive stores |
| `@mcut/compositor` | Pure canvas2d `renderFrame()` + element renderer registry + hit-testing — shared by preview and export |
| `@mcut/media` | Mediabunny I/O: probing, thumbnails, audio extraction, deterministic WebCodecs export (MP4/WebM/MKV) |
| `@mcut/transcription` | Provider interface, normalized transcripts, SRT/VTT, caption grouping |
| `@mcut/transcription-assemblyai` | AssemblyAI provider with word timings, confidence, speakers |
| `@mcut/transcription-ai-sdk` | Adapter for any Vercel AI SDK transcription model (OpenAI, Deepgram, Groq, ...) |
| `@mcut/react` | `EditorProvider`, hooks, `PlayerCanvas` with selection/drag/resize/rotate overlay |
| `@mcut/cli` | `mcut` on the command line: scaffold, validate, summarize, batch-edit, silence cuts, captions |
| `@mcut/mcp-server` | `bunx @mcut/mcp-server project.json` — every command and operator as an MCP tool |
Everything runs client-side except transcription, which you proxy through your own
server route so provider API keys stay server-side.
## Scripting edits (AI tools)
Every edit — trim, split, move, caption, keyframe — is a serializable, zod-validated
command applied through one entry point:
```ts
engine.dispatch({ type: "splitClip", clipId, atMs });
```
Each command's zod schema doubles as an AI tool definition, so an agent can drive the
whole editor by emitting commands. Undo/redo wraps dispatch automatically.
The full catalog — every command as an MCP-shaped tool definition with JSON Schema
parameters — comes from `listToolDefinitions()` in `@mcut/timeline`. The editor app
owns the live MCP tooling, browser-session bridge, and human tool browser.
## Wiring transcription
The editor UI takes a `transcribe(audio: Blob) => Promise<TranscriptResult>` handler.
Implement it as a server route that forwards to a provider:
```ts
// app/api/transcribe/route.ts
import { createAssemblyAIProvider } from "@mcut/transcription-assemblyai";
export async function POST(request: Request) {
const audio = (await request.formData()).get("audio") as Blob;
const provider = createAssemblyAIProvider(); // reads ASSEMBLYAI_API_KEY
return Response.json(await provider.transcribe({ audio, mimeType: audio.type }));
}
```
`TranscriptResult` is the normalized transcript shape every provider returns: full
`text` plus word-level (`words`) and sentence-level (`segments`) timings in
milliseconds, with optional `confidence` and `speaker` per word.
## Editing videos with an agent
This skill covers integration. To actually EDIT video — cuts, silence removal,
captions, multicam switching, animation, platform reformatting — fetch the companion
skill at `../mcut-editing/SKILL.md` on this origin: it ships a tested recipe book,
the full command reference, starter project templates, and platform presets.
리뷰
별점과 함께 남기는 사용 후기
아직 리뷰가 없습니다
리뷰를 작성하려면 로그인하세요.
첫 리뷰를 남겨보세요.