Skip to content
Skill

Install stack flagos

Installs a five-package multi-chip AI software stack inside a running GPU container

Install stack flagos is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
22
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Install stack flagos

This skill walks an agent through installing vLLM, FlagTree, FlagGems, FlagCX and vllm-plugin-FL into a GPU container that already has PyTorch and GPU access. It runs helper scripts that detect the GPU vendor, Python and glibc versions, free disk space and whether GitHub and PyPI need a mirror, then installs the packages in a fixed dependency order.

The workflow checks disk space before installing and selects a pre-compiled FlagTree wheel that matches the vendor, Python and glibc combination. FlagCX is built in two phases, first the C++ library and then the PyTorch plugin. Each package is validated by import, and a final JSON report lists per-package status. The skill stops early if vLLM or the plugin fails, while other failures are recorded and the run continues.

The agent needs a running Docker container with PyTorch and GPU access, the container name, and the GPU vendor. It uses Docker commands, Python and git, and some installs use Bash, file editing and web lookups.

When your agent uses it

Install the 5-package multi-chip software stack (vLLM, FlagTree, FlagGems, FlagCX, vllm-plugin-FL) inside a GPU container. Handles network mirror detection, dependency ordering, wheel selection, and per-package validation. Use after gpu-container-setup has produced a running container with PyTorch + GPU access.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 11 files (42 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

Or copy only this skill to ~/.claude/skills/install-stack-flagos:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/install-stack-flagos &&
cp -R "$tmp/skills/install-stack-flagos" ~/.claude/skills/install-stack-flagos &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/install-stack-flagos inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/install-stack-flagos to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/install-stack-flagos &&
cp -R "$tmp/skills/install-stack-flagos" ~/.agents/skills/install-stack-flagos &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/install-stack-flagos inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/install-stack-flagos to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/install-stack-flagos &&
cp -R "$tmp/skills/install-stack-flagos" ~/.cursor/skills/install-stack-flagos &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/install-stack-flagos inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/flagos-ai/skills.git --path skills/install-stack-flagos

Or copy the folder to ~/.gemini/skills/install-stack-flagos yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/install-stack-flagos:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flagos-ai/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/install-stack-flagos &&
cp -R "$tmp/skills/install-stack-flagos" ~/.copilot/skills/install-stack-flagos &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/install-stack-flagos inside it instead.

VS Code docs on skills

Get the folder:

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

Then copy skills/skills/install-stack-flagos into your agent's skills folder as install-stack-flagos. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Network mirror detection
Probes GitHub and PyPI reachability and returns mirror settings for later install commands.
Environment profiling
Collects vendor, Python version, glibc, architecture and free disk space from the container.
Ordered package installs
Installs vLLM, FlagTree, FlagGems, FlagCX and the vLLM plugin in dependency order.
FlagTree wheel selection
Matches a pre-compiled FlagTree wheel to the vendor, Python and glibc versions.
Two-phase FlagCX build
Compiles the FlagCX C++ library and then installs its PyTorch plugin.
Import validation report
Import-tests all five packages and produces a structured status report with gate checks.

Good for

  • Set up vLLM and FlagGems inside a GPU container
  • Find a matching FlagTree wheel for my Python and glibc versions
  • Build and install the FlagCX PyTorch plugin on my accelerator
  • Check which packages in the multi-chip stack installed correctly
  • Configure a container to use GitHub or PyPI mirrors during installation

Install stack flagos FAQ

What must be in place before using Install stack flagos?

A running Docker container with PyTorch and GPU access, typically produced by the gpu-container-setup skill. The container name and GPU vendor are needed.

Which packages does Install stack flagos install?

vLLM 0.13.0, FlagTree, FlagGems, FlagCX and vllm-plugin-FL, in that order.

What happens if a package fails?

A vLLM or vllm-plugin-FL failure stops the run. Failures in FlagTree, FlagGems or FlagCX are recorded and the remaining steps continue.

Does Install stack flagos need any specific tools?

It uses Bash, Read, Edit, Write, Glob, Grep, WebSearch, WebFetch and AskUserQuestion, and the scripts are written in Python.

How do I install Install stack flagos in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/install-stack-flagos to use it in all your projects, or to .claude/skills/install-stack-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 Install stack flagos run scripts?

Yes. It runs Python scripts. No network calls were found in its 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 Install stack 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 Install stack flagos?

The closest alternatives to Install stack flagos are Vllm plugin fl setup flagos, GPU container setup flagos, Jetson package, Agent skill stack and Perf test flagos.

Where this comes from

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

More from flagos-ai/skills

  1. Starter template for writing new agent skills in the flagos-ai skills repository

    • Open source
    • 22 GitHub stars
    • Developer tools
  2. Reviews FlagGems operator pull requests against structural and naming rules

    • Open source
    • 22 GitHub stars
    • Developer tools
  3. Walks an agent through submitting FlagGems operator PRs with automated checks and tests

    • Open source
    • 22 GitHub stars
    • Developer tools
  4. Runs a full LLM deploy, verify and benchmark pipeline on multi-chip GPU backends

    • Open source
    • 22 GitHub stars
    • Cloud and infrastructure
  5. Detects your GPU vendor and launches a validated PyTorch container with its devices

    • Open source
    • 22 GitHub stars
    • Developer tools
  6. Routes GPU kernel generation, optimization and platform migration to MCP-backed workflows

    • Open source
    • 22 GitHub stars
    • Developer tools