From claude-team-toolkit
Use when running load, stress, soak, or spike tests, or analyzing p50/p95/p99 latency against dev/staging/prod targets. Multi-environment via K6_PROFILE; prod requires typed RUN confirmation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-team-toolkit:k6This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Wrapper around [k6](https://k6.io/) for load/stress/soak tests. Profiles
Wrapper around k6 for load/stress/soak tests. Profiles
select target environment (dev/staging/prod) so the same script runs against
different hosts with different auth. Profile resolution: --profile <name>
→ K6_PROFILE → ~/.k6/active_profile → [default].
Profiles select the target environment so the same script runs against
different hosts with different auth. Prod profiles require typed RUN
confirmation to prevent accidental DDoS of own infrastructure.
--force → almost always a typochoco install k6 # Windows (or scoop install k6)
brew install k6 # macOS
# Linux: see https://k6.io/docs/get-started/installation/
Verify: k6 version. If missing, stop.
~/.k6/credentials (mode 600 — may contain auth tokens):
[default]
base_url = http://localhost:3000
auth_header =
vus = 10
duration = 30s
[staging]
base_url = https://staging.example.com
auth_header = Bearer eyJxxxxxxxx...
vus = 50
duration = 2m
[prod]
base_url = https://api.example.com
auth_header = Bearer eyJxxxxxxxx...
vus = 100
duration = 5m
require_confirm = true # prod special: require typed RUN
Shared profile/INI/
ctt_*pattern reference: profiles-and-credentials.
| Verb | Purpose |
|---|---|
gen <type> <endpoint> | Generate tests/k6/<endpoint>-<type>.js from template |
run <script> | Execute against profile target; prod requires typed RUN |
analyze <summary.json> | Print p50/p95/p99/RPS summary |
profile add|list|use|remove | Manage targets (shared CTT pattern) |
run flow with confirmation gate, analyze jq query. Load when user invokes gen, run, or analyze.__ENV.X).--rps cap when testing 3rd-party APIs → IP gets bannedrequire_confirm=true set--force flag → almost always a typorequire_confirm = true field forces the typed RUN confirmation.--vus > 1000 without an extra --force flag — typo-protection against accidentally DDoSing your own service.--rps cap. Default --rps 0 = unlimited = will get IP banned from real APIs.summary-export JSON may contain URLs and response samples — treat as potentially sensitive; don't paste publicly.npx claudepluginhub tuannv14/claude-team-toolkit --plugin claude-team-toolkitProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.