k6-performance-tests

k6-performance-tests is a skill for Claude Code, Codex from ALTEN-group/coding-pal. It costs 48 tokens per session (847 once invoked), scanned A, original, MIT.

A set of instructions for building k6 performance tests for APIs. k6 is a tool that sends repeated requests so you can measure how a service behaves under load.

In plain words
What is it for?
It helps create API test scenarios, set pass or fail thresholds, handle authentication, run tests in Docker, produce HTML and JSON reports, and track benchmarks in CI.
Why use it?
It gives performance checks a consistent way to run against the real gateway, save results, and work locally or in continuous integration (automated checks run for code changes).

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create API test scenarios, set pass or fail thresholds, handle authentication, run tests in Docker, produce HTML and JSON reports, and track benchmarks in CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alten-group/coding-pal/k6-performance-tests
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.

Any agent
npx skills add ALTEN-group/coding-pal --skill k6-performance-tests
Clone the repo
git clone --depth 1 https://github.com/ALTEN-group/coding-pal

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 k6-performance-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/alten-group/coding-pal/k6-performance-tests/github.svg)](https://agentmods.dev/skills/alten-group/coding-pal/k6-performance-tests)
Your own site
<a href="https://agentmods.dev/skills/alten-group/coding-pal/k6-performance-tests"><img src="https://agentmods.dev/badge/skills/alten-group/coding-pal/k6-performance-tests/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for k6-performance-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/alten-group/coding-pal/k6-performance-tests"><img src="https://agentmods.dev/badge/skills/alten-group/coding-pal/k6-performance-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00048 $0.00847
Opus 5.5 $0.00019 $0.00339
Sonnet 5.5 $0.00010 $0.00169
Haiku 4.5 $0.00005 $0.00085

Measured 27d ago against content hash 5af5e4fadd0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

k6-performance-tests scanned grade A with 0 findings 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 27d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/k6-performance-tests/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.

K6 Performance Tests

Normative rules and on-demand scaffolding patterns for k6 performance suites on containerized API services. Read references/implementation-patterns.md relative to this skill's install directory before scaffolding.

Path Resolution

Resolve references/ relative to this skill's install directory (the folder containing this SKILL.md).

Architecture

  • Keep scenario code under tests/perf/scripts/ and generated artifacts under ignored tests/perf/results/.
  • Run k6 from a pinned grafana/k6 container joined to the running stack's internal Docker network. Exercise the same Traefik route used by integrated clients; do not bypass the gateway with a host-only shortcut.
  • Provide scripts/run-perf.sh as the local and CI entry point. It must verify the target service is healthy, run one named scenario or all scenarios, preserve each k6 exit code, and write HTML and JSON results to the host.
  • Keep routes, Compose names, credential sources, and cleanup commands derived from the target repository. Do not copy identifiers from another service.

Scenarios

  • Cover three distinct costs when the service exposes them: an unauthenticated health baseline, the authentication lifecycle, and a representative authenticated business read flow.
  • Put each scenario in its own file with options, thresholds, a default function, checks, stable request tags, and realistic pacing.
  • Centralize the base URL, credentials, login helper, and authenticated headers in common.js.
  • Read load shape and connection settings from K6_* environment variables with conservative local defaults. Never commit a password or token.
  • Use check for expected response assertions. Throw only when setup cannot produce data required by the rest of the test, such as an access token.
  • Remember that k6 setup() runs once per test and shares serialized data with all VUs. Use it only when a shared token is valid; authenticate in VU code when the service requires independent sessions.

Read the full file on GitHub · 54 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 27d ago First seen · 54 lines · 48 tokens per session scan A 5af5e4fadd0a

Subscribe to this mod's changes

k6-performance-tests is a skill published in the GitHub repository ALTEN-group/coding-pal (6 stars, last pushed 6d ago), licensed MIT. It adds 48 tokens to every session and 847 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-05.

Related

k6-performance-tests compared with skills from other repositories

k6-performance-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
k6-performance-testsALTEN-group/coding-palSkill66d agoMITA48Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k5d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3kyesterdayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill695yesterdayMITA105Claude Code, Codex