/akari:render-cutfrom akari
Takes an approved edit.json and edit-lint PASS through final MP4 planning, approval, local ffmpeg export, ffprobe verification, and visual keyframe inspection.
Ships in akari. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Language: Respond in the user's language — conversation, questions, approval prompts, and the reports and records you write (including decision-log rows) follow the language the user writes in.
First run akari doctor --json. Use render_cut.path as <render-cut> and cli.node.exec_path as the node executable.
When cli.node.runtime is electron, invoke it with cli.node.required_env (ELECTRON_RUN_AS_NODE=1) as shown in cli.node.invocation.sh / .cmd; without this, the GUI application opens.
cli.node.electron_run_as_node only reflects the diagnostic environment; do not use it to decide whether the executable works.
For older versions without runtime, treat an exec_path basename other than node or node.exe as Electron and likewise set ELECTRON_RUN_AS_NODE=1.
If the version does not yet output these fields, use the discovery sequence below.
ls these three locations in table order; use the first existing <render-cut>.
| Form | macOS | Windows |
|---|---|---|
| (a) Bundled desktop application | <App>/Contents/Resources/packages/render-cut/bin/render-cut.mjs (default <App> is /Applications/AKARI Video.app) | <install dir>\resources\packages\render-cut\bin\render-cut.mjs |
(b) install.sh path | ~/.akari/app/packages/render-cut/bin/render-cut.mjs | %USERPROFILE%\.akari\app\packages\render-cut\bin\render-cut.mjs |
| (c) Monorepo | <repo>/packages/render-cut/bin/render-cut.mjs | <repo>\packages\render-cut\bin\render-cut.mjs |
Users who only use desktop form (a) do not have ~/.akari/app.
Resolve node in this order: AKARI_NODE_BIN → node on PATH (20 or later) → bundled Electron run as node with ELECTRON_RUN_AS_NODE=1. Below, node means the executable resolved this way, and <render-cut> means the executable path resolved above.
Do not read all of edit.json or captions.json; grep by ID and read only matching lines (how to read edit.json). This skill does not write them. If another stage must write them, use Edit on the matching lines or the edit-store script API.
Confirm that the target project's edit.json is approved and .akari/lint.json has verdict pass. Otherwise run akari lint and fix it. Use --force only with explicit approval to override the lint result.
Generate only the plan.
node <render-cut> <project-root> --plan-only
Read <project>/.akari/render.json and <project>/.akari/reports/render-report.html; present predicted duration, output location, ffmpeg command sequence, intermediates, rasterizer candidates, and input hashes.
Obtain explicit human approval for this specific export and wait for it. Do not construe silence, earlier blanket approval, or approval given before the plan as approval for this run.
Run the export only after approval.
node <render-cut> <project-root>
Add --out <path> only to specify the output explicitly. Do not manually replace the CLI's validate → plan → render → verify sequence.
Add --engine gpu to request direct GPU rendering explicitly. HTML animated only with CSS animation / transition / @keyframes / Web Animations / @property qualifies as a DOM layer. Karaoke / pop / reveal / reveal-word in words[] and supported emphasis_words qualify for GPU-native rendering. A two-point entrance animation using opacity plus 2D translate / scale only on the single root element of declarative 3D also qualifies. Ineligible captions or HTML fail closed with a reason. On Windows / Linux, evaluate GPU only when --engine gpu is explicit; --engine auto chooses GPU for eligible work and OSR otherwise on every platform.
Check the exit code and .akari/render.json. 0 means completion with verify PASS; 1 means refusal or verify FAIL; 2 means execution error. In provenance.rasterizer, check the selected method and why higher-ranked candidates were rejected. verify.findings includes exact duration and frame-count matches (verify.frame-count), successful decoding of every frame (verify.decode), resolution, fps, codec, and more.
After verify PASS, start visual keyframe inspection with the contact sheet the CLI generates at <project>/.akari/reports/contact-sheet.png. It tiles stills at representative times deterministically derived from the plan: start, immediately after each cut boundary, midpoint of each overlay/caption interval, and ending. Times are recorded in render.json at contact_sheet.timestamps_seconds. Extract additional frames only for intervals this misses (including those thinned to respect the contact-sheet tile limit). Check source-cut times, text, position, omissions, and alpha compositing.
Sampling trap: do not judge from boundary frames alone. A frame exactly on a beat or cut boundary always hits an interval boundary value (0% / 100% = offscreen or opacity 0). An element whose duration is exactly one beat therefore looks absent there; do not misdiagnose normal motion as a dead animation.
render.json contact_sheet.timestamps_seconds) includes the midpoint of each overlay / caption interval. For thinned intervals without a midpoint, capture more with akari capture --auto, which derives the same representative times deterministically and can be unioned with -t <時刻> (a specific time).--no-verify-blank): verify.blank-frames in verify.findings lists stretches of at least 0.3 consecutive seconds whose brightness remains at background level. Severity is warning if at least one overlay / cut is declared active there (the animation may have ended before its cut; investigate), or info if zero are active (likely an intended black interval; it may be ignored). Read the interval table and active IDs in render.json verify.declared.blank_frames and the HTML report. These findings do not change the verify verdict.Report machine verification values, deliverable SHA-256, selected rasterizer, fallback reasons, and the contact-sheet-based keyframe inspection result. On verify FAIL, do not describe the output as deliverable; retain .akari/render-tmp/ and report the cause.
Use the following command to make an L1 overview map only for the initial timeline review.
akari storyboard <project-root>
Store it in <project>/.akari/reports/storyboard/. Make the storyboard only once; do not update it on timeline changes. AI must not read it later or use it as input to image or video generation. If it needs redrawing, first fix edit.json / captions.json and have a human explicitly regenerate it.
<project>/exports/<source-name>.mp4. If that name exists, use a numbered name.<project>/.akari/render.json; the HTML report is only a visualization.akari decision-log settle). --no-settle suppresses this.<project>/.akari/render-tmp/ only on success; retain it for diagnosis on failure.captions.json into HTML and burn them in through the same path as other overlays.presets/textstyle/ and akari-apply-textstyle.mjs can apply them to captions.json. Resolve this executable by the same procedure; it lives under the same bin/ as <render-cut>. Usually plan-edit already applies the preset and render-cut draws that result directly.<project>/.akari/reports/contact-sheet.png as evidence, not as a pass/fail verdict. The timestamp list is derived deterministically only from the plan (predicted_duration_seconds / preset.fps / cuts / overlays). With the same edit.json and media, both timestamps and tiled image are byte-identical. Record timestamps in render.json contact_sheet.timestamps_seconds and link the sheet from render-report.html.<project>/.akari/reports/. If a person creates temporary verification scripts or experimental intermediates separately from the CLI's .akari/render-tmp/, place them in <project>/.akari/work/ (the .akari/work/ directory; project-structure-v0 contract §1). Separate disposable items in tmp/ from irreplaceable items in keep/; put neither at the project root.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub akarilabs/akari-video --plugin akari27 skills in this plugin
/akariCreate, open, or resume AKARI Video projects. Use when asked to make a video in a folder without `.akari/`, or to check an AKARI project's state./analyze-footageAnalyze one footage file in pull-driven levels L0–L3 and record only observed evidence in analysis.json v0. By default, run L0 metadata and L1 audio (`akari media probe` → `waveform` → `transcribe` only when speech is likely); cloud transcription requires approval. Inspect keyframes, editing events, and hooks at L2, or person tracks at L3, only when requested. Use for new footage, pre-edit analysis of one file, or footage analysis needed before plan-edit./analyze-musicAnalyze a track by listening in the browser timeline — chorus, accent hits, beat, BPM, and first downbeat — then save declarations.json for BGM suggestions and beat-synced editing. Use when a user wants to mark a song's chorus, improve BGM suggestions, cut to the beat, or create declarations. Use setup-library to add tracks.(旧名: declare-audio)/analyze-projectRead project assets (analysis.json) together with surrounding context (intake.json, edit.json, planning/, README, and past projects), create the interpretation layer interpretation.json, and render a read-only analysis report limited to facts and readings of the material. Use to understand a multi-asset project across sources, integrate completed analyze-footage results, or identify missing primary information for interviews before choosing a direction. plan-edit reads this output before deciding direction./author-overlayAuthor and review AKARI Video overlay HTML, captions, tables and charts, motion graphics, thumbnails, and text-behind-person effects. Routes the work to the relevant authoring leaf.(旧名: overlay-authoring)/author-scene3dAuthor 3D scenes for AKARI Video: Three.js + glTF motion parts by default, or bake a 3D recipe (scene.py) to MP4 with headless Blender only when the declarative runtime cannot produce the image. Use for 3D, Three.js, glTF, 3D text, device mockups, baking a 3D scene, and Blender. (旧名: bake-3d)Other plugins' skills for the same job