config
Manage the CLI configuration file at ~/.config/skillsctl/config.yaml.
Synopsis
Section titled “Synopsis”skillsctl config init [--force]skillsctl config set KEY VALUEskillsctl config get KEYskillsctl config listSubcommands
Section titled “Subcommands”| Subcommand | Description |
|---|---|
init | Create the config file interactively |
set KEY VALUE | Set a single configuration key |
get KEY | Print the effective value for a key |
list | Print all configuration values |
| Flag | Description |
|---|---|
--config-path PATH | Path to config file. Default: ~/.config/skillsctl/config.yaml. |
--force | (init only) Overwrite an existing config file. |
Valid keys
Section titled “Valid keys”| Key | Description | Default |
|---|---|---|
api_url | Registry server URL | http://localhost:8080 |
skills_dir | Directory where installed skills are written | ~/.claude/skills |
Examples
Section titled “Examples”Run interactive setup:
skillsctl config initNo configuration found. Let's set up skillsctl.
API URL [http://localhost:8080]: https://skills.example.comSkills directory [/home/you/.claude/skills]:
Config saved to /home/you/.config/skillsctl/config.yamlOverwrite an existing config:
skillsctl config init --forceSet a single key:
skillsctl config set api_url https://skills.example.comGet the effective value for a key (config file value, unless overridden by a global flag):
skillsctl config get api_urlhttps://skills.example.comList all configured values:
skillsctl config listapi_url: https://skills.example.comskills_dir: /home/you/.claude/skillsCommon errors
Section titled “Common errors”Error: config file already exists. Use —force to overwrite.
Run skillsctl config init --force to replace the existing file.
Error: unknown key “KEY”
The key is not recognized. Valid keys are api_url and skills_dir.
Error: config file not found
No config file exists at the expected path. Run skillsctl config init to create one, or pass --api-url as a global flag.