Skip to content

CLI Reference

Skern provides a set of commands for managing agent skills across platforms. Every command supports --json for machine-readable output and --quiet for silent operation.

Pages

  • Commands — full reference for every command including flags and usage examples.
  • Validation — rules enforced by skern skill validate and during skill creation.
  • Overlap Detection — fuzzy matching, similarity scoring, and capacity thresholds.

Command Groups

skern skill --help splits subcommands into two groups:

  • Registry commands — manage skills in skern itself (create, import, edit, remove, list, show, search, validate, version, diff, recommend).
  • Platform commands — deploy registered skills to a platform (install, uninstall).

The registry holds the canonical skill. Install copies the skill into a platform's directory; uninstall removes the platform copy without touching the registry; remove deletes the skill from the registry entirely.

Global Flags

FlagDescription
--jsonOutput in JSON format
--quietSuppress non-essential output
--scope user|project|allTarget user-level or project-level registry (most commands)

Exit Codes

CodeMeaning
0Success
1Error
2Validation failure (skern skill validate errors, name validation failures, etc.)

Released under the Apache 2.0 License.