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.
npx skills add mamahoos/dot-files --skill k6-perf-test-websitegit clone --depth 1 https://github.com/mamahoos/dot-filesWrote 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.
[](https://agentmods.dev/skills/mamahoos/dot-files/k6-perf-test-website)<a href="https://agentmods.dev/skills/mamahoos/dot-files/k6-perf-test-website"><img src="https://agentmods.dev/badge/skills/mamahoos/dot-files/k6-perf-test-website/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.
<a href="https://agentmods.dev/skills/mamahoos/dot-files/k6-perf-test-website"><img src="https://agentmods.dev/badge/skills/mamahoos/dot-files/k6-perf-test-website.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00007 | $0.03458 |
| Opus 5 | $0.00003 | $0.01729 |
| Sonnet 5 | $0.00001 | $0.00692 |
| Haiku 4.5 | $0.00001 | $0.00346 |
Grade A, and why
k6-perf-test-website 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 6d 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.
tools (`k6`, `npx`, `curl`) and hand-written scripts. The skill does This is a copy
95% identical to k6-perf-test-website — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
k6-perf-test-website
An end-to-end, opinionated workflow for performance-testing any public website with k6. The skill produces:
- A scaffolded project with one folder per user-described workflow.
- Functional protocol + browser tests (must pass before load testing).
- Hybrid load tests (protocol scenario + 1 browser VU) per test type (smoke / average / stress / spike / soak / breakpoint).
- SLO-backed thresholds with per-endpoint tagging and Web Vitals.
- A cross-platform load-generator monitor sidecar.
- Optional Grafana-side investigation when the user owns the backend.
- A structured Markdown report at the end.
This skill enforces a few opinions you should not silently override:
- Always elicit workflows first. Don't guess.
- Functional tests must be green before load tests run.
- Always monitor the load generator — server-looks-slow is often laptop-looks-slow.
- Local for validation, cloud for scale — but ask the user where to run each test type; don't hardcode.
- No shared
tests/lib/. Iteration-body duplication is preferred; each script reads cleanly on its own during incident review.
Prerequisites
- k6 ≥ v2.0.0 (
k6 version) — required for stablek6/browser,expect(), async/await iteration functions, and per-requesttags. - Node.js ≥ 20 + npm.
- Playwright with the Chromium download
(
npx playwright install chromium). har-to-k6(npm i -D har-to-k6).- Network access from the load-generator host to the target site.
Tools the skill prefers when installed:
mcp-k6— script creation, Playwright→k6/browser migration, API lookup. Prefer over hand-writing k6 boilerplate.mcp-grafana— in-session Prometheus/Loki/Tempo/Pyroscope queries during §9 backend investigation.gcx— Grafana Cloud CLI for shell-friendly queries, datasource discovery, and Grafana Cloud k6 cloud-run dispatch.k6binary — local validation runs and breakpoint hunting.k6 x docs(xk6-docs) — look up k6 API surface when writing or editing scripts withoutmcp-k6available.
What ships with it
29 files 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.
- assets/.gitignore 415 B
- assets/package.json 402 B
- assets/README.md 3.3 KB
- assets/recordings/har/.gitkeep 224 B
- assets/recordings/README.md 2.4 KB
- assets/recordings/scripts/recorder.template.js 4.9 KB runs code
- assets/tests/run-all.sh 2.8 KB runs code
- assets/tests/workflow.template/average.js 4.0 KB runs code
- assets/tests/workflow.template/breakpoint.js 4.0 KB runs code
- assets/tests/workflow.template/browser.js 3.3 KB runs code
- assets/tests/workflow.template/from-har.js 1.5 KB runs code
- assets/tests/workflow.template/protocol.js 3.9 KB runs code
- assets/tests/workflow.template/smoke.js 8.1 KB runs code
- assets/tests/workflow.template/soak.js 3.9 KB runs code
- assets/tests/workflow.template/spike.js 3.4 KB runs code
- assets/tests/workflow.template/stress.js 3.6 KB runs code
- assets/tools/lg-monitor.sh 6.3 KB runs code
- assets/tools/run-with-monitor.sh 3.9 KB runs code
- references/functional-tests.md 11 KB
- references/gotchas.md 11 KB
- references/grafana-investigation.md 7.9 KB
- references/hybrid-load-design.md 5.6 KB
- references/lg-monitoring.md 4.2 KB
- references/local-vs-cloud.md 5.2 KB
- references/recording-with-playwright.md 5.6 KB
- references/reporting.md 5.9 KB
- references/slo-design.md 8.5 KB
- references/test-types.md 7.4 KB
- references/workflow-elicitation.md 6.8 KB
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.
- 6d ago First seen · 325 lines · 7 tokens per session scan A bccfa080f5ed
k6-perf-test-website is a skill published in the GitHub repository mamahoos/dot-files (4 stars, last pushed today), licensed MIT. It adds 7 tokens to every session and 3,458 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to k6-perf-test-website, differing in 1 line, and is treated as a copy.
Other skills, from other repositories
lovable
Lovable MCP tool usage — deploy projects, message agent, test with agent-browser. Minimize credits by delegating to local repo.
agent-browser
Browser automation via Chrome/Chromium CDP — open, snapshot, click, screenshot. For testing web apps, mobile layouts, and automated interactions without Playwright/Puppeteer.
walkthrough
Generate a hands-on browser walkthrough of a PR's user-facing changes to exercise before review; --publish posts the final version to the PR for QA.
wispr-flow-debug
Debug and test the Wispr Flow AutoHotkey dictation triggers (Copilot key + extra keys) from WSL by deploying macos.ahk to the Windows Desktop, reloading AutoHotkey, and reading the debug log. Use when an activation/trigger key isn't starting/stopping dictation, when the overlay clicks land wrong, or when verifying a…
speeding-up-laravel-tests
Use when Laravel/Pest test suites are slow, CI duration is growing, individual tests take seconds, or the user asks to speed up, optimize, or profile tests. Covers factories, fakes, config caching, XDebug/pcov, BCRYPTROUNDS, LazilyRefreshDatabase, and stray HTTP requests.
playwright
Drive browsers with Python Playwright for end-to-end tests, screenshots, traces, and code generation. Use for browser automation or e2e testing.