loom-performance-testing

Performance and load testing measures how a system behaves when many requests arrive, using tools such as k6, Locust, JMeter, Gatling, and Artillery.

In plain words
What is it for?
Use it to design load, stress, spike, and soak tests; benchmark APIs and databases; measure latency and throughput; and investigate p95 or p99 response times.
Why use it?
It helps reveal slow responses, capacity limits, instability, and bottlenecks under realistic or deliberately heavy traffic.

Skill for Claude CodeCodex

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/cosmix/loom/loom-performance-testing
Any agent
npx skills add cosmix/loom --skill loom-performance-testing
Clone the repo
git clone --depth 1 https://github.com/cosmix/loom

Made for: Claude Code, Codex.

Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,032 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 $0.00058 $0.07032
Opus 5 $0.00029 $0.03516
Sonnet 5 $0.00012 $0.01406
Haiku 4.5 $0.00006 $0.00703

Measured 3d ago against content hash 691c0219f7d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

loom-performance-testing 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 3d ago.

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.

skills/loom-performance-testing/SKILL.md · 517 lines

How it starts

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

Performance Testing

Overview

Validate that a system meets latency, throughput, and stability targets under load, and locate the bottleneck when it doesn't. This file assumes you can write the test code; it focuses on the measurement traps that make load-test numbers lie and the decision criteria for tool/shape selection.

Core Concepts (read first — these are where numbers go wrong)

Open vs. closed workload models

The single most consequential choice. It determines what your numbers mean.

Model Load driver Throughput is… Overload behavior Use for
Closed Fixed VUs, each loops request→wait Emergent (backpressure) Self-throttles: slow server → fewer requests sent Modeling a fixed client pool
Open Fixed arrival rate (req/s) Controlled (you set it) Queue grows unbounded; latency explodes Web traffic, finding breaking pt

Closed models hide overload. With fixed VUs, when the server slows down each VU sends fewer requests, so offered load silently drops. You can't overwhelm the server past what its own latency allows — you measure a moving target, not capacity. Real internet traffic is open (users arrive independently of server health), so use an arrival-rate executor to find true breaking points.

  • k6: closed = constant-vus/ramping-vus; open = constant-arrival-rate/ramping-arrival-rate.
  • Locust is closed-model (users); JMeter thread groups are closed; Gatling injectOpen/injectClosed; artillery arrivalRate is open.
  • Open executors need preAllocatedVUs/maxVUs headroom; if k6 warns "insufficient VUs," it dropped iterations and your rate was never achieved.

Coordinated omission — why naive latency numbers lie

Read the full file on GitHub · 517 lines

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. 3d ago First seen · 517 lines · 58 tokens per session scan A 691c0219f7d3

Subscribe to this mod's changes

loom-performance-testing is a skill published in the GitHub repository cosmix/loom (54 stars, last pushed 4d ago), licensed MIT. It adds 58 tokens to every session and 7,032 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

Agent Design Principles

A checklist for designing agent personas, skills, and multi-agent pipelines that stay reliable as they grow — grounded in the 12-factor-agents principles.

niels-emmer/myace · 34 tokens

sandbox-next

Use when building or changing Cloudflare Sandbox apps on @cloudflare/sandbox@next (Sandbox SDK 1.0 preview)—code execution, AI runners, interpreters, CI-like jobs, terminals, files, mounts, tunnels, preview URLs, lifecycle, or errors. Not for the default stable package (use sandbox-stable) or for porting stable to…

cloudflare/skills · 86 tokens

80-livekit-agents-majiayu000-claude-skill-registr

Create your LiveKit Agents skill from official documentation, then learn to improve it throughout the chapter.

majiayu000/claude-skill-registry · 18 tokens

turnstile-spin

Set up Cloudflare Turnstile end-to-end in a project. Scan the codebase, create the widget via the Cloudflare API, embed it where user requests need bot verification (form submissions, SPA actions, API endpoints, download links, comment or vote submissions, etc.), wire canonical server-side siteverify in the customer's…

cloudflare/skills · 123 tokens

dag-factory

Authors Apache Airflow DAGs declaratively from dag-factory YAML configs. Use when building DAGs declaratively from YAML via dag-factory; creating/editing dag-factory templates/YAML configs,reating/editing dag-factory YAML configs, defaults, dynamic tasks, datasets, or callbacks; or validating dag-factory…

astronomer/agents · 80 tokens

deploying-airflow

Deploys Airflow DAGs and projects. Use when deploying Airflow or answering anything about deployment - deploying DAGs/projects, pushing code, setting up CI/CD, deploying to production or deployment strategies for Airflow.

astronomer/agents · 48 tokens