# Vllm plugin fl setup flagos

> Vllm plugin fl setup flagos is an open-source agent skill for developer tools. Installs and configures vLLM-Plugin-FL across GPU and NPU hardware backends. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/flagos-ai/skills/tree/main/skills/vllm-plugin-fl-setup-flagos
- **Repository:** https://github.com/flagos-ai/skills
- **GitHub stars:** 22
- **License:** Apache-2.0
- **Skill name:** vllm-plugin-fl-setup-flagos
- **Collection:** https://github.com/flagos-ai/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill walks an agent through setting up the vLLM-Plugin-FL stack from source, covering the plugin itself, the FlagGems operator library and, optionally, the FlagCX communication library. It starts by detecting the hardware through vendor CLI tools such as nvidia-smi or npu-smi, then checks that vLLM 0.13.0 is the installed version before building anything.

The workflow includes verification imports after each install, guidance on cloning repositories through a user-supplied proxy when network access fails, and pointers to hardware-specific reference guides for Ascend, Iluvatar and Moore Threads devices. A closing offline inference test searches the machine for a local model, or asks the user for one, and confirms that the full stack can serve a prompt. The troubleshooting section covers memory limits, build dependency problems, plugin loading and FlagCX path errors.

The skill expects a Linux machine with Python 3.10 or newer, git, pip, and a GPU or NPU with its vendor drivers installed. It runs shell commands and Python snippets rather than bundled scripts.

## When your agent uses it

> Install and configure vLLM-Plugin-FL for multiple hardware backends including NVIDIA, Ascend and etc. Use when setting up vllm-plugin-fl, configuring the environment for specific hardware backend, installing dependencies, checking whether dependencies are installed successfully, resolving runtime issues, and launching inference to verify successful model serving. Trigger when the user says things like "setup vllm-plugin-fl", "install vllm-plugin-fl", "configure FL plugin", "set up FlagGems", or "set up FlagCX".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/flagos-ai/skills/tree/HEAD/skills/vllm-plugin-fl-setup-flagos)
- [License: Apache-2.0](https://github.com/flagos-ai/skills/tree/HEAD/skills/vllm-plugin-fl-setup-flagos)

## Features

- **Hardware backend detection:** Identifies the accelerator vendor by probing installed CLI tools such as nvidia-smi and npu-smi.
- **Plugin and FlagGems install:** Builds vLLM-Plugin-FL and FlagGems from source and verifies each import.
- **Optional FlagCX setup:** Covers building the FlagCX communication library for multi-device inference, with notes on when to skip it.
- **Backend reference guides:** Links to hardware-specific setup notes for Ascend NPU, Iluvatar and Moore Threads GPUs.
- **Offline inference smoke test:** Runs a short batched generation to confirm that the full serving stack works.
- **Common error troubleshooting:** Lists fixes for out-of-memory loads, FlagGems build failures, missing plugin loads and FlagCX path errors.

## Good for

- Set up vLLM-Plugin-FL on a fresh Ubuntu GPU server
- Install FlagGems and check that it imports correctly
- Configure the environment for an Ascend NPU machine
- Build and install FlagCX for multi-GPU inference
- Test whether a local model serves a prompt through the FL plugin

## Install

### Claude Code

This skill ships in the `flagos-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add flagos-ai/skills
/plugin install flagos-skills@flagos-skills
```

Or copy only this skill to `~/.claude/skills/vllm-plugin-fl-setup-flagos`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vllm-plugin-fl-setup-flagos &&
cp -R "$tmp/skills/vllm-plugin-fl-setup-flagos" ~/.claude/skills/vllm-plugin-fl-setup-flagos &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/vllm-plugin-fl-setup-flagos` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/vllm-plugin-fl-setup-flagos` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vllm-plugin-fl-setup-flagos &&
cp -R "$tmp/skills/vllm-plugin-fl-setup-flagos" ~/.agents/skills/vllm-plugin-fl-setup-flagos &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/vllm-plugin-fl-setup-flagos` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/vllm-plugin-fl-setup-flagos` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vllm-plugin-fl-setup-flagos &&
cp -R "$tmp/skills/vllm-plugin-fl-setup-flagos" ~/.cursor/skills/vllm-plugin-fl-setup-flagos &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vllm-plugin-fl-setup-flagos` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/flagos-ai/skills.git --path skills/vllm-plugin-fl-setup-flagos
```

Or copy the folder to `~/.gemini/skills/vllm-plugin-fl-setup-flagos` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vllm-plugin-fl-setup-flagos`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vllm-plugin-fl-setup-flagos &&
cp -R "$tmp/skills/vllm-plugin-fl-setup-flagos" ~/.copilot/skills/vllm-plugin-fl-setup-flagos &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vllm-plugin-fl-setup-flagos` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/flagos-ai/skills.git
```

Then copy `skills/skills/vllm-plugin-fl-setup-flagos` into your agent's skills folder as `vllm-plugin-fl-setup-flagos`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which vLLM version does Vllm plugin fl setup flagos require?

It expects vLLM v0.13.0 and includes a command to check the installed version before continuing.

### Do I need FlagCX?

No. FlagCX is an optional step for multi-device distributed inference and can be skipped for single-device setups or Ascend NPUs.

### What happens if git clone fails?

The skill asks for your http_proxy or https_proxy settings, configures them, and retries the clone.

### Which hardware is covered?

NVIDIA, Ascend, MetaX, Iluvatar, Moore Threads, Pingtouge, Tsingmicro and Hygon are named, but only Ascend, Iluvatar and Moore Threads have reference guides.

### How do I install Vllm plugin fl setup flagos in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vllm-plugin-fl-setup-flagos to use it in all your projects, or to .claude/skills/vllm-plugin-fl-setup-flagos in one project. Or install the flagos-skills plugin, which includes it: /plugin marketplace add flagos-ai/skills, then /plugin install flagos-skills@flagos-skills.

### Does Vllm plugin fl setup flagos run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Vllm plugin fl setup flagos?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Vllm plugin fl setup flagos?

The closest alternatives to Vllm plugin fl setup flagos are Install stack flagos, Perf test flagos, LLM observability, Configuration and Rtvi vlm customize model.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Install stack flagos](https://ai-powered.com/skills/install-stack-flagos): Install stack flagos is an open-source agent skill for developer tools.
- [Perf test flagos](https://ai-powered.com/skills/perf-test-flagos): Perf test flagos is an open-source agent skill for developer tools.
- [LLM observability](https://ai-powered.com/skills/llm-observability): LLM observability is an open-source agent skill for developer tools.
- [Configuration](https://ai-powered.com/skills/configuration-spark-arena): Configuration is an open-source agent skill for developer tools.
- [Rtvi vlm customize model](https://ai-powered.com/skills/rtvi-vlm-customize-model): Rtvi vlm customize model is an open-source agent skill for developer tools.
- [LLM evals](https://ai-powered.com/skills/llm-evals): LLM evals is an open-source agent skill for developer tools.
- [Flagship](https://ai-powered.com/skills/flagship): Flagship is an open-source agent skill for developer tools.
- [Jetson LLM benchmark](https://ai-powered.com/skills/jetson-llm-benchmark): Jetson LLM benchmark is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/vllm-plugin-fl-setup-flagos
