performance-test

performance-test is a skill for Claude Code, Codex from nntan90/qa-skill-suite. It costs 130 tokens per session (7,481 once invoked), scanned A, original, MIT.

A guide for testing how APIs and services behave under traffic. Load testing checks normal demand, stress testing pushes a system towards failure, and performance testing measures speed and capacity.

In plain words
What is it for?
Use it to create k6, JMeter, or Locust tests for traffic levels, sudden spikes, long runs, breaking points, and service targets such as response-time limits.
Why use it?
It helps reveal slow responses, capacity limits, and failures before users encounter them. It also supports comparing performance before and after a change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nntan90/qa-skill-suite/performance-test
Any agent
npx skills add nntan90/qa-skill-suite --skill performance-test
Clone the repo
git clone --depth 1 https://github.com/nntan90/qa-skill-suite

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for performance-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/nntan90/qa-skill-suite/performance-test.svg)](https://agentmods.dev/skills/nntan90/qa-skill-suite/performance-test)
Your own site
<a href="https://agentmods.dev/skills/nntan90/qa-skill-suite/performance-test"><img src="https://agentmods.dev/badge/skills/nntan90/qa-skill-suite/performance-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00130 $0.07481
Opus 5 $0.00065 $0.03741
Sonnet 5 $0.00026 $0.01496
Haiku 4.5 $0.00013 $0.00748

Measured 5d ago against content hash 90854e251f7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

performance-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/templates/k6-basic-template.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

performance-test/SKILL.md · 863 lines

How it starts

The opening of the file, as written. The whole thing — 863 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Performance Test Skill

When to Use This Skill

  • User wants to verify an API can handle expected traffic
  • User wants to find the breaking point of a service
  • User needs to validate SLA (e.g., p95 < 200ms)
  • User wants to establish a performance baseline before a release
  • User needs to benchmark before/after optimization

Agent Persona

Act like a senior QA engineer with 20 years of experience.

  • Use plain, clear English. Short sentences. No robot language.
  • Be direct. If something is wrong or missing, say it straight.
  • Share real experience. Say things like: "I've seen this miss bugs in production before" or "Most teams skip this, but it matters."
  • Always explain WHY a test matters, not just what to do.
  • Point out risks even when the user didn't ask.

Language standard: Write all output in B1-level English. Simple words. Active voice. One idea per sentence.


Output Review Loop

After producing any output, the agent MUST run this self-check and include the result at the bottom.

My Self-Check:
  [ ] Happy path — covered
  [ ] Error / failure cases — at least 2 covered
  [ ] Boundary values — covered (if numbers or ranges exist)
  [ ] Empty / null / zero inputs — covered
  [ ] Auth / permission — covered (if feature has login)
  [ ] Nothing obvious missing that a real user would try
  [ ] Output is complete — no "TODO" or "add more" placeholders

Verdict: COMPLETE / INCOMPLETE
If INCOMPLETE — what I still need to add: [list]

Input Schema

Trước khi viết bất kỳ script nào, agent PHẢI thu thập đủ thông tin sau. Nếu user cung cấp mô tả tự do, hãy tự map vào schema trước khi tiến hành.

INPUT REQUIRED:
  # --- Mandatory ---
  target_endpoints:
    description: "Danh sách endpoints cần load test"
    format: "METHOD /path - mô tả ngắn"
    example:
      - "POST /api/auth/login - Đăng nhập user"
      - "GET /api/dashboard - Tải trang dashboard"
      - "POST /api/orders - Tạo đơn hàng"

  sla_targets:
    description: "SLA targets cần đạt (HÓI nếu user chưa cung cấp)"
    fields:
      p95_ms: "95th percentile response time, ví dụ: 200ms"
      p99_ms: "99th percentile response time, ví dụ: 500ms"
      error_rate_pct: "Tỉ lệ lỗi tối đa, ví dụ: 1%"
      min_rps: "Throughput tối thiểu (requests/sec), ví dụ: 500"
    default_if_unknown: "p95<200ms, p99<500ms, error_rate<1%"

  test_type:
    description: "Loại test cần chạy"
    options:
      - "smoke (1-2 VUs, verify script works)"
      - "load (expected peak traffic)"
      - "stress (beyond peak, find degradation)"
      - "spike (sudden burst)"
      - "soak (long duration, memory leak detection)"
      - "breakpoint (continuously increase until failure)"
    default: "load"
    multi_select: true

  expected_load:
    description: "Lưu lượng mong đợi"
    fields:
      peak_vus: "Số Virtual Users đỉnh, ví dụ: 200"
      peak_rps: "Hoặc requests/second đỉnh, ví dụ: 500"
      ramp_up_duration: "Thời gian ramp up, ví dụ: 2m"
      hold_duration: "Thời gian giữ tải, ví dụ: 10m"

  # --- Strongly Recommended ---
  auth_type:
    description: "Cách xác thực API"
    options: ["bearer_token", "api_key", "basic_auth", "session_cookie", "none"]
    if_bearer: "Cung cấp: login endpoint + test credentials cho load test user"

  base_url:
    description: "Base URL của service cần test"
    example: "https://staging.api.com"

  # --- Optional ---
  framework:
    description: "Framework load test"
    options: ["k6 (default)", "locust", "jmeter"]
    default: "k6"

  environment_notes:
    description: "Lưu ý về môi trường test"
    example: "Staging có rate limit 100 RPS per IP, sử dụng VPN riêng"

  output_format:
    description: "Format output kết quả"
    options: ["json", "csv", "stdout", "cloud (k6 cloud)"]
    default: "stdout + json"

Read the full file on GitHub · 863 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 863 lines · 130 tokens per session scan A 90854e251f7f

Subscribe to this mod's changes

performance-test is a skill published in the GitHub repository nntan90/qa-skill-suite (5 stars, last pushed 4mo ago), licensed MIT. It adds 130 tokens to every session and 7,481 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens