Skip to content

Guide · Agent skill

How to use the API Testing Expert agent skill (api-tester)

Updated · written with AI from the project's own documentation and checked against our catalogue data

The api-tester skill is a set of instructions that teaches an AI agent to test, debug and validate REST and GraphQL APIs the way an experienced API tester would. It is written for backend developers checking a new or changed endpoint, QA engineers who want a systematic list of negative and edge-case tests, and anyone stuck on a failing API call. After this guide you will know what the skill changes about the agent's behaviour, how to install it, how to ask for it in plain language, and what to watch for when running the commands it suggests.

API Testing ExpertRightNow-AI/openfang · Apache-2.0

Quick start

  1. 1Download the ZIP. Get the api-tester ZIP from the agent-skills directory page.
  2. 2Unzip into a skills folder. Extract it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder.
  3. 3Or upload it in the apps. In the Claude apps, go to Settings → Capabilities → Skills and upload the ZIP.
  4. 4Confirm curl is available. Check that curl runs on your machine. Install jq, httpie or Postman only if you want to use them.
  5. 5Set credentials as environment variables. Export any API token you need so commands can reference it without writing it into scripts.
  6. 6Describe the API task. Ask in plain language, naming the endpoint, method and any error or status code you see.
  7. 7Review and run the suggested commands. Read each curl command the agent proposes, confirm it targets a safe environment, then run it yourself.

What the api-tester skill makes the agent do

Agent skills are folders of instructions that an AI agent loads when a task matches them. The api-tester skill is a single SKILL.md file. Once it is loaded, the agent works through API tasks in a set order: it reads the API documentation or OpenAPI/Swagger spec first, tests the happy path, then moves on to error cases and edge cases.

For testing, the agent checks authentication (unauthenticated and expired tokens should return 401, wrong roles should return 403), invalid input (missing required fields, wrong types, empty, very long and special-character values), pagination, idempotency, rate limiting (429 responses and Retry-After headers), and CORS. For GraphQL it covers introspection, depth and complexity limits, variables, and mutation and subscription behaviour.

For debugging, the agent checks the status code first, then headers such as Content-Type and Accept, then API versioning, and then network causes such as firewalls or proxies. It suggests curl commands for each check. The skill itself only contains written instructions and commands; it does not run anything by itself.

Install the api-tester skill

You can install the skill in either of two ways. The first is to download the ZIP from the agent-skills directory page and unzip it into your personal skills folder at ~/.claude/skills/, or into a project's .claude/skills/ folder if you want the skill available only in that project. The second is to upload the ZIP in the Claude apps under Settings → Capabilities → Skills.

After unzipping, the skill folder should contain SKILL.md. The skill file begins with a short header naming it api-tester and describing it, which is how the agent recognises when to use it.

  • Personal install: unzip into ~/.claude/skills/
  • Project install: unzip into .claude/skills/ inside your project
  • Apps: Settings → Capabilities → Skills, then upload the ZIP

Check what you need before you start

The skill needs curl, which is commonly preinstalled on macOS and Linux. jq, httpie or Postman are optional and only needed if you want the agent to use them. API credentials are supplied by you through environment variables; the skill tells the agent to keep tokens out of command history and scripts.

The skill does not run scripts and does not use the network by itself. Any request that reaches an API comes from commands you or the agent run on your machine.

  • Required: curl
  • Optional: jq, httpie or Postman
  • Credentials: supplied by you via environment variables

Trigger the skill with natural requests

You do not need a special command. Describe the API task in plain language and mention the endpoint or the failure. The skill's description covers API testing, curl, REST, GraphQL, authentication and debugging, so requests that touch those topics are the ones that should load it.

Give the agent as much context as you can: the endpoint, the method, the documentation or spec if you have one, and the exact status code or error body you see. The skill asks the agent to read the documentation before testing, so pasting the spec helps.

  • Test this new endpoint for auth, validation and pagination problems: POST /users
  • Our GraphQL API is slow on nested queries. Check the depth and complexity limits.
  • This curl call returns 502 from our staging API. Work out why, starting with the status code.

Example: a systematic check of a new REST endpoint

Ask the agent to test a new endpoint against the methodology. Typical output starts with an authentication check and then moves to invalid input. For example, a request to create a user without a required field should return 400, and the agent will suggest a curl command like the one below to confirm it.

Remember that a 200 response is not proof of success. The skill specifically tells the agent to validate the response body as well.

curl -s -X POST -H "Content-Type: application/json" -d '{"name":"test"}' https://api.example.com/users

Use safe habits with the suggested commands

Store tokens in environment variables and reference them in commands, so they do not end up in scripts or shared history. Use timeouts so a hanging request does not block you. Inspect raw traffic with verbose mode when a response does not make sense.

Keep destructive calls such as DELETE or bulk updates away from production. The skill warns against them, but it cannot technically stop a command from being run, so review each command before you execute it.

  • Authorization header from an environment variable: curl -s -H "Authorization: Bearer $TOKEN" https://api.example.com/me
  • Add timeouts: curl --connect-timeout 5 --max-time 30
  • Inspect the exchange: curl -v
curl -s -H "Authorization: Bearer $TOKEN" https://api.example.com/me

What people use it for

  • Checking that a new REST endpoint returns 401 without a token and 403 for the wrong role.
  • Building a list of negative tests: missing fields, invalid types, empty and overly long strings.
  • Checking pagination at the first page, last page, out-of-range page and zero or negative limits.
  • Confirming CORS headers and preflight OPTIONS responses from a browser context.
  • Diagnosing a 4xx or 5xx response by working through status code, headers, version and network causes.

Frequently asked questions

How do I install the api-tester skill?

Download the ZIP from the agent-skills directory page and unzip it into ~/.claude/skills/, or into a project's .claude/skills/ folder. You can also upload the ZIP in the Claude apps under Settings → Capabilities → Skills.

What does the api-tester skill require?

It requires curl, which is commonly preinstalled. jq, httpie and Postman are optional and only used if you want them. You supply API credentials through environment variables.

Does the api-tester skill run scripts or use the network?

No. According to its file, the skill runs no scripts and uses no network. It contains instructions and suggested commands, and any requests are made only when you or the agent run them.

Is the api-tester skill free?

The source material for this page does not state pricing or licence terms beyond the project's Apache-2.0 licence, so check the repository for details.

Can the skill test load or penetration on someone else's API?

Not recommended. The skill does not address authorisation and could encourage aggressive probing such as rapid-fire rate-limit tests, so only test systems you own or have permission to test.

What should I do if the skill does not trigger?

Make sure the folder is in ~/.claude/skills/ or the project's .claude/skills/ and contains SKILL.md. Then mention API, endpoint, curl, REST or GraphQL explicitly in your request.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use api-tester if you are a backend developer checking a REST or GraphQL endpoint, a QA engineer who wants a structured list of negative and edge-case tests, or someone debugging a failing API call. Pick a different tool if you need load or penetration testing, because the skill does not cover authorisation and can encourage aggressive probing. Also avoid pointing its suggested commands at production destructive operations without safeguards.

Download the skill