# Performance agent

> Performance agent is an open-source agent skill for developer tools. Designs and runs performance, load and benchmark tests for an agent build. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ivy00johns/Skill-Madness/tree/main/skills/roles/performance-agent
- **Repository:** https://github.com/ivy00johns/skill-madness
- **GitHub stars:** 12
- **License:** MIT
- **Skill name:** performance-agent
- **Collection:** https://github.com/ivy00johns/Skill-Madness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill lets an agent plan and carry out performance testing: smoke, load, stress and soak scenarios against a contracted API, with p50, p95 and p99 latency, error rate and throughput recorded per endpoint. It is written for a contract-first, multi-agent build where a separate orchestrator dispatches roles, and it can also be used for a standalone measurement request when the user supplies scope and approved paths.

The workflow starts by reading the API contract, the performance targets and the domain rules that mark heavy operations. Scripts default to k6, with Locust, JMeter or Artillery as alternatives when the project already uses them, and base URLs are meant to come from environment variables. The skill produces a structured report with a summary table, a per-endpoint table and recommendations for other agents, and it requires exact commands so results can be rerun. It explicitly stays out of application code and infrastructure configuration.

The skill expects an existing API contract, stated performance targets and a project benchmark toolchain. It forbids running load against production or paid services without target and budget approval, and requires approval for nonlocal load. Missing tools or checks are to be reported as blocked rather than passed.

## When your agent uses it

> Design and execute performance tests, load tests and benchmarks in native orchestrator dispatch or explicitly requested solo measurement work. Freeze targets and obtain approval for nonlocal load; load it when the orchestrator assigns this role or the user asks for it.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/performance-agent)
- [Asks for: Read, Write, Edit, Bash, Glob, Grep](https://github.com/ivy00johns/Skill-Madness/blob/HEAD/skills/roles/performance-agent/SKILL.md)
- [License: MIT](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/performance-agent)

## Features

- **Test scenario design:** Defines smoke, load, stress and soak scenarios sized to the expected traffic.
- **k6 script patterns:** Provides reference patterns for k6 scripts, with alternatives for other open-source load tools.
- **Baseline measurement:** Records response percentiles, error rates and throughput for each contracted endpoint.
- **Structured performance report:** Produces a summary against targets, per-endpoint results and bottleneck recommendations.
- **Ownership boundaries:** Restricts writes to dedicated performance directories and leaves application code untouched.
- **Approval gating for load:** Requires explicit approval before generating nonlocal or paid-service load.

## Good for

- Write a k6 load test for the checkout API at expected concurrency
- Measure p95 latency and error rate for our session endpoints
- Set up a soak test to check for memory leaks over 30 minutes
- Produce a performance report with rerunnable commands
- Compare endpoint throughput against a stated requests-per-second floor

## Install

### Claude Code

This skill ships in the `skill-madness` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness
```

Or copy only this skill to `~/.claude/skills/performance-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/performance-agent &&
cp -R "$tmp/skills/roles/performance-agent" ~/.claude/skills/performance-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/performance-agent` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/performance-agent` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/performance-agent &&
cp -R "$tmp/skills/roles/performance-agent" ~/.agents/skills/performance-agent &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/performance-agent` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/performance-agent` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/performance-agent &&
cp -R "$tmp/skills/roles/performance-agent" ~/.cursor/skills/performance-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/performance-agent` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/roles/performance-agent
```

Or copy the folder to `~/.gemini/skills/performance-agent` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/performance-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/performance-agent &&
cp -R "$tmp/skills/roles/performance-agent" ~/.copilot/skills/performance-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/performance-agent` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git
```

Then copy `Skill-Madness/skills/roles/performance-agent` into your agent's skills folder as `performance-agent`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Performance agent load?

It is meant to load when the orchestrator assigns the performance role or when the user explicitly asks for performance, load or benchmark work.

### Which load testing tools does Performance agent use?

It defaults to k6. Locust, JMeter and Artillery can be used when the project already relies on them, following the same scenario structure.

### Will Performance agent change my application code?

No. The skill measures and reports; it is restricted from modifying business logic and only writes to its own test directories.

### Can Performance agent run load against production?

Not without explicit target and budget approval, and nonlocal load needs approval as well.

### How do I install Performance agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/performance-agent to use it in all your projects, or to .claude/skills/performance-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

### Does Performance agent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Performance agent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Performance agent?

The closest alternatives to Performance agent are Load testing, Performance optimization, Performance testing, Performance reasoning and Performance.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Load testing](https://ai-powered.com/skills/load-testing-ajyadav013): Load testing is an open-source agent skill for developer tools.
- [Performance optimization](https://ai-powered.com/skills/performance-optimization): Performance optimization is an open-source agent skill for developer tools.
- [Performance testing](https://ai-powered.com/skills/performance-testing): Performance testing is an open-source agent skill for developer tools.
- [Performance reasoning](https://ai-powered.com/skills/performance-reasoning): Performance reasoning is an open-source agent skill for developer tools.
- [Performance](https://ai-powered.com/skills/performance): Performance is an open-source agent skill for developer tools.
- [Agent QA testing](https://ai-powered.com/skills/agent-qa-testing): Agent QA testing is an open-source agent skill for developer tools.
- [API testing](https://ai-powered.com/skills/api-testing): API testing is an open-source agent skill for developer tools.
- [Agent runtime gateway smoke test](https://ai-powered.com/skills/agent-runtime-gateway-smoke-test): Agent runtime gateway smoke test is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/performance-agent
