Skylark Edge
Skylark Edge

Command line

The skylark-edge command — list, download and run models from a terminal, check how long a machine can stay offline, and the environment variables it reads.

Installing the package also installs the skylark-edge command. It does what the Python API does, for scripts and for machines where you'd rather not write code.

Commands

CommandWhat it does
skylark-edge modelsOnline. Lists the models your license can download and Skylark Edge runs, with their versions, sizes and which are downloaded.
skylark-edge download <model>…Online. Downloads one or more models, or updates them to the latest version.
skylark-edge run <model> <image>…Runs a model on one or more images and prints what it found.
skylark-edge statusShows what is downloaded, when the license was last checked and until when this machine can run offline.
skylark-edge purgeDeletes every downloaded model and the saved license state from this machine.

Options that go before the command:

Option
--license-key <key>Your organization's license key. Default: SKYLARK_LICENSE_KEY, then the activation file.
--home <dir>Where models are kept. Default: SKYLARK_HOME, then your user data directory.

Options for run:

Option
--provider <name>auto (default), cpu, cuda, directml or coreml. See Choosing the hardware.
--jsonPrint each image's full results as one line of JSON.

Examples

$ skylark-edge models
cctv_detection                 2.1.0             83 MB  downloaded (2.1.0)
drone_detection                1.4.0            105 MB

$ skylark-edge download drone_detection
  drone_detection  [#########################] 100%   104.9 / 104.9 MB  (6.2s)
drone_detection 1.4.0 ready

$ skylark-edge run cctv_detection gate.jpg
gate.jpg: 3 detections in 214 ms
  person           0.91  [812, 301, 949, 702]
  person           0.84  [1204, 288, 1301, 640]
  four_wheeler     0.88  [96, 410, 640, 790]

$ skylark-edge status
home:            /home/ops/.local/share/skylark-edge
license key:     set
license checked: 2026-10-27 09:12 UTC
runs offline to: 2026-11-26 09:12 UTC
  cctv_detection                 2.1.0         83 MB
  drone_detection                1.4.0        105 MB

Boxes are [x1, y1, x2, y2] in the image's pixels.

run --json prints one JSON object per image, with the image's path in file, ready for jq:

skylark-edge run cctv_detection frames/*.jpg --json | jq -c '{file, counts}'

Exit codes

CodeMeaning
0Success.
1It failed. The message ends with the error code in brackets, for example [not_downloaded].
130Interrupted with Ctrl+C.

Environment variables

Variable
SKYLARK_LICENSE_KEYYour organization's license key, when it isn't passed in code or with --license-key.
SKYLARK_HOMEWhere models and the license state are kept.
HTTPS_PROXYA proxy for every connection Skylark Edge makes: to Skylark Central and for model downloads. Write it as http://host:port, or http://user:password@host:port. ALL_PROXY and HTTP_PROXY work too.
SKYLARK_ORT_LIBRARYThe path of an ONNX Runtime shared library to use instead of the installed onnxruntime package's.

The Python API reads the same variables.