
Model migrate flagos
Ports a new model from upstream vLLM into the vllm-plugin-FL project at v0.13.0
Model migrate 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
- shell, Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 22
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Model migrate flagos
This skill walks an agent through bringing a model from the latest upstream vLLM source into the vllm-plugin-FL project, which is pinned to vLLM 0.13.0. The approach copies the upstream model file as-is and then applies a catalogue of compatibility fixes, such as converting relative imports, redirecting config classes to a plugin-side config bridge, and removing APIs that do not exist in the pinned release. Registration, static review, unit and functional tests, a benchmark run with dummy weights, and a smoke-test request follow.
The final stage compares generated tokens from the local plugin server against a reference server running upstream vLLM, reporting how many leading tokens match. The skill includes shell and Python helpers for serving, benchmarking, remote reference-server control over SSH, and the comparison itself, with prompts that cover both text and image inputs.
Using it requires a local checkout of vLLM upstream, an editable install of vllm-plugin-FL, and a CUDA GPU. Model names are passed in snake_case.
When your agent uses it
Migrate a model from the latest vLLM upstream repository into the vllm-plugin-FL project (pinned at vLLM v0.13.0). Use this skill whenever someone wants to add support for a new model to vllm-plugin-FL, port model code from upstream vLLM, or backport a newly released model. Trigger when the user says things like "migrate X model", "add X model support", "port X from upstream vLLM", "make X work with the FL plugin", or simply "/model-migrate-flagos model_name". The model_name argument uses snake_case (e.g. qwen3_5, kimi_k25, deepseek_v4). Do NOT use for models already supported by vLLM 0.13.0 core, or for multimodal-only components that don't need backporting.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs shell and Python scripts(see the files on GitHub)
- Asks for: Bash(pytest:*), Bash(python3:*), Bash(git:*), Bash(vllm:*), Bash(cp:*), Bash(curl:*), Bash(bash:*), Bash(test:*)…(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: Apache-2.0(see the files on GitHub)
From a static check of its 15 files (210 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-skillsOr copy only this skill to ~/.claude/skills/model-migrate-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-migrate-flagos &&
cp -R "$tmp/skills/model-migrate-flagos" ~/.claude/skills/model-migrate-flagos &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/model-migrate-flagos inside it instead.
Copy the skill folder to ~/.agents/skills/model-migrate-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-migrate-flagos &&
cp -R "$tmp/skills/model-migrate-flagos" ~/.agents/skills/model-migrate-flagos &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/model-migrate-flagos inside it instead.
Copy the skill folder to ~/.cursor/skills/model-migrate-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-migrate-flagos &&
cp -R "$tmp/skills/model-migrate-flagos" ~/.cursor/skills/model-migrate-flagos &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/model-migrate-flagos inside it instead.
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-migrate-flagosOr copy the folder to ~/.gemini/skills/model-migrate-flagos yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/model-migrate-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-migrate-flagos &&
cp -R "$tmp/skills/model-migrate-flagos" ~/.copilot/skills/model-migrate-flagos &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/model-migrate-flagos inside it instead.
Get the folder:
git clone --depth 1 https://github.com/flagos-ai/skills.gitThen copy skills/skills/model-migrate-flagos into your agent's skills folder as model-migrate-flagos. Agents that support SKILL.md read one folder per skill.
What it does
- Upstream file copy
- Copies the model implementation directly from upstream vLLM and then patches it, rather than rewriting it by hand.
- Compatibility patch catalog
- Documents thirteen fixes for differences between upstream vLLM and the pinned 0.13.0 release.
- Config bridge setup
- Adds a plugin-side config class so new model types load without upgrading transformers.
- Automated code review
- Runs a Python checker for leftover relative imports, missing APIs and registration mismatches.
- Token-level accuracy check
- Compares generated tokens against an upstream reference server over text and image prompts.
- Remote reference server control
- Starts, stops and inspects the upstream reference server on a remote machine over SSH.
Good for
- Add support for a newly released model to the vllm-plugin-FL project
- Port a model class from upstream vLLM into a plugin that is pinned to an older release
- Re-run a previous model migration after upstream vLLM changes
- Check that a ported model produces the same tokens as the upstream server
- Benchmark and smoke-test a newly added model on local GPUs
Model migrate flagos FAQ
What does the skill need before Model migrate flagos runs?
It needs a copy of the upstream vLLM source, an editable install of vllm-plugin-FL, and a CUDA GPU. The skill metadata lists vLLM 0.13.0 and Python 3.8 or newer.
Which models should I not use Model migrate flagos for?
The skill says not to use it for models that vLLM 0.13.0 already supports, or for multimodal-only components that do not need porting.
How is the model name passed in?
As a snake_case argument such as qwen3_5 or kimi_k25, optionally followed by the upstream and plugin folder paths.
What does the accuracy check compare?
It sends the same prompts to the local plugin server and to an upstream reference server, then compares the first tokens of each output one by one.
How do I install Model migrate flagos in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/model-migrate-flagos to use it in all your projects, or to .claude/skills/model-migrate-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 migrate flagos run scripts?
Yes. It runs shell and Python scripts. Its scripts contain network calls. 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 migrate 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 migrate flagos?
The closest alternatives to Model migrate flagos are Model verify flagos, Model adaptation, Runpod vllm, Jetson LLM benchmark and Nova migrate.
Where this comes from
- Description: from the skill's own SKILL.md.
More from flagos-ai/skills

Starter template for writing new agent skills in the flagos-ai skills repository
- Open source
- 22 GitHub stars
- Developer tools

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

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

Runs a full LLM deploy, verify and benchmark pipeline on multi-chip GPU backends
- Open source
- 22 GitHub stars
- Cloud and infrastructure

Detects your GPU vendor and launches a validated PyTorch container with its devices
- Open source
- 22 GitHub stars
- Developer tools

Installs a five-package multi-chip AI software stack inside a running GPU container
- Open source
- 22 GitHub stars
- Developer tools






