Skip to content
Skill

Perf test flagos

Benchmarks a served LLM with vLLM across five workload profiles and reports latency

Perf test 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 Perf test flagos

This skill starts a vLLM server for a target model inside a container, then runs a set of performance benchmarks using vllm bench serve. The benchmark suite covers short and long prompt and output combinations along with a high-concurrency case, and collects throughput, latency, time-to-first-token and time-per-output-token figures for each profile.

The workflow copies helper Python scripts into the container, runs every profile even if one fails, saves per-profile JSON results to an output directory and produces a combined summary table. The server is shut down at the end. An accuracy stage based on FlagEval is present in the skill but is currently a placeholder and is reported as skipped.

It expects a running container with the serving stack installed, the model path, tensor-parallel size and stack configuration, which an earlier model verification step normally supplies. It is written around Docker, bash and Python 3 with vLLM available in the container.

When your agent uses it

Run accuracy benchmarks (FlagEval, when available) and performance benchmarks (vllm bench serve) against a served model. Covers 5 workload profiles: short/long prefill x short/long decode + high concurrency. Collects throughput, latency, TTFT, TPOT metrics.

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 6 files (30 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/perf-test-flagos:

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

Or copy the folder to ~/.gemini/skills/perf-test-flagos yourself.

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Five workload profiles
Covers short and long prefill combined with short and long decode, plus a high-concurrency run.
Latency and throughput metrics
Collects request rate, token rate, TTFT, TPOT and P99 latency for each profile.
Automated server lifecycle
Starts the vLLM server, waits for health checks and stops it after the benchmarks finish.
Fault-tolerant profile runs
A failing profile is recorded and the remaining profiles still run, with timeouts applied.
Structured report output
Produces JSON per profile and a combined status report with a markdown summary table.
Accuracy stage placeholder
The FlagEval accuracy section is outlined but not yet implemented and is marked as skipped.

Good for

  • Measure throughput and latency of a model served with vLLM
  • Compare performance across short and long prompt workloads
  • Check how a model behaves under high concurrent request load
  • Generate a summary table of benchmark results for a model run

Perf test flagos FAQ

What does the skill need before Perf test flagos runs?

A running container with the software stack installed, the model path, tensor-parallel size and stack configuration, normally taken from a prior model verification step.

Which metrics does Perf test flagos collect?

Throughput, latency, time to first token, time per output token and P99 latency for each workload profile.

Does the accuracy test work yet?

No. The FlagEval accuracy section is a placeholder and is reported as skipped until the client is available.

What happens if one benchmark profile fails?

The error is reported and the remaining profiles continue to run.

How do I install Perf test flagos in Claude Code?

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

The closest alternatives to Perf test flagos are Jetson LLM benchmark, Vllm plugin fl setup flagos, LLM evals, LLM observability and Benchmark checklist.

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