nextwork-projects/ai-video-editor-cooked

start

The front door of cooked.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/nextwork-projects/ai-video-editor-cooked --skill start

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Start

Paths: ${CLAUDE_SKILL_DIR} means the folder containing this SKILL.md, and ${CLAUDE_PLUGIN_ROOT} the plugin folder two levels above it.

Read ${CLAUDE_PLUGIN_ROOT}/PRINCIPLES.md first: the rules every video follows (where, asking, looking real, motion, story, privacy, cost).

Every question goes in the question box: the AskUserQuestion tool (2-4 options, recommended first). Only in an agent without it, ask numbered questions in text. Attached images: <paths> in an answer: Read each first.

The user's whole job: drop a video, answer a few questions, approve the cut, approve the stills, both on the review page. Everything else is this skill's job.

P="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/profile.py". Run it with python3 on Mac and Linux, py on Windows.

First run (the session-start line says so, or setup.py doctor --quiet prints a line): the setup skill's step 0 first (window, then installs in the background), then carry on here.

0. Links first

If the message has any link, @handle or file path, route it before anything else. Never ask what a link is; the classifier knows.

bash
L="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/links.py"
python3 "$L" route "<the user's whole message>" [--own]

--own only when the user says the video link is theirs ("my video", "I posted this"). It prints a list, already in the order to handle it: questions, creators, own footage, long videos, websites, music. Each item has a kind:

kinddo
askOne question box for all ask items together (at most four): each item's question word for word, its options labels in order, the first marked "(Recommended)". The answer becomes the kind.
creatorcreator-teardown quick mode on handle and platform (no platform: ask, TikTok first). With urls, write them to picks.txt and use list <handle> --urls picks.txt. Save it as the profile creator.
ownpython3 "$L" fetch "<url>" edits/<name> (name is in the item). It prints the file path; that is the video for step 1.
longthe clips skill, with this link as its source.
productthe product-video skill with this URL. A plain website (not a video site, file or share link) is always product, even after "edit my video": go straight to its brief, with no "did you mean your own footage" line.
musicthe music question with rights (style-edit, or product-video's music step).
unsupportedsay its note to the user, word for word, and go on with the rest.

An item with a note (Instagram profiles, Spotify, app stores, OneDrive): say the note once. fetch exit 3 means the site wants a login: ask in the question box "Use your browser's login for this one download?" (No, I'll download it myself (Recommended) / Yes, Chrome / Yes, another browser), and only on a yes re-run with --cookies-from-browser <browser>. Exit 1: say its message. Only download what the user may edit; a creator's video is for the teardown, not to re-edit.

1. The video

"Open the home page" (nextwork-editor, /ai-editor:start), "listen for jobs" or "take job <id>": references/home.md. No video, link or creator (a bare "edit my video"): ask Open the home page (Recommended) / I'll give the path / Use the sample take (cut's "No video yet?"). Edit folder: IMG_1234.MOV -> edits/img-1234.

2. Intake: ask nothing the profile or style answers

bash
python3 "$P" missing --style     # answered at setup, or by the style picked in the window

A JOB video (the window picked the style), "just edit it", or no id printed: run python3 "$P" defaults and ask nothing. It keeps every saved answer and fills the rest with the first option (audience "people curious about the topic", goal follow, names found in what they say). Post no status about defaults: the review page shows an audience only when the user gave one (review.py <edit> status "For <their audience>"). Otherwise read references/intake.md and ask the printed ids in one question box. Profile: python3 "$P" show.

3. Route

Do each step in order, skipping what is already done. Read each skill's SKILL.md before its step.

  1. setup, if any step fails because a tool is missing (setup.py doctor says FIX).
  2. creator-teardown in quick mode (its SKILL.md "Quick mode") for every profile creator without

creator-teardowns/<handle>/style.json. Say the time first (about a minute per creator). Run several creators in parallel when the platform allows.

  1. Blend the style: python3 "$P" style edits/<name> writes edits/<name>/style.json from the

parts the user ticked for each creator, with the caption and sound answers laid over (no creator: the default style). It prints the copied style's skill (skill: edit-like-<h> -> <path>): read it and follow its learned rules through the cut and the edit. no creator style.json found: run step 2 again.

  1. cut on the raw take, from its step 0b (start has already decided: cut, wait for the cut page

approval, then style). The user approves the cut page. This is approval 1 of 2.

  1. style-edit with edits/<name>/style.json. Renders on the cut's approve; the edit is approval 2. It reads the

profile itself: the brand kit sets the look, names get real logos and captures, assets_dir images go on screen first, avoid is enforced by plan.py. Letterbox (wide take, title on top): cut --max-pause 0.5, --layout letterbox. skill=<skill> on the job: step 5 is that skill, not style-edit (references/home.md, Skill style).

Between steps say one line about what is next. Never ask the user to do a step the skill can do.

4. After

The render is handed over on the review page (style-edit step 8). Corrections go to the taste skill; a change of brand, creators or platform goes back into the profile with python3 "$P" set ....

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
nextwork-projects
社区

creator-teardown

Reverse-engineers a short-form creator's video format from their real numbers. Pulls a TikTok or YouTube Shorts profile (or pasted links, Instagram reels too) with view, like and save counts, transcribes the top videos word for word, measures pace, pauses and fillers, maps each video into timed beats, and writes a teardown.md someone can film from, a teardown.html page of their graphics, motion and sound, and the style.json the ai-editor plugin edits from (on its own it can write an edit plan as

安装量
2
GitHub Stars
58
最近更新
10月16日
nextwork-projects
社区

cut

Cuts raw talking-head footage into a clean jump cut. Takes one take or several joined (mp4 or mov, any aspect, 4K phone footage is fine), transcribes it word by word, removes retakes, false starts, fillers and dead pauses, and renders cut.mp4 at the source resolution plus words.json timed to the cut. The user approves the cut on a page with the whole transcript and every removed word struck through. Use when the user says "cut my video", "just cut it", "remove my mistakes", "cut out the retakes"

安装量
2
GitHub Stars
58
最近更新
10月16日
nextwork-projects
社区

logo-pack

Builds clean brand-colour logos for every company, app or tool named in a video. Lists the names from the edit's transcript, fetches each brand's own logo (SVG first, else a large PNG) with the editor's logo code, trims it, makes a transparent 512 px PNG beside the SVG, checks each one (official, transparent, sharp, brand colours) and fixes the failures, then notes the logos named together so the edit shows them side by side. Writes the files style-edit already reads (images/logo- .svg|png) plus

安装量
2
GitHub Stars
58
最近更新
10月16日
nextwork-projects
社区

motion

Builds bespoke motion graphics for an edit, one animated clip per beat (HyperFrames + GSAP), each designed for its line and landing on the spoken word, then lays them on the footage through the style-edit render. Picks the beats that need motion (a count, a list, a flow, a before and after, a run, a mechanism), writes a brief per clip, runs one clip-builder agent per clip at once, gates every clip (lint, layout, render, a frame-to-frame motion check, contact sheets), and falls back to the templa

安装量
2
GitHub Stars
58
最近更新
10月16日