/akari:setup-connectionsfrom akari
Sets up and inspects AKARI Video connections: AI-service keys, allowed models, cost-approval policy, tool/media-service state, and 3D settings. For first-time setup, adding providers/keys, checking what's usable, and cost gates before paid generation.
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.
These rules always override detailed procedures.
Setup is not only the first run. Adding a key later and checking the current state also land here.
| The user says | Start with |
|---|---|
| 「何が使える?」「何が使えるか知りたい」 | §What is usable now |
| 「fal の鍵を設定したい」「API キーを入れたい」 | §Steps in execution order 3–4 |
| 「3D の設定を使いたい」 | §What is usable now (the 3D row), then author-scene3d |
| 「追加した鍵が効いているか確かめたい」 | §Steps in execution order 2 (doctor) |
| 「有償で生成してよいか」 | §Steps 5–6 (allowed models, estimate, cost approval) |
akari connect list --json and report the two groups, "AKARI tools" and "media creation". States are
"available", "key required", "preparing", and for the 3D setting alone "Blender required" when Blender is absent.
enabled: false means unused. credentialSource never contains a key value.generationOrder and fallbackOnFailure. By default, do not switch to another account
automatically on failure. They live in ~/.akari/connectors.json (override with AKARI_HOME); never write
key values there.akari generate still; fal video
through generate-video and akari generate video / akari generate resume.akari narration generate. ElevenLabs (Scribe) and Groq transcription use
analyze-footage's transcription path; do not offer the ElevenLabs card as narration.assets/scene3d/*/scene.py and Blender). Report "available" when Blender is installed..akari/connections.json → workspace .akari/connections.json → product-bundled defaults;
inspect providers, models.default / allowed, and policy. Check resolution with
node <このスキルのディレクトリ>/bin/resolve-connections.mjs [プロジェクトルート]
(existing placeholders: this skill's directory and project root). Never use unregistered connections or models outside allowed.doctor result. Only when rechecking is explicitly requested, run
node <このスキルのディレクトリ>/bin/doctor.mjs from the project root (existing skill-directory placeholder).
To check another project, pass its root or connections.json path as argument 1. Results run from a project
root are written back to files corresponding to each provider's origin layer (project / workspace / default).AKARI_CREDENTIALS_FILE to specify a replacement file only in tests.KEY=VALUE line to credentials.env; add 1 value-free entry to
.akari/connections.json's providers. For auth: env-key, env must use ${KEY_NAME} form.
Honestly retain unchecked for providers lacking a safe doctor adapter.models.allowed first, then choose models.default from it.
Declare per-task overrides at the next approval gate.Doctor writes back connections.json's doctor block and generates a read-only connections-report.html in the project root.
Display credentials only as present (masked) or absent; never show HTTP response bodies or key values.
Application-wide tool and service settings live in ~/.akari/connectors.json (override the location with AKARI_HOME).
Doctor displays the enabled state, generation order, and automatic fallback settings without credential values.
Check each connection with akari connect list --json (the CLI verb akari connect is unchanged).
This skill owns the key references, models.allowed, the cost-approval policy, and the free read-only doctor.
Choosing which allowed model to use is the production skill's job: it reads the ledger (for example
akari narration engines --json, packages/schemas/gen-models.json) and the user's preferences, then declares the
choice at the approval gate. Do not pick a model here on the user's behalf, and do not list model names, prices, or
voices in this skill's body — those facts live in the ledger (data) and are read at use time.
.akari/connections.json fields defaults.generate.still / defaults.generate.video specify default generation model IDs.still / video fields.packages/creator-root) and from the
ledger below. Do not copy model IDs, prices, or voices into this skill body.packages/schemas/gen-models.json.effective.defaults in node <このスキルのディレクトリ>/bin/resolve-connections.mjs [プロジェクトルート]
(existing placeholders: this skill's directory and project root).Follow this table for additional TTS connections. Humans issue keys; never put values in the registry.
| provider | credentials.env name | Source | Doctor's free GET |
|---|---|---|---|
fish-audio | FISH_AUDIO_API_KEY | https://fish.audio/app/api-keys/ | /wallet/self/api-credit |
google-ai | GEMINI_API_KEY | https://aistudio.google.com/api-keys | /v1beta/models (x-goog-api-key header) |
auth: env-key providers, doctor searches environment variables → new credentials.env → old credentials.env; env takes priority.env / credentials.env / 未設定 (machine output meaning unset). Show neither values nor last 4 characters.akari doctor's fal_key row shows the same 3 values. Missing keys do not change verdict or exit code.AKARI_CREDENTIALS_FILE only to substitute locations in tests.credentials.env; when akari connect exec passes a key, scope it to the child process. Never write keys to
arguments, logs, or deliverables.The memory array in .akari/connections.json declares external reference-memory connections distinct from
generation providers. Canonical source:
contract-2026-07-25-memory-connection-v0.md (Japanese).
They are read-only, without credentials or billing; this skill centrally manages them in the same registry as providers.
memory, minimally { "name": "<kebab-case>", "root": "<ローカルパス>" }
(existing placeholder: local path). Optional: entry (default INDEX.md), include/exclude, read_policy
(default read-only). No secrets such as API keys in root; it contains only routing information.memory entry. There is no matching credentials.env line
(memory has no auth/env).memory checks to lightweight checks separate from providers HTTP/authentication tests:
only existence of root and root+entry, free and read-only. This inherits hard rule 4's free/read-only principle.
However, schema design gives memory no doctor field, since there is no persistent authentication state;
v0 doctor.mjs does not implement this path check. v0 establishes data/skill contracts; implementation is next.root must not stop the consuming skill when it attempts to read (plan-video / plan-edit opening,
analyze-project context integration). See memory-connection-v0 §5 for degraded behavior.akari-video-internal).node packages/schemas/bin/validate-connections.mjs .akari/connections.json
(monorepo only; not bundled with distributed projects).bin/doctor.mjs (opens in a new tab)bin/resolve-connections.mjs (opens in a new tab)bin/resolve-packages.mjs (opens in a new tab)bin/test/doctor-i18n.test.mjs (opens in a new tab)bin/test/resolve-packages.test.mjs (opens in a new tab)dev-fixtures/resolve-packages-newest/README.md (opens in a new tab)dev-fixtures/resolve-packages-newest/reproduce.mjs (opens in a new tab)test/connectors-doctor.test.mjs (opens in a new tab)test/direct-tts-doctor.test.mjs (opens in a new tab)test/doctor-key-source.test.mjs (opens in a new tab)test/fieldreport-report-location.test.mjs (opens in a new tab)test/resolve-connections-defaults.test.mjs (opens in a new tab)test/resolve-connections.test.mjs (opens in a new tab)test/resolve-packages-newest.test.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
akari-video, connection-setup, api-keys, cost-approval, 3d-settings
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)Other plugins' skills for the same job