K6

k6 load-testing reference and scenario/threshold patterns — k6 only, not Locust as the old card claimed.

Tested · Works

Test report

Verdict
Tested · Works
Score
8.0/10
Tested
Jul 14, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · 335faf1

Ran both a plain constant-VU script and a skill-guided ramping-VU-plus-threshold script live with a real k6 2.1.0 install — the threshold-gated version is genuinely closer to a real SLA check, though 4 of its 5 references/*.md links point at files that don't exist in this folder.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 4/5
  • Triggers reliably 5/5
  • Output vs. baseline 8/10
  • Docs & honesty 3/5

What K6 does

Official Grafana Labs skill covering k6 script writing in JS/TS: all test types (smoke/load/stress/spike/soak/breakpoint), scenarios/executors, thresholds, checks, custom metrics, WebSocket and browser testing, and k6 Cloud/CI integration. Triggers on writing, debugging, or interpreting k6 tests. It is k6-specific — it does not cover Locust despite the old card's tagline implying both. Four of its five references/*.md links (scenarios-executors, test-types, javascript-api, examples) point at files that don't exist in this repo path, though the inline SKILL.md content is self-sufficient for writing real tests without them.

How to install K6

git clone https://github.com/grafana/skills
cd skills
mkdir -p ~/.claude/skills
cp -r skills/grafana-k6/k6 ~/.claude/skills/load-test-planner

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger K6

  • /load-test-planner k6 load-testing reference and scenario/threshold patterns — k6 only, not Locust as the old card claimed.

It also activates on plain-language prompts like these:

  • Design a k6 load test scenario from our peak traffic pattern
  • Set sensible thresholds for a Locust load test
  • Turn this production traffic description into a load-test plan

Frequently asked questions

Is the K6 skill free?
Yes. The skill itself is free from grafana/skills. SkillProof publishes the install command and an independent test verdict at no cost.
Does K6 work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 14, 2026. Verdict: Tested · Works. Ran both a plain constant-VU script and a skill-guided ramping-VU-plus-threshold script live with a real k6 2.1.0 install — the threshold-gated version is genuinely closer to a real SLA check, though 4 of its 5 references/*.md links point at files that don't exist in this folder.
What is the K6 SkillProof Score?
8.0/10 — installs cleanly 4/5, triggers reliably 5/5, output vs. baseline 8/10, docs & honesty 3/5.
How do I install K6?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use K6 with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.