Skip to content
Back to skills

Serving And Cli

ASecurity

"Launch and operate Xinference services and model lifecycles

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
devopspythonapidatabasebackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill serving-and-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Serving And Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Serving And Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-serving-and-cli-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-serving-and-cli-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: serving-and-cli
description: "Launch and operate Xinference services and model lifecycles
  through public CLI surfaces with safe command templates, placement notes, and
  troubleshooting handoffs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Serving and CLI

Use this sub-skill when you need to start a local service, stand up a supervisor/worker cluster, or build safe command lines for model launch and lifecycle management.

## Covers

- Local cluster startup with `xinference-local`.
- Distributed startup with `xinference-supervisor` and `xinference-worker`.
- Top-level `xinference` service commands for:
  - `launch`
  - `list`
  - `terminate`
  - `register`
  - `unregister`
  - `registrations`
  - `cached`
  - `remove-cache`
  - `engine`
  - `cal-model-mem`
  - `vllm-models`
  - `stop-cluster`
  - `login`
- Placement and launch flags such as:
  - `--endpoint` / `-e`
  - `--model-name`, `--model-uid`, `--model-type`
  - `--n-worker`, `--n-gpu`, `--replica`
  - `--worker-ip`, `--gpu-idx`
  - `--enable-virtual-env`, `--disable-virtual-env`
  - `--virtual-env-package`, `--env`
  - `--api-key` placeholders

## Does not cover

- Python client calls or HTTP/OpenAI request bodies -> `client-and-api`
- Backend or model-family selection, optional engine installs, or model schema design -> `models-and-backends`
- Auth database, metrics policy, environment policy, or deployment hardening -> `operations-and-security`

## Working pattern

1. Read `references/cli-reference.md` for exact command shapes.
2. Use `scripts/render_xinference_commands.py` to generate copy-paste-safe templates.
3. Read `references/serving-workflows.md` for local, distributed, launch, and shutdown flows.
4. Read `references/distributed-deployment.md` for host/port and worker placement rules.
5. Read `references/troubleshooting.md` when a command fails, blocks, or returns a validation error.

## Safety rules

- Treat bundled command text as templates, not runnable automation.
- Real launches may download models and per-model dependencies.
- `launch` requires `--model-engine` for LLMs.
- Distributed placement must use full registered worker `IP:port` values.
- `--gpu-idx` is a comma-separated list of integers.
- Pass engine-specific extras as `--key value` pairs after the standard `launch` flags.
- Use `--enable-virtual-env` or `--disable-virtual-env`, never both.

## Bundled references

- [CLI reference](references/cli-reference.md)
- [Serving workflows](references/serving-workflows.md)
- [Distributed deployment](references/distributed-deployment.md)
- [Troubleshooting](references/troubleshooting.md)
- [Command renderer](scripts/render_xinference_commands.py)

Files in this skill

  • SKILL.md2.7 KB
  • references/cli-reference.md5.7 KB
  • references/distributed-deployment.md2.5 KB
  • references/serving-workflows.md2.7 KB
  • references/troubleshooting.md4.1 KB
  • scripts/render_xinference_commands.py3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.