sktime-cli
The command line for sktime : built for AI agents and humans.
Discover estimators, fetch datasets, inspect time series files, and run fit / predict / evaluate workflows straight from your shell.
Highlights
- Stateless, one-shot commands - every invocation is a single process: read files, call sktime, write results, exit with a meaningful code. State lives on disk only, Hugging Face CLI style.
- Registry-native discovery -
registry searchfilters sktime's full estimator registry by scitype and capability tags, served from a disk cache so warm searches are instant. - Estimator spec strings -models are named the way you'd write them in
Python:
"NaiveForecaster(sp=12)", with pipelines via*, ensembles via+, and multiplexers via|. - Any format in, any format out - csv, parquet, json,
.ts,.tsf,.arff; every command speaks--format human|agent|json|quiet. - Agent-first contract - one JSON document on stdout, structured errors on stderr, stable exit codes, and a ready-to-drop-in agent skill.
Installation
uv tool install sktime-cli # or: pip install sktime-cli
Verify your setup and see which optional dependencies are available:
sktime-cli doctor
Quickstart
# what can I use?
sktime-cli registry search forecaster -t capability:missing_values=true
sktime-cli registry describe NaiveForecaster
# get data
sktime-cli datasets load airline --output airline.csv
sktime-cli data inspect airline.csv
# fit, predict, evaluate — estimators are given as sktime spec strings
sktime-cli run fit "NaiveForecaster(sp=12)" --data airline.csv --model-out model.zip
sktime-cli run predict --model model.zip --fh 1:12
sktime-cli run evaluate "NaiveForecaster(sp=12)" --data airline.csv --fh 1:12 \
--metric MeanAbsolutePercentageError
Command overview
| Group | Commands | What it does |
|---|---|---|
registry |
search · describe · tags · types |
Discover sktime estimators by scitype, name, and capability tags |
datasets |
list · describe · load |
Browse and fetch built-in, UCR/UEA, Monash, and fpp3 datasets |
data |
inspect · convert · split |
Detect mtypes/scitypes, convert formats, temporal train/test split |
run |
fit · predict · fit-predict · evaluate |
One-shot workflows for forecasting and classification |
model |
inspect |
Look inside a saved model artifact; round-trip its spec |
| (top level) | version · env · doctor · cache |
Environment info, health check, workspace management |
See the CLI reference for every option.
Built for AI agents
sktime-cli treats agents as first-class users. Add --json to any command
and you get exactly one parseable JSON document on stdout; errors are JSON on
stderr with stable codes and actionable hints.
| exit | meaning |
|---|---|
0 |
success |
1 |
library or unexpected failure |
2 |
usage error |
3 |
missing optional dependency (the hint says what to install) |
4 |
estimator / dataset / model not found |
5 |
data validation or spec error |
The full agent-facing contract and task-oriented workflows live in
skills/sktime-cli/SKILL.md — drop the skills/
folder into your agent's skill directory (e.g. .claude/skills/) and your
agent knows how to drive the CLI. The same file ships inside the wheel.
Documentation
| Document | Contents |
|---|---|
| Architecture | Repository layout, module map, dependency layering, data flow |
| Design | Design decisions: state model, output contract, error model, spec engine, caching |
| CLI reference | Full command tree with options |
| Agent skill | The contract agents are given |
| Plan | v0.0.1 milestones and roadmap |
Relation to sktime-mcp
sktime-cli is the CLI sibling of
sktime-mcp. The command vocabulary
mirrors its tool names (registry search ~ query_registry,
registry describe ~ describe_component, run fit/predict/evaluate),
so agent knowledge transfers between the two.
Status
v0.0.1 — early alpha. Discovery and one-shot runs are complete; see
PLAN.md for what's deferred to v0.0.2+. An adversarial agent
benchmark suite (foundation + hard tiers, provider-neutral run records,
scoring keys) is being developed on the
feat/adversarial-benchmark branch.
License
BSD 3-Clause, consistent with sktime.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sktime_cli-0.0.1.tar.gz.
File metadata
- Download URL: sktime_cli-0.0.1.tar.gz
- Upload date:
- Size: 119.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
626ddc7b5bd6c5917889456aaa108e90174ea7aa58718946bc23346fb8ad7101
|
|
| MD5 |
62d50c74ec4b721fa5c140f9b6b4bb1e
|
|
| BLAKE2b-256 |
f2735e5de05a6c25d565f964de182e88109c4a33648354bf5a424a296a14c5d9
|
Provenance
The following attestation bundles were made for sktime_cli-0.0.1.tar.gz:
Publisher:
release.yml on siddharth7113/sktime-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sktime_cli-0.0.1.tar.gz -
Subject digest:
626ddc7b5bd6c5917889456aaa108e90174ea7aa58718946bc23346fb8ad7101 - Sigstore transparency entry: 2582965659
- Sigstore integration time:
-
Permalink:
siddharth7113/sktime-cli@18153a5405e988713ca18c7e084309fbc329829a -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/siddharth7113
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@18153a5405e988713ca18c7e084309fbc329829a -
Trigger Event:
push
-
Statement type:
File details
Details for the file sktime_cli-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sktime_cli-0.0.1-py3-none-any.whl
- Upload date:
- Size: 40.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc5afec071208be508825feb0b84ee2da26aef2578b3462c7e0af7bb3b51911f
|
|
| MD5 |
91cce6164cf3ee4281ec1dc733d9a3c6
|
|
| BLAKE2b-256 |
761da1f5a53a9b2615d4d5f79b707548c74f2a0003959c6450d06d0540de0a90
|
Provenance
The following attestation bundles were made for sktime_cli-0.0.1-py3-none-any.whl:
Publisher:
release.yml on siddharth7113/sktime-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sktime_cli-0.0.1-py3-none-any.whl -
Subject digest:
fc5afec071208be508825feb0b84ee2da26aef2578b3462c7e0af7bb3b51911f - Sigstore transparency entry: 2582965664
- Sigstore integration time:
-
Permalink:
siddharth7113/sktime-cli@18153a5405e988713ca18c7e084309fbc329829a -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/siddharth7113
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@18153a5405e988713ca18c7e084309fbc329829a -
Trigger Event:
push
-
Statement type: