/akari:harvest-assetfrom akari
Harvests reusable video assets (3D, motion, captions, audio, B-roll) into an AKARI library: assesses admission, drafts meta.json with CSS-variable knobs, creates previews, updates INDEX, and validates.
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.
The library defaults to the workspace's library/. Without a workspace, use the legacy ~/.akari/assets/.
Check the first line of akari-assets list (or akari assets list) for the actual location.
Below, <ライブラリの置き場> is the existing library-location placeholder; audio belongs in its audio/ subdirectory.
Follow the order; do not ask humans for information you can derive.
Admit only things expensive or impossible to generate. Stop harvesting and report why unless both criteria are met:
Exclude simple subtitles, mere color variations, basic fades/slides, and fragments with only project-specific wording changed. If essentially the same as an existing asset, check whether its knobs can express the variation before adding variants.
meta.jsonRead the source fragment and same-level dependency assets; assemble a self-contained package in a temporary working directory. Before final placement, automatically extract:
knobs--name: value and var(--name, fallback).--x, --y, --scale, --rotate from asset-specific knobs.knobs[].default types; never invent values.colorslider; add min / max only when evidence can be extractedsrc → mediacheckboxdropdowntextgroup and label from variable names and usage sites. Note ambiguous inference in the draft;
do not add more human questions.requires and bundled files<script src>, module imports, @import, url(), src / href, Three.js addons/decoders,
fonts, models, textures, audio, video.requires; copy relative files.id: Generate kebab-case from source name/content.category: Choose a single category by distribution form from overlay / still / scene3d / audio /
broll / font (changed from topic-based categories on 2026-07-29). Timed HTML fragments are overlay;
untimed HTML sheets baked into images (e.g., thumbnail layouts) are still; Three.js + glTF or bake recipes are scene3d.
Put topics (captions, blackboards, lower thirds, BGM, SFX, thumbnails) in tags, not categories. Add no categories.title / description / tags: Summarize appearance, role, aspect, and scene from source/use context.provenance: Fill origin project, original path, generation method, prompt, timestamp from existing information; never fabricate unknowns.sips, ffprobe, or an available
GLB inspector; use for description/tags/preview judgments. Add no top-level fields absent from schema.author: Use known project/git information. Confirm tier (free / pro) with the owner; do not guess.
Do not write legacy price in new metadata.Align meta.json with v1 of packages/schemas/asset-meta.schema.json and https://github.com/AkariLabs/akari-video/blob/main/docs/contract-2026-10-04-asset-tier-v1.md;
use the official when_to_use key. Treat request wording when_use as meaning that key.
Briefly show extraction results; ask these 5 items together. Ask nothing else.
when_to_use: Which scenes/purposes?free / pro with the owner. pro cannot be combined with CC0.local (this project only) / shared (ancestor .akari/assets/, business/organization) /
user (<ライブラリの置き場>/, reusable across all projects; existing library-location placeholder) /
builtin (product repository; promotion via PR). Give guidance: use local if project-specific wording/assets remain;
use user if generalized. Never silently put assets into builtin.Reflect answers in meta.json. Admit no asset into any layer until its license is established.
preview.pngffmpeg.Previews identify contents; do not generate imaginary finished images different from the source. Any dimension conventions added in schema or category INDEX take priority.
assets/<category>/Use the registration scope established in step 3 at assets/<category>/<id>/; do not add hierarchy levels.
If the scope's actual directory (local = project / shared = ancestor .akari/assets/ /
user = <ライブラリの置き場>/, existing library-location placeholder) is absent, create it with category and INDEX.md.
Structure, meta.json v1, and validator are identical across layers. Minimum:
meta.jsonpreview.pngfragment.html for HTML, otherwise model/media filesNever overwrite a same-name directory. Compare contents and obtain an explicit decision to update or use a new ID. Leave no symlinks outside the library; make the package self-contained.
INDEX.mdAdd 1 row to assets/<category>/INDEX.md, following ID order or existing sorting conventions.
<id> — <何で、どんな場面向けかを一文で>
No duplicate rows. Add a category description to assets/INDEX.md only for a new category.
First check existence of packages/schemas/bin/validate-asset.mjs and packages/schemas/asset-meta.schema.json,
and read script usage. Current usage takes the target package as follows:
node packages/schemas/bin/validate-asset.mjs "assets/<category>/<id>"
If usage changes, the script is authoritative; do not guess arguments. On failure, fix meta.json, the minimum
3-file set, category match, relative dependencies, and INDEX; rerun until successful.
If script or schema is absent, do not treat it as success; retain this unchanged in the result report:
後で実行: node packages/schemas/bin/validate-asset.mjs(validator / schema 作成後)
when_to_use under non-schema when_use.builtin without asking scope.user / builtin, making assets unusable elsewhere.https://github.com/AkariLabs/akari-video/blob/main/docs/contract-2026-07-13-asset-library.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
27 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)npx claudepluginhub akarilabs/akari-video --plugin akariOther plugins' skills for the same job