curl2k6

skill
Security Audit
Fail
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in .devcontainer/install-k6.sh
  • process.env — Environment variable access in examples/demo-server.mjs
  • rm -rf — Recursive force deletion command in examples/run-demo.sh
  • network request — Outbound network request in examples/run-demo.sh
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Claude Code plugin for QA/perf engineers: paste a curl, HAR, Postman or OpenAPI request → k6 load test → runs locally or in your CI → markdown/wiki report → regression verdict vs. the previous run, computed by a deterministic script, not the LLM. No Grafana Cloud needed.

README.md

curl2k6

Tests status
Latest release
Claude Code plugin
Node.js >= 18
License: MIT

Paste a curl → get a k6 load test, a report, and a computed answer to "did this release get slower?"

A Claude Code plugin for QA and performance engineers.

Claude Code re-runs a load test after a release and flags the regression

Don't want to read? Copy this into Claude Code

It checks the prerequisites, installs the plugin and sets it up:

Set up curl2k6 for me (https://github.com/talikbaku/curl2k6) — a Claude Code plugin that turns a curl into a k6 load test, runs it, writes a report and checks for regressions against the previous run.
1. Check that k6 and Node.js >= 18 are installed; tell me how to install what's missing.
2. Install the plugin: /plugin marketplace add talikbaku/curl2k6 then /plugin install curl2k6@curl2k6
3. Run /curl2k6 init in my test repo and ask me the setup questions in one block.
4. Then I'll give you a curl.
Short docs: https://github.com/talikbaku/curl2k6/blob/main/llms.txt

Why not just ask Claude for a k6 script?

  • The verdict is computed. compare.mjs applies fixed, unit-tested rules (p95 worse by >20%, success rate down by >1 pp), not an LLM's opinion.
  • No false alarms. A different environment or load is reported as "not like-for-like", never as a regression.
  • Your stack. Your CI, your Prometheus / Grafana / Datadog, reports as markdown in git. No Grafana Cloud needed.

Works with: curl · HAR · Postman · OpenAPI → local · Azure DevOps · GitLab / GitHub Actions / Jenkins (your pipeline) → Prometheus · Grafana · Datadog · Elasticsearch · InfluxDB → Markdown · Confluence · Azure DevOps Wiki

flowchart LR
  build["1 · Build<br/>curl → k6 test"]
  run["2 · Run<br/>locally or in CI<br/>LOW · MEDIUM · HIGH"]
  cmp{{"3 · Compare<br/>vs. last report<br/>by script, not LLM"}}
  rep["4 · Report<br/>markdown + wiki"]
  build --> run --> cmp --> rep
  rep -. "next release" .-> run

Install

/plugin marketplace add talikbaku/curl2k6
/plugin install curl2k6@curl2k6

Needs k6 and Node.js ≥ 18 (22+ recommended).

Use

/curl2k6 curl -H 'Authorization: Bearer <TOKEN>' https://api.stage.example.com/v2/items
  1. First time: one block of questions, saved to .curl2k6.yml. Never asked again.
  2. Every run: draft test → your OK → smoke → LOW / MEDIUM / HIGH → report.
  3. After a release: "re-run the load test, did it get slower?" → comparison with the last report.

What it learns along the way (IP allowlists, caches, root causes) goes to CURL2K6-FACTS.md.

What you get

p95 latency, previous run → this release: LOW 29 → 42 ms (+44%), MEDIUM 31 → 50 ms (+62%), HIGH 35 → 93 ms (+165%)

Demo service with short custom profiles (20 / 60 / 150 req/s for 15 s), before and after a simulated bad release.

Full examples: baseline report · regression report

Safe by default

  • Secrets: never written to tests, commits or reports. HAR / Postman imports swap them for env vars before Claude sees them.
  • Production: every run needs your explicit OK, one profile at a time.

Try the demo (2 min)

Needs k6 and Node.js ≥ 18, or nothing at all in Open in GitHub Codespaces

git clone https://github.com/talikbaku/curl2k6.git && cd curl2k6 && bash examples/run-demo.sh
run-demo.sh: baseline, simulated bad release, regression verdict

Family

Tools for QA from real traffic, each standalone:

  • curl2k6 — one curl → a k6 performance regression check
  • logs2k6 — a day of production traffic → a k6 load test with the real endpoint mix and peak rate
  • api-dead-ends — the same traffic vs your OpenAPI spec: endpoints that fail, are never called or are undocumented (npm)

More

Status: v1.3.2. Verified locally and on Azure DevOps; other CIs are driven through your existing pipeline. Submitted to the Claude Code plugin directory.

Useful? ⭐ Star the repo and tell us which CI template you want next in Discussions.

MIT © 2026 Talat Gurbanbayov

Reviews (0)

No results found