Official agent skill

K6 Docs

by grafana in grafana/skills

Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog).

OfficialApache-2.0Auto-check passedDevelopment

Install K6 Docs

skills CLI
$ npx skills add grafana/skills --skill k6-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install grafana/skills k6-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/grafana/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/grafana-k6/k6-docs .claude/skills/k6-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
k6-docs
GitHub stars
279
Token cost
~678 tokens
SKILL.md length
174 words
Files
21 (incl. scripts, references)
Skills in repo
51
Repo updated
First seen
Licence
Apache-2.0

At a glance

Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog).

  • Working on k6 documentation
  • SKILL.md covers Workflow, Quick References, Critical Rules and Validating examples (always…
  • Runs Shell scripts from its folder; calls git and go
  • The k6 changelog

What it does

K6 Docs is an agent skill from grafana/skills, published by the product's own GitHub organization. Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog). Applies k6 doc style conventions, generates TypeScript type definitions, drafts release notes, and validates examples by running them against k6@master. Use when working on k6 documentation, the k6 changelog, the k6 release notes, k6 API reference, k6 TypeScript types, load testing docs, or when the user asks to write, edit, or review anything…

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 25 other files, including scripts and reference files (for example `references/agent-browser-reference.md`, `references/checklists/documentation.md` and `references/checklists/release-notes.md`).

It sits in Development, covering Load testing, Changelog and release notes and Type safety. It works with Grafana. The licence is Apache-2.0.

When your agent uses it

  • Working on k6 documentation
  • The k6 changelog
  • The k6 release notes
  • K6 API reference

Example prompts

  • “t explicitly say”
  • “/k6-docs”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 1ccacf2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

K6 Docs loads about 678 tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 157 tokens; SKILL.md has 174 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~157
When it runs · the whole SKILL.md, loaded when a task matches
~678
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from grafana/skills at commit 1ccacf2, republished under its Apache-2.0 licence (© grafana). 174 words, ~678 tokens.

Download SKILL.mdSave it as .claude/skills/k6-docs/SKILL.md (or your agent's skills folder). This skill also uses 20 other files; get the full folder from GitHub.
name
k6-docs
description
Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog). Applies k6 doc style conventions, generates TypeScript type definitions, drafts release notes, and validates examples by running them against k6@master. Use when working on k6 documentation, the k6 changelog, the k6 release notes, k6 API reference, k6 TypeScript types, load testing docs, or when the user asks to write, edit, or review anything in the k6, k6-docs, or k6-DefinitelyTyped repos - even if they don't explicitly say "documentation".
license
Apache-2.0

k6 Documentation

Document or review k6 features across three repositories: k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes).

Workflow

Pick the workflow that matches the user's intent:

Quick References

Critical Rules

  • Never push automatically - always ask first
  • Never chain commands with && or ; - run each command separately (prevents failures)
  • Only document user-facing features - not internal implementation
  • Use 1. for every numbered list item (not 1., 2., 3.)
  • Test every code example against k6@master before committing
  • No Co-Authored-By: Claude or AI attribution in commits

Validating examples (always run before committing)

Every code example in k6 documentation and release notes must execute cleanly against k6@master. The minimum loop:

bash
# 1. cd into the k6 repo (not k6-docs or k6-DefinitelyTyped)
cd ~/path/to/k6

# 2. Make sure you're on master at the latest commit (the contract is k6@master)
git checkout master
git pull

# 3. Run each example as a separate command (no &&)
go run . run /path/to/script.js

If the run fails: read the error, fix the example in the source (doc or release note), re-run. Do not commit a change whose example doesn't run clean against current master. For the full multi-example workflow with parallel subagents, see references/testing-workflow.md.

© grafana, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 20 other files (scripts, references) in skills/grafana-k6/k6-docs of grafana/skills.

  • SKILL.md
  • references/agent-browser-reference.md
  • references/checklists/documentation.md
  • references/checklists/release-notes.md
  • references/checklists/typescript.md
  • references/repository-structure.md
  • references/subagent-prompts.md
  • references/templates/documentation.md
  • references/templates/release-notes.md
  • references/testing-workflow.md
  • references/troubleshooting.md
  • references/typescript-patterns.md
  • references/workflows/review.md
  • references/workflows/write.md
  • scripts/check_agent_browser.sh
  • scripts/fetch_pr.sh
  • … and 5 more

Open the folder on GitHubat commit 1ccacf2

Compare with similar skills

K6 Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

K6 Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
K6 Docs this skillgrafana/skills279—~678Automated safety check: PassApache-2.0
Bumpy Add Changezap-studio/monorepo1721 repos~1.4kAutomated safety check: NotesMIT
Keeper Stress AnalysisClickHouse/ClickHouse50k—~4.7kAutomated safety check: PassApache-2.0
Kedro Babysitkedro-org/kedro11k—~4kAutomated safety check: PassCustom licence
Review Envoy Gateway PRenvoyproxy/gateway3.1k—~850Automated safety check: PassApache-2.0
Releaseankit/stylebot1.6k—~897Automated safety check: PassMIT

