/akari:verify-editfrom akari
Verifies edit.json and optional analysis/captions/media files with a deterministic CLI, then performs frame inspection and QA reporting. Use after writing or modifying edit.json, before export, or after review feedback.
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.
Read when SKILL.md points to them.
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.
checked_at may be recorded but not used for judgments)..akari/lint.json and .akari/reports/. Never auto-fix edit.json;
fixes are human/agent edits visible in git diff..akari/intake.json is not an error: report skipped.
Runs at every project maturity level.--media does not decode media, preserving speed for startup/CI use..akari/reports/, the latter in .akari/work/
(project-structure-v0 contract §1, Japanese).
Within .akari/work/, use tmp/ for disposable files and keep/ for irreplaceable ones.First run akari doctor --json. Use edit_lint.path as <edit-lint> and
cli.node.exec_path as the node executable.
If cli.node.runtime is electron, include cli.node.required_env (ELECTRON_RUN_AS_NODE=1)
using cli.node.invocation.sh / .cmd; omitting it launches the GUI app.
cli.node.electron_run_as_node reflects only the diagnostic environment; do not use it to judge availability.
On older versions without runtime, treat an exec_path filename other than node / node.exe as Electron
and likewise set ELECTRON_RUN_AS_NODE=1. If these fields are absent, use the search below.
ls the following 3 forms top to bottom and use the first existing <edit-lint>:
| Form | macOS | Windows |
|---|---|---|
| (a) Desktop app bundle | <App>/Contents/Resources/packages/edit-lint/bin/edit-lint.mjs (default <App>: /Applications/AKARI Video.app) | <install dir>\resources\packages\edit-lint\bin\edit-lint.mjs |
(b) install.sh installation | ~/.akari/app/packages/edit-lint/bin/edit-lint.mjs | %USERPROFILE%\.akari\app\packages\edit-lint\bin\edit-lint.mjs |
| (c) Monorepo | <repo>/packages/edit-lint/bin/edit-lint.mjs | <repo>\packages\edit-lint\bin\edit-lint.mjs |
Users with only desktop app (a) have no ~/.akari/app.
Node resolution: AKARI_NODE_BIN → PATH node (20+) → bundled Electron as node with
ELECTRON_RUN_AS_NODE=1. Below, node means the resolved executable and <edit-lint> the resolved script path.
Do not Read all of edit.json / captions.json; grep by ID and read matching lines only (Reading edit.json).
Write through relevant-line Edit or edit-store's script API.
Immediately after saving edit.json, run:
node <edit-lint> <project-root|edit.json>
Resolve edit.json relative paths against the nearest ancestor with .akari/, or edit.json's directory if none.
akari capture --edit uses the same base.
Check exit code and <project>/.akari/lint.json: 0 PASS, 1 FAIL, 2 input/environment error.
On FAIL, read findings[] top-down; fix indicated edit.json, referenced files, overlay HTML, captions.json
with relevant-line Edit or edit-store's script API. Do not let the CLI auto-fix.
Rerun until no error findings and verdict: "pass". Check skipped[] for inspections lacking analysis.json/captions.json.
Before export, rerun with --engine gpu or --engine osr according to the output engine.
If export auto-selects, use --engine auto; engine compatibility must also PASS.
After PASS, follow Launch and check the existing preview to open target edit.json and verify
playback, seeking, and audio if present. Do not build a dedicated player. Report the checked entry point and
unverified items. Then visually inspect cut boundaries and overlay start/end frames.
Also inspect intermediate times at 1/4, 1/2, and 3/4 of every interval: exact beats/cut boundaries hit interval
extremes (0% / 100% = off-screen / opacity 0), risking misdiagnosis of normal motion.
akari capture --auto deterministically derives representative times including overlay/caption midpoints.
Mechanical PASS does not replace semantic quality checks.
Reflect <project>/.akari/reports/edit-lint-report.html and frame-inspection results in the editing report;
close checkpoint state/provenance according to actual results.
Add --media only when checking audio too. Silence/loudness values default to warnings;
only checks with these explicit thresholds can cause FAIL:
node <edit-lint> <project> --media
node <edit-lint> <project> --media --silence-error-seconds 2 --max-volume-error-db -0.1
For machine-readable stdout, add --json, e.g., node <edit-lint> <project> --json.
.akari/lint.json is always canonical; HTML is visualization only.
If .akari/intake.json exists (workflow-form storage; contract packages/schemas/intake.schema.json),
validate schema and consistency: unknown task IDs, simultaneous duration_s/keep_length,
status: submitted without submitted_at, etc. Invalid values are errors (FAIL);
status: "draft" (workflow undecided) is only a warning.
decision-log.predict-missing (warning): an item added in suggestions/direct mode lacks a machine:director
prediction row in decision-log.md.
Black frames, freezes, beats, scenes, flash frames, gaps, duplicate clips, offline media, safe zones, and frame-rate mismatches are future candidates; do not add guessed current PASS conditions.
Only when a declaration matching audio.bgm.path exists, build the timeline-seconds grid with
musicGrid from packages/audio-library-setup/shared/beat-grid.mjs and compare audio.sfx[].t.
Declaration resolution matches suggest-bgm / beat-grid:
--declarations → environment AKARI_SOUNDS_DECLARATIONS → <ライブラリ>/declarations.json
(existing library placeholder).
audio.sfx.music-grid (warning): Warn if the difference from the truly nearest grid point, regardless of kind,
exceeds ±0.12 seconds. Only on equal distance, prioritize hit > bar start > beat.
Off-beat staging is valid, so this is not an error.audio.sfx.music-grid-seam (warning): Warn for SE firing within ±0.3 seconds of a BGM end-to-start loop seam.Quietly skip if declarations/audio.bgm are absent, audio.sfx is empty, or ffprobe cannot obtain actual BGM duration.
Record reasons in skipped[], without warnings. Declarations are optional; this differs from automatic media beat detection.
Inspect edit.json fields defined by these public contracts. Do not infer checks for undeclared fields. Contracted checks (structure, unique IDs, ranges, reference consistency) are already implemented.
sources[] / cuts[].src (Japanese)
— required version: 1 form, mutual exclusion of source/sources[], unique sources[].id, consistent cuts[].src referencesaudio.narration[] (Japanese)
— ID form/uniqueness, t timeline coordinates, gain_db range, provenance/creditbeats[] (Japanese)
— id, t (source seconds), kind, strength, consistent src references (src is v1 only)direction (Japanese)
— required preset, intensity range, overrides typeemphasis_words[] (Japanese)
— ID form/uniqueness, t_end > t_start (source seconds), consistent src references (src is v1 only)packages/schemas/engine-capabilities.json.
--engine gpu|osr|auto checks ignored / partial / missing compatibility-table entries.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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