Skip to content
Skill

Model verify flagos

Checks a target model runs on the serving stack, isolating multi-chip failures

Model verify flagos is an open-source agent skill for ai models and llm tooling. 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 Model verify flagos

This skill verifies that a user-chosen model can be served by the software stack. It runs the model twice: once with FlagGems and FlagCX turned off to establish a baseline, and once with the full multi-chip stack enabled. Each run covers an offline inference test and a server test, and the results are compared to show whether a failure comes from the model itself or from the multi-chip layer.

The workflow asks for a model path or ModelScope/HuggingFace ID, downloads the model if needed, checks for a config file in local directories, and picks a default tensor parallel size from the visible GPUs. It then runs a diff script that classifies errors and reports a recommended stack for downstream steps. The run is skipped for the multi-chip pass when none of the multi-chip packages installed.

It expects a running container with the stack already installed, a prior environment check, and the helper test scripts from the companion env-verify skill. Scripts are written in Python and the skill is licensed under Apache-2.0.

When your agent uses it

Verify the serving stack with a user-specified target model. Runs twice: first with FlagGems/FlagCX disabled (isolate model-specific errors), then with full multi-chip stack enabled. Diffs the two runs to pinpoint which layer caused any failure.

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 4 files (17 KB) on GitHub on 5 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/model-verify-flagos:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/model-verify-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/model-verify-flagos &&
cp -R "$tmp/skills/model-verify-flagos" ~/.agents/skills/model-verify-flagos &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/model-verify-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/model-verify-flagos &&
cp -R "$tmp/skills/model-verify-flagos" ~/.cursor/skills/model-verify-flagos &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/model-verify-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/model-verify-flagos

Or copy the folder to ~/.gemini/skills/model-verify-flagos yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/model-verify-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/model-verify-flagos into your agent's skills folder as model-verify-flagos. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Two-run comparison
Runs the model with and without the multi-chip stack and compares the outcomes.
Failure layer isolation
Diffs both runs to point at the component responsible for an error.
Offline and server tests
Covers both an offline inference pass and a served-model health check.
Model download handling
Fetches remote model IDs or validates a local model directory before testing.
Structured JSON report
Outputs pass, partial or fail status with a recommended stack setting.
Error handling and timeouts
Defines timeouts and reports out-of-memory or GPU count mismatches clearly.

Good for

  • Check whether a specific large model serves correctly across multiple GPUs
  • Find out if a serving failure comes from FlagGems or from the base stack
  • Decide which software stack configuration to use for a given model
  • Validate a local model directory before running inference tests

Model verify flagos FAQ

What does Model verify flagos need before it runs?

A running container with the software stack installed, a completed env-verify run with at least the offline phase passing, and a model path or model ID.

What does the skill change?

It copies test scripts into the container and runs the model under two configurations, writing results to temporary files and a JSON report.

What happens if the model path is missing?

The skill asks the user for the path and waits rather than guessing one.

Why does Model verify flagos run the model twice?

The first run disables FlagGems and FlagCX to separate model-specific errors from multi-chip stack errors, and the second run enables them for comparison.

How do I install Model verify flagos in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/model-verify-flagos to use it in all your projects, or to .claude/skills/model-verify-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 Model verify 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 Model verify 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 Model verify flagos?

The closest alternatives to Model verify flagos are Model migrate flagos, Runpod vllm, Agent platform model registry, Huggingface community evals and Hf cloud serving image selection.

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. Installs a five-package multi-chip AI software stack inside a running GPU container

    • Open source
    • 22 GitHub stars
    • Developer tools