Skip to content
Back to skills

Serving

ASecurity

"Guide Otter controller, worker, Gradio, local CLI, endpoint,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolsgoflaskdebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Serving?

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

Security grade badge for Serving
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-serving-8a54cd2e/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-serving-8a54cd2e)

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
description: "Guide Otter controller, worker, Gradio, local CLI, endpoint,
  import, port, and load-bit serving workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Otter serving sub-skill

Use this sub-skill when the task is to expose Otter or Flamingo generation through a local controller/worker service, Gradio image/video UI, direct text-generation CLI, or HTTP streaming endpoint.

## Route here for

- Controller, model-worker, Gradio image UI, Gradio video UI, worker registration, heartbeats, and queue dispatch.
- Model-worker options such as `--checkpoint_path`, `--model_name`, `--num_gpus`, `--load_bit`, controller/worker URLs, and concurrency.
- Streaming request payloads containing `prompt`, optional base64 image/video frames, and `generation_kwargs`.
- Debugging known serving import problems, dependency/version issues, missing constants, bad ports, registration failures, and GPU/load-bit problems.
- Local text-only CLI generation with `--model-name`, `--device`, `--num-gpus`, and conversation templates.

## Route away

- Ad hoc package/API inference or YAML batch prompt files: [model-inference](../model-inference/SKILL.md).
- Training, finetuning, Accelerate/DeepSpeed, and checkpoint save cadence: [training](../training/SKILL.md).
- Benchmark configs and evaluator registries: [benchmark-evaluation](../benchmark-evaluation/SKILL.md).
- MIMIC-IT data conversion, Syphus, and schema validation: [data-preparation](../data-preparation/SKILL.md).

## Operating workflow

1. Decide whether the user needs a three-process web demo, a direct local CLI, or endpoint/API debugging.
2. Read [serving topology](references/serving-topology.md) for controller, worker, Gradio, and local CLI roles.
3. Generate safe command templates with [build_serving_commands.py](scripts/build_serving_commands.py). The helper prints commands only; it never starts servers or loads models.
4. Before launching anything, run [check_serving_imports.py](scripts/check_serving_imports.py) in the target environment. Use `--repo-root` only when the user is working in an Otter checkout and wants checkout-specific diagnostics.
5. For endpoint shapes and worker payloads, read [API reference](references/api-reference.md).
6. For failures involving `pipeline.constants`, Gradio versions, worker registration, GPU memory, image payloads, or stalled streaming, use [troubleshooting](references/troubleshooting.md).

## Quick reference map

| Need | Start with |
|---|---|
| Three-process controller + worker + Gradio plan | [serving topology](references/serving-topology.md#three-process-demo-topology) |
| Generate commands with custom ports/model path | [build_serving_commands.py](scripts/build_serving_commands.py) |
| Check imports without starting services | [check_serving_imports.py](scripts/check_serving_imports.py) |
| Understand controller/worker endpoints | [API reference](references/api-reference.md) |
| Diagnose missing `pipeline.constants` or `flamingo` import | [troubleshooting](references/troubleshooting.md#known-checkout-import-defects) |
| Choose `fp16`, `bf16`, `int8`, `int4`, or `fp32` | [serving topology](references/serving-topology.md#worker-model-loading-choices) |

## Safety boundary

Serving launches long-running processes, opens network ports, can download or load large checkpoints, and may allocate multiple GPUs. Do not start controller, worker, Gradio, or Flask services unless the user supplies the model/checkpoint, host/port policy, GPU budget, and explicit permission to launch them.

Files in this skill

  • SKILL.md3.5 KB
  • references/api-reference.md3.8 KB
  • references/serving-topology.md5.8 KB
  • references/troubleshooting.md5.5 KB
  • scripts/build_serving_commands.py5.6 KB
  • scripts/check_serving_imports.py4.6 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.