cavi-ai
GitHub ↗

CLI reference

The repository ships two Node scripts: a doctor that validates the Obsidian CLI, and an installer that stages host packages.

obsidian-cli.mjs#

sh
node scripts/obsidian-cli.mjs doctor

doctor is the only subcommand. It checks the installed official Obsidian CLI and reports whether the setup is usable. It never installs Obsidian, changes the CLI setting, or touches a vault.

install.mjs#

sh
node scripts/install.mjs --host <host> --scope <scope> [--project <path>] [--confirm]
FlagValuesMeaning
--hostclaude, codex, agy, opencode, openclaw, hermes, agentskillsTarget host to stage. Required.
--scopeuser, projectInstall for the user, or stage into a project. Required.
--projectabsolute pathProject root for --scope project. Defaults to the current directory.
--confirm—Apply the plan. Without it the command is a dry run.

By default every invocation is a dry run: it prints each destination and a content-bound plan and changes nothing. Add --confirm to write the staged package.

An install plan can never escape the selected host root — the installer rejects any plan whose destination would fall outside it.

See Host packaging for what each host receives, and Installation for the per-host paths.