cavi-ai
GitHub ↗

Capability manifest reference

capabilities.json is the canonical registry. This is its schema.

Top-level fields#

FieldTypeMeaning
pluginstringPlugin identifier. obsidian-agent.
requiresobjectHost requirements. Currently { "obsidian": ">=1.12.7" }.
transportstringHow workflows reach the vault. cli.
capabilitiesarrayThe capability records.

Capability record#

FieldTypeMeaning
idstringStable capability identifier, e.g. vault-synthesis.
descriptionstringWhen to use the capability — its "use when" trigger.
portablebooleantrue ships to every host; false is Claude-adapter-only.

Example#

json
{
  "plugin": "obsidian-agent",
  "requires": { "obsidian": ">=1.12.7" },
  "transport": "cli",
  "capabilities": [
    {
      "id": "vault-synthesis",
      "description": "Use when answering \"what do I know about X\" from the whole vault …",
      "portable": true
    }
  ]
}

Validation#

scripts/validate-registry.mjs checks the registry's shape and scripts/validate-portability.mjs checks that each host package carries exactly the capabilities the portable flag allows. Both run in the repository's test suite, so a malformed registry or a portability leak fails the build.