CLI Reference

Complete command reference for the Cortex Skills CLI.

Installation

npm install -g @cortex/cli   # Node.js
pip install cortex-skills-cli  # Python

Commands

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.0
cortex skill list

List all skills installed in the current project.

$ cortex skill list
cortex skill update [slug]

Update one or all installed skills to the latest version.

$ cortex skill update cortex-complete
cortex skill remove <slug>

Uninstall a skill from the current project.

$ cortex skill remove cortex-complete
cortex skill info <slug>

Show full metadata for a skill without installing it.

$ cortex skill info cortex-analyst
cortex skill publish <path>

Publish a local SKILL.md to the registry. Requires authentication.

$ cortex skill publish ./SKILL.md
cortex init

Initialise a .cortex/ directory in the current project.

$ cortex init

Global Flags

FlagDescription
--jsonOutput results as JSON
--verbose, -vEnable verbose logging
--profile <name>Use a named Snowflake connection profile
--help, -hShow help for a command
--versionPrint CLI version