cavi-ai
GitHub ↗

Host packaging

Every host receives the same canonical workflows; only the package shape and invocation differ. The installer stages each package from the registry and the shared skills/ directory.

What each host gets#

HostPackage shapeNotes
Claude CodeNative Claude pluginCarries the portable skills plus thin compatibility commands for the Claude-only workflows.
CodexSelf-contained marketplace package.codex-plugin/plugin.json, ./skills/, and exactly the portable skills. Staged, not activated.
AgyNative pluginplugin.json and skills/ at ~/.gemini/config/plugins/obsidian-agent (user) or .agents/plugins/obsidian-agent (project).
OpenCodeUser or project skillsPortable skills installed into the OpenCode skill roots.
OpenClawUser or workspace skillsPortable skills installed under ~/.openclaw/skills or the workspace skills/.
Hermes AgentUser or project skillsPortable skills installed under ~/.hermes/skills or .hermes/skills.
AgentSkills hostsPortable SKILL.md filesThe lowest-common-denominator package; invoked through the host's normal skill mechanism.

Staging with the installer#

node scripts/install.mjs --host <host> --scope <scope> computes the destination roots for the chosen host and scope and stages the package there. User scope installs for the current user; project scope stages into a project (current directory, or --project <path>).

For Codex, staging creates the marketplace package at ~/plugins/obsidian-agent (user) or <project>/plugins/obsidian-agent (project). Staging never activates a plugin or edits marketplace state; install it through the CAVI marketplace or an explicitly configured Codex marketplace.

The packaging contract#

  • A host package carries exactly the capabilities its portable flag allows — a

Claude-only workflow never appears in a portable package.

  • Adapters package or delegate to the canonical skill; they never fork behavior.
  • scripts/validate-portability.mjs enforces both rules against the registry.

See the CLI reference for every installer flag and Hosts and portability for the portability contract.