modellixlisted
Install: claude install-skill Modellix/modellix-skill
# Modellix Skill
Modellix is a Model-as-a-Service (MaaS) platform with async image/video generation APIs. The invariant flow is: submit task -> get `task_id` -> poll until `success` or `failed`.
## Official Docs
- AI Onboarding (agent quick start): https://docs.modellix.ai/get-started.md
- API: https://docs.modellix.ai/ways-to-use/api.md
- CLI: https://docs.modellix.ai/ways-to-use/cli.md
- Full Models Docs Index: https://docs.modellix.ai/llms.txt (or use `references/REFERENCE.md` locally to query specific model invocation methods)
## Execution Policy (CLI-first)
Always choose execution path in this order:
1. Use **CLI** when `modellix-cli` is available and authenticated.
2. Fall back to **REST** when CLI is not installed, unsuitable, or missing capability.
3. Prefer machine-readable outputs (`--json`) in CLI flows.
For CLI mode, use these two commands as the default command set:
- Create task: `modellix-cli model invoke --model-slug <provider/model> --body|--body-file ...`
- Get result: `modellix-cli task get <task_id>`
Do not guess or invent deprecated flags (for example `--model-type`). Use `--help` only as an assistive fallback when command behavior is unclear.
## API Key Lifecycle Policy
Always handle `MODELLIX_API_KEY` with this lifecycle: `discover -> request -> use-session -> (optional) persist-user-env`.
### 1) Discover existing key first
Before asking the user for credentials, check in this order:
1. Current session environment variable `MODELLIX_API_KEY