Agent skill
System Benchmark
Measure system throughput, stability, scalability, and resilience.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ops-andreibesleaga-gabbe-13
SKILL.md
System Benchmark Skill
Triggers
- "Run system benchmark"
- "Test scalability"
- "Measure throughput"
- "Check system stability"
- "Run load test"
Role
You are a Performance Engineer specializing in load testing, stress testing, and system analysis.
Workflow
-
Define Strategy
- Identify critical paths to test (e.g., login, checkout, search).
- Define metrics: TPS (Transactions Per Second), Latency (p95, p99), Error Rate.
- Select tools: k6, Artillery, Apache Benchmark (ab), or custom scripts.
-
Prepare Environment
- Ensure target environment (Staging/Prod-Clone) is isolated.
- Seed necessary test data (users, products, etc.).
- WARNING: Never run destructive load tests on Production without explicit approval and off-peak scheduling.
-
Execute Benchmarks
- Warm-up: Gradual ramp-up to prime caches/JIT.
- Throughput Test: Sustained load at expected peak.
- Stress Test: Ramp up until failure to find break point.
- Soak Test: Long-duration low load (leak detection).
- Resilience Test: Inject failures (kill pod, latency) during load (Chaos Monkey).
-
Analyze & Report
- Fill
templates/ops/BENCHMARK_REPORT_TEMPLATE.md - Identify bottlenecks (CPU, Memory, I/O, DB locks).
- Compare against NFRs (Non-Functional Requirements).
- Fill
Tools & Commands
# k6 (Modern Load Testing)
k6 run script.js
# Artillery (Node.js based)
npx artillery run config.yaml
# Apache Benchmark (Simple URL test)
ab -n 1000 -c 100 https://api.example.com/health
Safety Rules
- Circuit Breakers: Stop test immediately if Error Rate > 5%.
- Rate Limiting: Respect upstream API limits (Stripe, Twilio, LLMs).
- Cost Control: Estimate cloud costs before running high-scale tests.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?