/vean:setupfrom vean
Bootstraps a fresh vean clone for local development and agent use. Runs install, init, and doctor checks for system deps, repo state, Claude Code/Codex config, LSP/MCP plugins, and skill shims.
Ships in vean. 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.
Use this skill to bring a fresh clone to a working state for humans and agents.
Keep host setup here; keep timeline editing behavior in the editing skill.
Read AGENTS.md, README.md, and package.json.
Run:
bun install
bun run project:init
bun run doctor
Treat doctor as the source of truth for setup state. It checks system deps,
repo deps, local .vean/vean.db state, Claude Code plugin files, Codex
resolver wiring, skill shims, and, depending on --surface, vean CLI
registration, vean-lsp startup, and/or vean-mcp startup.
Fix every concrete failed check that is repo-local. Ask before host/user-level changes, global installs, package manager installs, or shell profile edits.
Re-run bun run doctor after changes.
For a consumer project outside the VEAN checkout, pass it explicitly:
vean doctor --repo /path/to/project. Doctor audits .vean state and project
routes at that path while resolving the CLI, LSP/MCP servers, skills, package
metadata, and frontend runtimes from the installed VEAN checkout. A consumer is
not expected to contain VEAN's own src/, viewer/, or skills.
When the host supports structured user questions (askuserquestion in Claude
Code, request_user_input in Codex plan mode), ask a short setup survey before
making preference-dependent changes. Otherwise ask the same questions plainly.
claude --plugin-dir /path/to/vean?melt/ffmpeg automatically when a supported
package manager is present, or only report commands?.vean/vean.db now? Default yes; it is
gitignored and holds setup choices, jobs, project metadata, and future UI
coordination state..app?
Native build requires Rust/Cargo and takes longer; scaffold verification is
enough unless the user is working on the app.raw first and let the setup flow create
the media:raw route alias.Default choices when the user does not answer and continuing is safe:
.vean/vean.db with bun run project:init.bun run project:init to create .vean/vean.db, apply
Drizzle migrations, and register the repo root in the projects table. Use
vean state status to inspect without mutating after CLI registration.
.vean/ must stay gitignored.vean media root add <path> --role raw --json, scan it with
vean media scan --json, and verify the generated route with
vean route resolve media:raw --json. This only catalogs lightweight
path/kind/size/mtime metadata; transcription, labels, proxies, and
model-backed inference are later action families.bun run doctor --surface lsp. This starts
vean-lsp unless --no-probe is passed. This is the safe first-pass check
before CLI PATH registration.bun run setup:cli from the repo root. That delegates to bun link, using the
package bin.vean entry so future calls can use vean ... instead of an
absolute path. Ensure ~/.bun/bin is on PATH for login shells, then verify
with vean doctor --surface cli-lsp, vean discover --json, and
vean timeline ops list --json.bun run doctor --surface cli.bun run doctor --surface mcp-lsp. Use this when the
chosen host should call vean through MCP tools in addition to receiving ambient
LSP diagnostics.bun run doctor --surface all..lsp.json registers
vean-lsp; .mcp.json registers vean-mcp; skills/setup and
skills/editing are plugin skills. Verify the chosen surface, e.g. bun run doctor --host claude-code --surface cli-lsp for CLI+LSP or bun run doctor --host claude-code --surface mcp-lsp when MCP is enabled. claude plugin validate may warn that root CLAUDE.md is not loaded as plugin context; that
is expected because plugin context is shipped via skills/*, while CLAUDE.md
remains the normal repo/project shim.AGENTS.md is the resolver. It points to
.agents/skills/setup/SKILL.md and .agents/skills/editing/SKILL.md. Verify
with bun run doctor --host codex --surface cli-lsp after CLI registration, or
bun run doctor --host codex --surface lsp before CLI registration. Use
--no-probe only when you want a fast resolver/symlink check without starting
stdio servers..agents/skills/* is the repo-local source of truth.
.claude/skills/* and skills/* should be symlinks back to .agents/skills/*.bun run app:doctor verifies the scaffold. If Rust/Cargo
is installed and the user wants the app build gate, run
bun run app:doctor -- --native; it builds the local macOS .app bundle.vean is checked out many times at once (Claude task chips spin off a git worktree per task; humans run parallel feature branches). One setup step makes
every present and future worktree self-initializing. See DESIGN-WORKTREE.md
§4.3–§4.4 for the full design.
Activate the on-create hook once per machine. From the canonical checkout, run this single command:
git config core.hooksPath .githooks
All worktrees share the common .git, so core.hooksPath is set once and
covers every worktree created afterward. The committed .githooks/post-checkout
hook fires whenever git worktree add creates a tree (and on branch checkouts),
and runs bun run worktree:init best-effort — it never fails a checkout.
What worktree:init does (idempotent — safe to run twice):
.vean/worktree.json (the
identity used as the default drive --name / agent-browser --session);--project pointer (bun run worktree:init --project <path>) to .vean/worktree-project so drive up in this tree
knows which shared project to preview — by reference, never a copy;.env.* analogue).What worktree:init does NOT do (DESIGN-WORKTREE.md §4.4a, load-bearing):
it never copies .vean/vean.db (there is no timeline/clips table — the edit
lives in .mlt/.tsx files; copying the DB only drags absolute paths and stale
jobs across trees), never copies media (shared/external/referenced), and
never copies secrets, node_modules/, or projects/ deliverables. It also
never runs bun link or git config — no global-state mutation.
The vean bin belongs to the canonical checkout only. Do not bun link
inside a worktree. The canonical tree owns ~/.bun/bin/vean; inside a worktree,
agents and scripts invoke through bun run <script> (already worktree-relative)
or bun src/cli.ts …. Running worktree:init manually is the fallback when the
hook did not fire: bun run worktree:init.
The main CLI is src/cli.ts and uses Commander for subcommands, help, and
argument parsing. Keep new first-class commands there. Legacy one-command scripts
may remain as thin compatibility wrappers while the CLI matures.
Minimum setup gate:
bun run project:init
bun run doctor
bun run typecheck
bun run lint
bun run test
State gate:
bun run project:init
vean state status
vean jobs list
vean discover --json
vean timeline ops list --json
Surface-specific gates:
bun run doctor --surface mcp
bun run doctor --surface lsp
bun run doctor --surface cli-lsp
bun run doctor --surface mcp-lsp
bun run doctor --surface cli
bun run doctor --surface all
Render-capable machines should also pass:
bun run move2:e2e
Native-app machines should also pass:
bun run app:doctor -- --native
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (tshah-95/vean) — no native marketplace selected
npx claudepluginhub p/tshah-95-vean3 skills in this plugin
/driveProve a vean UI change in the real loopback editor without taking over the desktop. Use the packaged H04 Playwright/Chromium runner for completion evidence; use the optional agent-browser path only for ad-hoc headless inspection. Native shell UI is outside this unattended local harness./editingHow to edit a vean timeline as an agent — drive the .mlt through the MCP/CLI domain tools (apply-op / preview-op / undo / render / still), trust the ambient vean-lsp for diagnostics (never poll diagnose in the loop), read each tool's consequences + inverse + optional alerts, and use render→still as your eyes. Use when making any change to a .mlt document through the bridge (apply an op, fix a diagnostic, tighten a cut, duck audio, add a dissolve).Other plugins' skills for the same job