# Model verify flagos

> Model verify flagos is an open-source agent skill for ai models and llm tooling. Checks a target model runs on the serving stack, isolating multi-chip failures. 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/model-verify-flagos
- **Repository:** https://github.com/flagos-ai/skills
- **GitHub stars:** 22
- **License:** Apache-2.0
- **Skill name:** model-verify-flagos
- **Collection:** https://github.com/flagos-ai/skills
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-02

## About

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.

## What it can access

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

- [Runs Python scripts](https://github.com/flagos-ai/skills/tree/HEAD/skills/model-verify-flagos)
- [Asks for: Bash(*), Read, Edit, Write, Glob, Grep, WebSearch, WebFetch…](https://github.com/flagos-ai/skills/blob/HEAD/skills/model-verify-flagos/SKILL.md)
- [No network calls found in its scripts](https://github.com/flagos-ai/skills/tree/HEAD/skills/model-verify-flagos)
- [Includes binary files](https://github.com/flagos-ai/skills/tree/HEAD/skills/model-verify-flagos)
- [License: Apache-2.0](https://github.com/flagos-ai/skills/tree/HEAD/skills/model-verify-flagos)

## Features

- **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

## 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/model-verify-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/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.

### Codex

Copy the skill folder to `~/.agents/skills/model-verify-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/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.

### Cursor

Copy the skill folder to `~/.cursor/skills/model-verify-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/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.

### 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/model-verify-flagos
```

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/model-verify-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/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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Model migrate flagos](https://ai-powered.com/skills/model-migrate-flagos): Model migrate flagos is an open-source agent skill for ai models and llm tooling.
- [Runpod vllm](https://ai-powered.com/skills/runpod-vllm): Runpod vllm is an open-source agent skill for cloud and infrastructure.
- [Agent platform model registry](https://ai-powered.com/skills/agent-platform-model-registry): Agent platform model registry is an open-source agent skill for cloud and infrastructure.
- [Huggingface community evals](https://ai-powered.com/skills/huggingface-community-evals): Huggingface community evals is an open-source agent skill for ai models and llm tooling.
- [Hf cloud serving image selection](https://ai-powered.com/skills/hf-cloud-serving-image-selection): Hf cloud serving image selection is an open-source agent skill for design and media.
- [Model adaptation](https://ai-powered.com/skills/model-adaptation): Model adaptation is an open-source agent skill for ai models and llm tooling.
- [Hf cloud sagemaker production defaults](https://ai-powered.com/skills/hf-cloud-sagemaker-production-defaults): Hf cloud sagemaker production defaults is an open-source agent skill for cloud and infrastructure.
- [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/model-verify-flagos