Similar skills

  • Bumpy Add Change

    zap-studio/monorepo

    Create a bumpy bump file describing which packages changed and how, for version bumping and changelog generation.

    172 GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check: notes
  • Keeper Stress Analysis

    ClickHouse/ClickHouse

    Analyze ClickHouse Keeper stress-test results from play.clickhouse.com / keeperstresstests data warehouse.

    50k GitHub stars~4.7k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Kedro Babysit

    kedro-org/kedro

    Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or…

    11k GitHub stars~4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Review Envoy Gateway PR

    envoyproxy/gateway

    Review an Envoy Gateway pull request for essential API, implementation, status, and test coverage requirements.

    3.1k GitHub stars~850 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release

    ankit/stylebot

    Cut a Stylebot release — CHANGELOG entry, version bump, release PR, tag, and store zips.

    1.6k GitHub stars~897 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Grill With Docs

    meain/dotfiles

    Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise.

    285 GitHub starsUsed in 21 repos~875 tokens
    DevelopmentAuto-check passed

More from grafana/skills

All 51 skills in this repo
  • Alerting Irm

    grafana/skills

    Official

    Configure Grafana Alerting, Incident Response Management (IRM), and SLOs end-to-end — provisions Grafana-managed and data-source-managed alert rules, contact points (Slack/PagerDuty/email/webhook)…

    279 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Dashboarding

    grafana/skills

    Official

    Build, modify, and ship Grafana dashboards as JSON via the HTTP API — panel types (timeseries / stat / gauge / table / heatmap / logs / traces / node-graph), gridPos 24-column layout, units…

    279 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • K6 Perf Test Website

    grafana/skills

    Official

    A skill your agent uses when the user wants to performance-test, load-test, or stress-test a public website end-to-end with k6.

    279 GitHub stars~3.3k tokensUpdated 2 days ago
    Auto-check passed
  • Promql

    grafana/skills

    Official

    Write, validate, and optimize PromQL for Prometheus / Grafana Mimir / Grafana Cloud Metrics.

    279 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Adaptive Metrics

    grafana/skills

    Official

    Cut Grafana Cloud Metrics cost by shrinking active-series count with Adaptive Metrics aggregation rules — auto-recommendations from query history, custom exact/regex rules, label-drop config…

    279 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Admin

    grafana/skills

    Official

    Manage Grafana Cloud accounts — organizations, stacks, RBAC roles and assignments, SSO/SAML/OAuth/GitHub auth, service accounts for CI/CD, user invites, team membership, and API-driven provisioning.

    279 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about K6 Docs

What does K6 Docs do?

Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog). K6 Docs is an agent skill from grafana/skills, published by the product's own GitHub organization. Write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types), k6-docs (user documentation), and k6 (release notes / changelog).

When should I use K6 Docs?

K6 Docs fits situations like: working on k6 documentation; the k6 changelog; the k6 release notes; K6 API reference.

How do I install K6 Docs in Claude Code?

Run `npx skills add grafana/skills --skill k6-docs -a claude-code`. Or copy the skill folder (skills/grafana-k6/k6-docs in grafana/skills) into .claude/skills/k6-docs in your project. Claude Code loads it when a task matches its description.

How do I install K6 Docs in Codex?

Run `npx skills add grafana/skills --skill k6-docs -a codex`. Or copy the skill folder (skills/grafana-k6/k6-docs in grafana/skills) into .agents/skills/k6-docs in your project. Codex loads it when a task matches its description.

Can I use K6 Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add grafana/skills --skill k6-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/k6-docs, .gemini/skills/k6-docs, .github/skills/k6-docs and .opencode/skills/k6-docs in your project.

What does K6 Docs need to run?

Going by SKILL.md and its folder, K6 Docs needs a shell for the scripts in its folder and the command-line tools its instructions call (git and go). Our summary lists: A Bash shell.

Does K6 Docs access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is K6 Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does K6 Docs use?

K6 Docs is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does K6 Docs use?

About 678 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.

What are the alternatives to K6 Docs?

Skills that share tags, products or a category with K6 Docs: Bumpy Add Change (zap-studio/monorepo, 172 stars), Keeper Stress Analysis (ClickHouse/ClickHouse, 50k stars), Kedro Babysit (kedro-org/kedro, 11k stars) and Review Envoy Gateway PR (envoyproxy/gateway, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains K6 Docs?

grafana (a GitHub organization, an official publisher) maintains it in grafana/skills, which has 279 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on October 6, 2026.

Source: grafana/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.