Skip to content

init

Use capa init when you start a new project. It writes a default capabilities file (if missing) and registers the project in capa’s database against the local server.

Terminal window
capa init [-f|--format json|yaml]
FlagDescription
-f, --format <format>File format: json or yaml (default: yaml)
  1. Creates capabilities.yaml or capabilities.json in the current directory (skips creation if the file already exists). The default file sets options.toolExposure: search and adds the capabilities-manager and bootstrap skills.
  2. Ensures the capa server is running.
  3. Registers the project path and configures it on the server.
Terminal window
capa init
capa init -f yaml
capa init --format json