load-k6

load-k6 is a skill for Claude Code, Codex from kint4/autoframe. It costs 39 tokens per session (630 once invoked), scanned A, original, MIT.

A generator for k6 load-test scripts. Load testing sends planned traffic to an app or API to measure how it behaves under use.

In plain words
What is it for?
Use it to test a web flow or endpoint with a chosen number of concurrent users, response-time goals, and error-rate limits.
Why use it?
It turns traffic and performance goals into a repeatable test with gradual ramp-up, sustained load, ramp-down, and pass/fail limits.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kint4/autoframe/load-k6
Any agent
npx skills add kint4/autoframe --skill load-k6
Clone the repo
git clone --depth 1 https://github.com/kint4/autoframe

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for load-k6

README.md
[![agentmods](https://agentmods.dev/badge/skills/kint4/autoframe/load-k6.svg)](https://agentmods.dev/skills/kint4/autoframe/load-k6)
Your own site
<a href="https://agentmods.dev/skills/kint4/autoframe/load-k6"><img src="https://agentmods.dev/badge/skills/kint4/autoframe/load-k6.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 630 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.00630
Opus 5 $0.00019 $0.00315
Sonnet 5 $0.00008 $0.00126
Haiku 4.5 $0.00004 $0.00063

Measured 3d ago against content hash 1b708f40bb46, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

load-k6 scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(`curl -o /dev/null -w "%{http_code}"`) before generating the script.
.claude/skills/load-k6/SKILL.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/load-k6 — Generate a k6 Load Test

Type: Load Description: Generates a k6 load test script for a described scenario, with real ramp-up/sustain/ramp-down stages, thresholds, and a readable report.


Input Format

The user describes the scenario:

  • The endpoint or flow to load test
  • Expected/target traffic (concurrent users)
  • Performance goals (acceptable latency, error rate)

If targets aren't given, use Autoframe defaults: 50 ramp-up → 100 sustained, p95 < 500ms, error rate < 1%.

Output Format

A k6 script at performance/load/[scenario].load.js following the k6 conventions in CLAUDE.md:

  • options.stages: ramp up, sustained load, ramp down — real numbers, never placeholders
  • options.thresholds: p95 response time and error rate
  • __ENV.BASE_URL for the base URL — never hardcoded
  • check() assertions and a sleep() per iteration

Step-by-Step Instructions

  1. Read the k6 conventions in CLAUDE.md.
  2. Confirm the target URL is not production. If it is, require explicit user confirmation before generating or running.
  3. Check the target path is HTTP-reachable. Single-page apps route paths like /inventory.html client-side — a raw http.get to them returns 404. For SPAs, target the document root or real API endpoints instead. Verify with one request (curl -o /dev/null -w "%{http_code}") before generating the script.
  4. Translate the scenario into concrete stages and thresholds (use defaults if unspecified).
  5. Write the script:
    • import http from 'k6/http' and { check, sleep } from 'k6'.
    • export const options with stages (real durations/targets) and thresholds.
    • export default function () that hits ${__ENV.BASE_URL}/[path], runs check()s, and sleep(1).
  6. Use kebab-case + .load.js suffix.
  7. Save to performance/load/[scenario].load.js.
  8. Tell the user how to run it: BASE_URL=... k6 run performance/load/[scenario].load.js (or via the load.yml workflow).

Rules

  • Never use placeholder text like [ramp-up] in stage targets — always real numbers.
  • Always use __ENV.BASE_URL; never hardcode URLs.
  • Always define ramp up, sustained, ramp down stages and both thresholds.
  • Never run against production without explicit user confirmation.
  • k6 scripts are JavaScript (the one exception to the TypeScript rule).

Read the full file on GitHub · 54 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 54 lines · 39 tokens per session scan A 1b708f40bb46

Subscribe to this mod's changes

load-k6 is a skill published in the GitHub repository kint4/autoframe (6 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 630 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

k6-load-testing

Comprehensive k6 load testing skill for API, browser, and scalability testing. Write realistic load scenarios, analyze results, and integrate with CI/CD.

LiHongwei-cn/lihongwei-cn · 35 tokens

qawolf-cli

Manage QA Wolf through the qawolf CLI. Use when asked to create, update, or list coverage requests, bug reports, or maintenance reports; start a run of flows or tags on the QA Wolf platform or read a run's results; list, set, or delete environment variables; manage environments, flows, or tags; request automation of…

qawolf/cli · 118 tokens

tokenless

Use when a task can be delegated through the globally installed Tokenless CLI without directly writing to the workspace; route it to a visible AI provider website to save agent tokens.

jazelly/tokenless · 37 tokens

tokenless-install

Install, upgrade, repair, and verify Tokenless, its agent skills, and local Playwright runtime. Use only when the user explicitly asks for installation, upgrade, repair, browser sign-in handoff, a failed doctor check, or an installation integrity check.

jazelly/tokenless · 56 tokens

agent-qa-authoring

Use when creating, editing, validating, or running agent-qa tests, suites, or hooks. Prefer agent-qa MCP tools, enforce canonical agent-qa IDs, and use the bundled schema reference to avoid hallucinated config keys or YAML fields.

vostride/agent-qa · 56 tokens

agent-qa-debug-fix

Use after an agent-qa run has failed and you need to debug, patch, and verify the issue using MCP evidence, logs, artifacts, and local code changes instead of generated fix suggestions.

vostride/agent-qa · 46 tokens