CLI Reference
Complete command reference for the Cortex Skills CLI.
Installation
npm install -g @cortex/cli # Node.js
pip install cortex-skills-cli # PythonCommands
cortex skill search [query]Search the registry. Supports --category, --difficulty, --compatibility flags.
$ cortex skill search --category "LLM Functions"cortex skill install <slug>[@version]Install a skill by slug. Optionally pin to a version. Saves to .cortex/skills/.
$ cortex skill install cortex-complete@2.1.0cortex skill listList all skills installed in the current project.
$ cortex skill listcortex skill update [slug]Update one or all installed skills to the latest version.
$ cortex skill update cortex-completecortex skill remove <slug>Uninstall a skill from the current project.
$ cortex skill remove cortex-completecortex skill info <slug>Show full metadata for a skill without installing it.
$ cortex skill info cortex-analystcortex skill publish <path>Publish a local SKILL.md to the registry. Requires authentication.
$ cortex skill publish ./SKILL.mdcortex initInitialise a .cortex/ directory in the current project.
$ cortex initGlobal Flags
| Flag | Description |
|---|---|
| --json | Output results as JSON |
| --verbose, -v | Enable verbose logging |
| --profile <name> | Use a named Snowflake connection profile |
| --help, -h | Show help for a command |
| --version | Print CLI version |