Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Load Testing with k6: Find Your Breaking Point First

    1

    Writes realistic k6 load tests from your routes or OpenAPI spec: user journeys, ramp-up, spike and soak profiles, thresholds tied to SLOs. Runs them, reads the results and tells you the bottleneck and the fix.

    $6.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Load Testing with k6: Find Your Breaking Point First

    Load Testing with k6: Find Your Breaking Point First

    Example session with this skill installed

    Load test our checkout API before Black Friday. Expect 300 orders/minute peak. Staging is staging.shop.dev.

    • Read your context and instructions
    • Compiled the load testing

    Script load/checkout.js (journeys: browse 70%, cart 20%, checkout 10%)

    export const options = {
      scenarios: { peak: { executor: 'ramping-arrival-rate', startRate: 10, timeUnit: '1s', preAllocatedVUs: 200,
        stages: [{ target: 50, duration: '5m' }, { target: 50, duration: '10m' }, { target: 150, duration: '5m' }] } },
      thresholds: { 'http_req_duration{journey:checkout}': ['p(95)<800'], http_req_failed: ['rate<0.01'] },
    };
    

    (50 req/s total ≈ 300 checkouts/min at a 10% share; final stage is 3× for stress.)

    Results on staging

    Journeyp95 at peakp95 at 3×Errors at 3×
    browse120 ms210 ms0%
    cart180 ms450 ms0.2%
    checkout690 ms ✅4.8 s ❌7.5%

    Knee: checkout latency bends at ~95 req/s. DB metrics show the connection pool pinned at 10/10 and SELECT ... FROM inventory WHERE sku = $1 FOR UPDATE waiting.

    Fixes: raise pool to 30 (DB allows 100), add index on inventory(sku), move the confirmation email to a queue. Re-run the stress stage after deploy; target p95 < 800 ms at 3×.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Writes realistic k6 load tests from your routes or OpenAPI spec: user journeys, ramp-up, spike and soak profiles, thresholds tied to SLOs. Runs them, reads the results and tells you the bottleneck and the fix.

    How it works

    • Model real traffic
    • Profiles
    • Script rules
    • Run and read
    • Diagnose

    Use it when

    You say load test, stress test, how many users can we handle, performance test before launch, k6, the API is slow under traffic, or capacity planning.

    Why this one

    • Concrete output: code, tables and next steps you can act on today
    • Verifies before it claims: no generic advice
    • Works with Claude Code, Codex CLI, Cursor, Gemini CLI and any SKILL.md agent

    More by Ignasi: 8 bundles (Ship to Production, Founder Growth, Investor Research and more) save up to 52%.

    Defaults to staging environments. Requires k6 installed locally to execute commands. Server-side diagnosis depends on provided logs or metrics.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Permissions

    No special permissions declared or detected

    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill automates the creation of high-fidelity k6 scripts, executes performance tests (load, stress, soak, etc.), and analyzes results to identify specific bottlenecks like N+1 queries or connection pool exhaustion.

    The skill is compatible with any AI agent that supports JavaScript execution or shell commands, and it integrates seamlessly with local k6 installations, k6 Cloud, and Grafana.

    Unlike basic prompts, this skill enforces 'open system' traffic models using ramping-arrival-rate, which accurately simulates real-world user behavior instead of just simple looping requests.

    The package includes pre-configured traffic profiles (smoke, stress, spike, soak), automated SLO threshold definitions for p95 latency, and diagnostic templates for performance analysis.

    Yes, while the skill defaults to staging for safety, it can be authorized for production environments to validate live capacity and spike readiness.

    The skill requires a local installation of the k6 binary; once installed, you simply provide your OpenAPI routes or core user paths to begin generating and running tests.

    New in Testing & Debugging