Skip to main content

AI Skills

NBomber AI Skills are Agent Skills for NBomber. They give your AI coding agent the NBomber knowledge that it needs to write correct load tests, and to review the tests that you already have.

The skills use the open SKILL.md format. They work with any AI coding agent that supports Agent Skills, for example Claude Code, Codex, Cursor or GitHub Copilot.

Why you need them​

An AI agent can write an NBomber test in seconds. But a load test that compiles is not always a load test that produces the correct load and measures the correct thing. The skills contain proven solutions and patterns for common problems. When your request matches a skill, the agent loads its full instructions and uses them to fix or improve your load test. The skills can also help you migrate to a newer version of the NBomber API or start using recently released features.

Available skills​

SkillWhat it does
nb-coreWrites and reviews any NBomber test, for any protocol. It checks the basic setup, such as GC settings and warm-up.
nb-httpWrites and reviews NBomber HTTP scenarios, and checks them against common HTTP patterns.

Installation​

info

Prerequisites

  • An AI coding agent that supports Agent Skills, for example Claude Code, Codex, Cursor or GitHub Copilot.
  • Node.js 22.20 or later, for the skills CLI.

Each agent reads skills from its own skills folder. The easiest way to put the skills there is the skills.sh CLI. You can also copy the folders by hand.

Run this command from the root folder of your project (the folder that you open your agent in):

npx skills add PragmaticFlow/NBomber.AI.Skills

To see the skills in the repo without installing them, add --list:

npx skills add PragmaticFlow/NBomber.AI.Skills --list

Check the install​

  1. Start a new agent session, or restart the agent, so that it finds the new skills.
  2. Ask the agent which skills it has. The list should include nb-core and nb-http.

Usage​

The skills work in two modes:

  • Writing a test. The agent makes the new code pass every check.
  • Reviewing a test. The agent goes through every check, and reports each one as passed or failed. For each failed check, it gives the file and the line, explains the problem, and proposes the exact change. The agent does not change your code until you agree.

Update or remove the skills​

We improve the skills together with NBomber. If you installed the skills with skills.sh, use these commands:

CommandWhat it does
npx skills checkChecks whether updates are available.
npx skills updateUpdates the installed skills.
npx skills remove nb-core nb-httpRemoves the skills.

Feedback​

The skills are open source under the MIT license. If the agent gives you incorrect advice, or you have an idea for a new check, open an issue on GitHub.