capa init
Initialize a new capabilities file in your project directory.
Usage
capa init [--format json|yaml] Description
Creates a new capabilities.yaml (or capabilities.json) file with a default configuration template. This is typically the first command you run when setting up CAPA in a project.
Options
--format, -f
Specify the format of the capabilities file. Options are yaml or json.
Default: yaml
Examples
Initialize with YAML (default)
capa init Initialize with JSON
capa init --format json Generated File Structure
The command generates a template file with the following structure:
providers:
- cursor
options:
toolExposure: expose-all
skills: []
servers: []
tools: [] When to Use
- Starting a new project with CAPA
- Resetting your capabilities configuration
- Creating a template to share with your team
Related Commands
- capa install - Install the capabilities defined in the file
- capa add - Add skills from external sources