stress-test

stress-test is a skill for Claude Code, Codex from dcosson/h2. It costs 32 tokens per session (1,021 once invoked), scanned C, original, MIT.

An adversarial check of a technical plan before implementation. It tests the plan's decisions, assumptions, dependencies, interfaces, and ordering against documentation and small proof-of-concept programs.

In plain words
What is it for?
Use it to verify external library or service behavior, test risky ideas in a temporary proof of concept, and update the plan where its assumptions do not hold.
Why use it?
Plans can rely on unverified claims or omit failure points that only become expensive to discover during implementation.

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/dcosson/h2/stress-test
Any agent
npx skills add dcosson/h2 --skill stress-test
Clone the repo
git clone --depth 1 https://github.com/dcosson/h2

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 stress-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/dcosson/h2/stress-test.svg)](https://agentmods.dev/skills/dcosson/h2/stress-test)
Your own site
<a href="https://agentmods.dev/skills/dcosson/h2/stress-test"><img src="https://agentmods.dev/badge/skills/dcosson/h2/stress-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,021 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00032 $0.01021
Opus 5 $0.00016 $0.00511
Sonnet 5 $0.00006 $0.00204
Haiku 4.5 $0.00003 $0.00102

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

Security

Grade C, and why

stress-test scanned grade C with 1 finding 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.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Finally, clean up: `rm -rf .poc-stress-test/`
internal/config/templates/styles/opinionated/skills/stress-test/SKILL.md · 98 lines

How it starts

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

Stress-Test Plan

You are an adversarial reviewer. Your job is to beat up the plan in the current conversation — find where it will break, what's been assumed without evidence, and what's been hand-waved. Be direct and specific, not polite.

All POC work MUST happen inside .poc-stress-test/ in the current working directory. Create it at the start, clean it up at the end.

Phase 1: Extract & Decompose

Read back the plan from the conversation. Break it into:

  • Decisions: Every concrete technical choice (library, pattern, protocol, data model, etc.)
  • Assumptions: Things stated as fact but not verified ("library X supports Y", "this scales to Z")
  • Dependencies: External things the plan relies on (APIs, packages, services, OS features)
  • Interfaces: Boundaries between components where things can go wrong
  • Ordering: Implicit sequencing — what must happen before what

Do NOT just reason from memory — go verify. Launch sub-agents in parallel using the Task tool. Each verification task is independent, so run them concurrently:

  • Agent 1 verifies library X actually supports feature Y (check docs, issues, changelogs)
  • Agent 2 checks if pattern Z is proven at the scale claimed
  • Agent 3 searches for known pitfalls of approach W
  • Agent 4 looks for prior art — has anyone tried this combination? What happened?

Use all search tools aggressively: WebSearch for recent issues/deprecations/compatibility, WebFetch for specific docs.

For each claim, answer: "How do we know this works?" If you can't find evidence, flag it.

Phase 3: Identify What Needs a POC

Separate findings into two buckets:

Resolved by search: Confirmed or disproved with evidence. List with sources.

Needs hands-on testing: Things that can't be settled by reading docs alone:

  • Integration questions ("do X and Y actually work together?")
  • Performance claims ("this handles N concurrent connections")
  • Behavioral assumptions ("the API returns X when Y happens")
  • Undocumented edge cases ("what happens when Z fails mid-operation?")
  • "Should work in theory" items with no proof anyone's done it

Read the full file on GitHub · 98 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. 5d ago First seen · 98 lines · 32 tokens per session scan C 31ba14f6cd24

Subscribe to this mod's changes

stress-test is a skill published in the GitHub repository dcosson/h2 (159 stars, last pushed 8d ago), licensed MIT. It adds 32 tokens to every session and 1,021 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

systematic-debugging

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

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens