Skip to content
Back to skills

Models And Backends

ASecurity

"Select, validate, and troubleshoot Xinference model families,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
devopspythonapibackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill models-and-backends --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Models And Backends?

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

Security grade badge for Models And Backends
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-models-and-backends/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-models-and-backends)

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: models-and-backends
description: "Select, validate, and troubleshoot Xinference model families,
  custom model specs, virtual environments, LoRA, and runtime backends without
  assuming downloads or accelerator execution."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Models and Backends

Use this sub-skill when the task is about choosing a model family, checking a
custom model JSON file, matching a backend to a model format or quantization, or
diagnosing optional dependency and accelerator problems.

## Use this for

- Built-in and custom model families for LLM, embedding, rerank, image, audio,
  video, and flexible models.
- Custom model JSON validation before CLI or client registration.
- Backend/engine fit for `transformers`, `llama_cpp`, `vllm`, `sglang`, `mlx`,
  embedding/rerank/image/video/audio extras, telemetry, and vendor variants.
- Model format, quantization, size, `model_path`, `model_uri`, `model_id`, and
  local-vs-hub source decisions.
- LoRA attachment, per-model virtual environments, dependency markers, and
  launch-time package overrides.
- Memory-estimation planning and backend caveats before expensive launches.

## Route away when needed

- Starting local services, supervisor/worker processes, or model lifecycle CLI
  commands: `serving-and-cli`.
- Python client calls, HTTP request bodies, OpenAI-compatible base URLs, or
  streaming response handling: `client-and-api`.
- Auth, metrics, logging, persistent state, deployment hardening, and general
  environment-variable policy: `operations-and-security`.

## Working pattern

1. Identify the model type and model ability first.
2. Decide whether the task uses a built-in family, a custom model JSON, or a
   flexible launcher.
3. Validate custom JSON offline before trying to register or launch it.
4. Match the desired model format and quantization to a compatible backend.
5. Confirm platform gates and optional extras before claiming a backend is
   usable.
6. Add LoRA, virtualenv, and memory planning only after the family/backend pair
   is valid.
7. Route to service or client sub-skills for the actual launch or request.

## Required cautions

- LLM launches require an explicit `model_engine`; embedding, rerank, and image
  routes can have default engines when omitted.
- A package import, CLI help check, or JSON validation is not proof that a real
  model download or GPU/MPS backend run succeeded.
- vLLM and SGLang are CUDA/Linux-oriented and model-family constrained.
- MLX is macOS arm64 / Apple-silicon-specific.
- SGLang is not included in the `all` extra; install it deliberately.
- Custom video registration is not supported by the bundled checker; treat video
  custom specs as unsupported unless future package evidence changes.

## References

- [Model overview](references/model-overview.md) for the family/type map and
  selection cues.
- [Custom models](references/custom-models.md) for JSON shapes and registration
  boundaries.
- [Backend compatibility](references/backend-compatibility.md) for extras,
  platform gates, quantization, and memory planning.
- [Virtual envs and LoRA](references/virtual-envs-and-lora.md) for per-model
  dependency isolation and adapter attachment.
- [Troubleshooting](references/troubleshooting.md) for validation failures,
  missing extras, and backend-gate errors.

## Bundled checker

- [check_model_config.py](scripts/check_model_config.py) validates a custom
  model JSON file offline and can print a safe `xinference register` command
  template. It does not download models or start a service.

Files in this skill

  • SKILL.md3.5 KB
  • references/backend-compatibility.md4.1 KB
  • references/custom-models.md4.5 KB
  • references/model-overview.md2.3 KB
  • references/troubleshooting.md2.1 KB
  • references/virtual-envs-and-lora.md1.8 KB
  • scripts/check_model_config.py23.2 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.