Capacity Planner
FerroxLabs/wayland
Capacity planning expertise covering load testing methodologies, autoscaling policies, resource forecasting, performance budgets, cost-capacity curves, bottleneck identification, queue theory…
A skill your agent uses when load testing a service before launch or after a significant traffic change — writing k6 or Locust scripts, setting SLO-based pass/fail thresholds, diagnosing bottlenecks…
$ npx skills add kid-sid/claude-spellbook --skill performance-testing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kid-sid/claude-spellbook performance-testing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/performance-testing .claude/skills/performance-testing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "performance-testing" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/performance-testing into .claude/skills/performance-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-testing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kid-sid/claude-spellbook/tree/main/skills/performance-testingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kid-sid/claude-spellbook --skill performance-testing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kid-sid/claude-spellbook performance-testing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/performance-testing .agents/skills/performance-testing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "performance-testing" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/performance-testing into .agents/skills/performance-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-testing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kid-sid/claude-spellbook --skill performance-testing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kid-sid/claude-spellbook performance-testing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/performance-testing .cursor/skills/performance-testing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "performance-testing" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/performance-testing into .cursor/skills/performance-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-testing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kid-sid/claude-spellbook.git --path skills/performance-testing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kid-sid/claude-spellbook --skill performance-testing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kid-sid/claude-spellbook performance-testing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/performance-testing .gemini/skills/performance-testing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "performance-testing" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/performance-testing into .gemini/skills/performance-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-testing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kid-sid/claude-spellbook performance-testingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kid-sid/claude-spellbook --skill performance-testing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/performance-testing .github/skills/performance-testing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "performance-testing" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/performance-testing into .github/skills/performance-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-testing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kid-sid/claude-spellbook --skill performance-testing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kid-sid/claude-spellbook performance-testing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/performance-testing .opencode/skills/performance-testing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "performance-testing" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/performance-testing into .opencode/skills/performance-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance-testing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
performance-testingA skill your agent uses when load testing a service before launch or after a significant traffic change — writing k6 or Locust scripts, setting SLO-based pass/fail thresholds, diagnosing bottlenecks…
Performance Testing is an agent skill from kid-sid/claude-spellbook. Use when load testing a service before launch or after a significant traffic change — writing k6 or Locust scripts, setting SLO-based pass/fail thresholds, diagnosing bottlenecks under load, or integrating performance tests into CI.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Load testing and Site reliability engineering. The repository describes itself as: A curated collection of skills, prompts, and workflows that extend Claude's capabilities — your personal grimoire for AI-powered development. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a7c2ac9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
goFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
API_TOKENK6_CLOUD_TOKENLOAD_TEST_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Performance Testing loads about 2.5k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 636 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from kid-sid/claude-spellbook at commit a7c2ac9, republished under its MIT licence (© kid-sid). 636 words, ~2,547 tokens.
.claude/skills/performance-testing/SKILL.md (or your agent's skills folder).Load and performance testing validates that your system meets latency and throughput requirements under realistic and extreme traffic conditions.
| Type | Description | Load shape | Goal | When to run |
|---|---|---|---|---|
| Load | Simulate expected traffic | Ramp to normal, hold | Verify baseline meets SLO | Pre-launch, nightly |
| Stress | Push beyond capacity | Ramp past normal | Find breaking point | Before scaling decisions |
| Soak | Sustained load over time | Constant for 1–4 hours | Detect memory leaks, pool exhaustion | Weekly |
| Spike | Sudden burst | 0 → peak instantly | Test autoscaling, queue buffering | Before planned events |
| Volume | Large datasets, normal load | Normal rps, huge data | Find data-size bottlenecks | When data volume increases |
import http from 'k6/http';
import { check, sleep } from 'k6';
import { Rate, Trend } from 'k6/metrics';
const errorRate = new Rate('errors');
const paymentDuration = new Trend('payment_duration');
export const options = {
stages: [
{ duration: '2m', target: 50 }, // ramp up
{ duration: '5m', target: 50 }, // hold
{ duration: '2m', target: 100 }, // ramp up further
{ duration: '5m', target: 100 }, // hold
{ duration: '2m', target: 0 }, // ramp down
],
thresholds: {
// SLO-based pass/fail: test fails if these are breached
'http_req_duration': ['p(95)<500', 'p(99)<1000'],
'http_req_failed': ['rate<0.01'],
'errors': ['rate<0.05'],
},
};
export default function () {
const res = http.post(
'https://api.example.com/payments',
JSON.stringify({ amount: 100, currency: 'USD' }),
{
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${__ENV.API_TOKEN}`,
},
}
);
const ok = check(res, {
'status is 201': (r) => r.status === 201,
'response time < 500ms': (r) => r.timings.duration < 500,
});
errorRate.add(!ok);
paymentDuration.add(res.timings.duration);
sleep(1); // think time between requests
}export const options = {
scenarios: {
browse: {
executor: 'constant-vus',
vus: 100,
duration: '10m',
exec: 'browseProducts',
},
checkout: {
executor: 'ramping-arrival-rate',
startRate: 10,
timeUnit: '1s',
stages: [{ duration: '5m', target: 50 }],
preAllocatedVUs: 60,
exec: 'checkout',
},
},
};
export function browseProducts() { /* ... */ }
export function checkout() { /* ... */ }k6 run script.js
k6 run --vus 100 --duration 10m script.js
# Export to InfluxDB + Grafana for dashboards
k6 run --out influxdb=http://localhost:8086/k6 script.js
# Cloud execution
k6 cloud script.jsfrom locust import HttpUser, task, between
class PaymentUser(HttpUser):
wait_time = between(1, 3)
def on_start(self):
"""Called once per VU — authenticate"""
res = self.client.post('/auth/token', json={
'email': 'test@example.com',
'password': 'password',
})
self.token = res.json()['access_token']
@task(3) # weight 3: 3× more frequent than weight-1 tasks
def browse_products(self):
with self.client.get(
'/products',
headers=self._auth(),
name='/products', # group dynamic URLs
catch_response=True,
) as res:
if res.status_code != 200:
res.failure(f"Got {res.status_code}")
@task(1)
def create_payment(self):
self.client.post(
'/payments',
json={'amount': 100},
headers=self._auth(),
)
def _auth(self):
return {'Authorization': f'Bearer {self.token}'}# Headless CI mode
locust -f locustfile.py \
--headless -u 100 -r 10 --run-time 5m \
--host https://api.example.com \
--csv results # outputs results_stats.csv, results_failures.csvpackage payment_test
import (
"fmt"
"testing"
)
func BenchmarkProcessPayment(b *testing.B) {
svc := NewPaymentService(testDB)
b.ResetTimer() // don't count setup time
b.ReportAllocs() // show allocations/op in output
for i := 0; i < b.N; i++ {
_, err := svc.ProcessPayment(ctx, Payment{Amount: 100})
if err != nil {
b.Fatal(err)
}
}
}
// Sub-benchmarks for different scenarios
func BenchmarkProcessPayment_Sizes(b *testing.B) {
for _, amount := range []float64{1, 100, 10_000} {
b.Run(fmt.Sprintf("amount=%.0f", amount), func(b *testing.B) {
for i := 0; i < b.N; i++ {
svc.ProcessPayment(ctx, Payment{Amount: amount})
}
})
}
}# Run benchmarks
go test -bench=. -benchmem -benchtime=10s ./...
# Output: BenchmarkProcessPayment-8 50000 23456 ns/op 1024 B/op 12 allocs/op
# Compare before/after a change
go test -bench=. -count=10 -benchmem ./... > before.txt
# ... make the change ...
go test -bench=. -count=10 -benchmem ./... > after.txt
benchstat before.txt after.txtBase thresholds on your production SLOs — not arbitrary numbers.
// If SLO: p99 < 500ms, error rate < 0.1%
thresholds: {
'http_req_duration': ['p(50)<100', 'p(95)<300', 'p(99)<500'],
'http_req_failed': ['rate<0.001'],
}| Symptom | Likely cause | How to confirm | Fix |
|---|---|---|---|
| Latency climbs with VU count | Connection pool exhausted | Check pool wait metric | Increase pool / add PgBouncer |
| Error spikes at N rps | Thread / goroutine limit | Check active connections | Tune concurrency config |
| Memory grows during soak | Memory leak / large cache | Heap profile during test | Fix leak, tune GC |
| High latency, low CPU | N+1 queries | Count DB queries per request | Add eager loading |
| CPU > 90% | Compute bottleneck | CPU flame graph | Optimize hot path, add cache |
| Latency spikes periodically | GC pause (JVM/Go) | GC log analysis | Tune GC, reduce allocations |
| Type | Frequency | Trigger | Failure action |
|---|---|---|---|
| Smoke perf (5 VUs, 1 min) | Every PR | PR CI | Fail PR if p99 > 2× baseline |
| Full load test | Nightly | Cron | Alert on Slack |
| Stress test | Weekly | Cron | Report only |
jobs:
load-test:
runs-on: ubuntu-latest
if: github.event_name == 'schedule'
steps:
- uses: actions/checkout@v4
- name: Run k6 load test
uses: grafana/k6-action@v0.3.0
with:
filename: tests/load/payment.js
env:
API_TOKEN: ${{ secrets.LOAD_TEST_TOKEN }}
K6_CLOUD_TOKEN: ${{ secrets.K6_CLOUD_TOKEN }}
- name: Upload results
if: always()
uses: actions/upload-artifact@v4
with:
name: k6-results-${{ github.run_id }}
path: results/See also:
performance,observability,ci-cd
check() to assert on specific response body fields, not just the status codesleep) included in VU scripts for realistic simulationcheck() used for per-request assertions (not just global thresholds)b.ReportAllocs() and b.ResetTimer()benchstat used to compare before/after for Go performance changes© kid-sid, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/performance-testing of kid-sid/claude-spellbook.
Open the folder on GitHubat commit a7c2ac9
Performance Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Performance Testing this skillkid-sid/claude-spellbook | 189 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Capacity PlannerFerroxLabs/wayland | 608 | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| Performance Engineeringancoleman/ai-design-components | 526 | — | ~2.9k | Automated safety check: Notes | MIT | |
| Afrexai Performance EngineeringLeoYeAI/openclaw-master-skills | 2.2k | — | ~7.1k | Automated safety check: Pass | MIT | |
| Load Testing Patternsvibeeval/vibecosystem | 531 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Performance EngineerFerroxLabs/wayland | 608 | — | ~5.1k | Automated safety check: Pass | Apache-2.0 |
FerroxLabs/wayland
Capacity planning expertise covering load testing methodologies, autoscaling policies, resource forecasting, performance budgets, cost-capacity curves, bottleneck identification, queue theory…
ancoleman/ai-design-components
When validating system performance under load, identifying bottlenecks through profiling, or optimizing application responsiveness.
LeoYeAI/openclaw-master-skills
Complete performance engineering system — profiling, optimization, load testing, capacity planning, and performance culture.
vibeeval/vibecosystem
k6 script templates, load profiles, response time thresholds, SLO validation, and performance testing strategies.
FerroxLabs/wayland
Becomes a senior performance engineer who identifies bottlenecks, designs optimization strategies, and conducts load testing using systematic profiling and benchmarking methodology.
zebbern/claude-code-guide
Run stepped HTTP load tests with ab/wrk, ramping concurrency levels to collect p50/p90/p99 latency, detect performance inflection points, and recommend optimal concurrency.
kid-sid/claude-spellbook
A skill your agent uses when building or reviewing UI components for keyboard and screen reader compatibility, adding ARIA to custom widgets, auditing a page for WCAG AA conformance, or preparing…
kid-sid/claude-spellbook
A skill your agent uses when building, wiring, or debugging an Agentex agent — choosing agent type, configuring acp.py and manifest.yaml, using adk.messages or adk.state, or resolving…
kid-sid/claude-spellbook
A skill your agent uses when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety…
kid-sid/claude-spellbook
A skill your agent uses when building or refactoring Angular applications — choosing between signals, RxJS, and NgRx for state, configuring routing with guards and lazy loading, optimizing change…
kid-sid/claude-spellbook
A skill your agent uses when designing new REST endpoints, reviewing an existing API contract, adding pagination or filtering, planning a versioning strategy, or building a public or partner-facing…
kid-sid/claude-spellbook
A skill your agent uses when implementing login flows, issuing or validating JWTs, setting up OAuth2/OIDC with a provider, designing role-based or attribute-based access control, securing API…
Categories
A skill your agent uses when load testing a service before launch or after a significant traffic change — writing k6 or Locust scripts, setting SLO-based pass/fail thresholds, diagnosing bottlenecks…. Performance Testing is an agent skill from kid-sid/claude-spellbook. Use when load testing a service before launch or after a significant traffic change — writing k6 or Locust scripts, setting SLO-based pass/fail thresholds, diagnosing bottlenecks under load, or integrating performance tests into CI.
Performance Testing fits situations like: load testing a service before launch; after a significant traffic change — writing k6; setting SLO-based pass/fail thresholds; diagnosing bottlenecks under load.
Run `npx skills add kid-sid/claude-spellbook --skill performance-testing -a claude-code`. Or copy the skill folder (skills/performance-testing in kid-sid/claude-spellbook) into .claude/skills/performance-testing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kid-sid/claude-spellbook --skill performance-testing -a codex`. Or copy the skill folder (skills/performance-testing in kid-sid/claude-spellbook) into .agents/skills/performance-testing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kid-sid/claude-spellbook --skill performance-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/performance-testing, .gemini/skills/performance-testing, .github/skills/performance-testing and .opencode/skills/performance-testing in your project.
Going by SKILL.md and its folder, Performance Testing needs the command-line tools its instructions call (go) and credentials named API_TOKEN, K6_CLOUD_TOKEN and LOAD_TEST_TOKEN. Our summary lists: Python 3; A credential in API_TOKEN; A credential in LOAD_TEST_TOKEN.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Performance Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Performance Testing: Capacity Planner (FerroxLabs/wayland, 608 stars), Performance Engineering (ancoleman/ai-design-components, 526 stars), Afrexai Performance Engineering (LeoYeAI/openclaw-master-skills, 2.2k stars) and Load Testing Patterns (vibeeval/vibecosystem, 531 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kid-sid (a GitHub user) maintains it in kid-sid/claude-spellbook, which has 189 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on August 5, 2026.
Source: kid-sid/claude-spellbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.