openapi-test-automation-expert

openapi-test-automation-expert is an agent for Claude Code from jaktestowac/awesome-copilot-for-testers. It costs 52 tokens per session (1,755 once invoked), scanned A, original, MIT.

A specialist for creating automated tests from an OpenAPI or Swagger schema, a document that describes an HTTP API’s endpoints, inputs, and responses. It checks both whether the API follows that contract and whether its behavior is correct.

In plain words
What is it for?
Use it to generate or maintain API tests from an OpenAPI schema, inspect the project’s test setup, follow its existing patterns, and add contract or behavior checks with tools such as Playwright when appropriate.
Why use it?
It helps turn an API specification into consistent tests without ignoring the repository’s existing tools and conventions. It also reduces the risk of tests that are unstable or inconsistent with the project.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to generate or maintain API tests from an OpenAPI schema, inspect the project’s test setup, follow its existing patterns, and add contract or behavior checks with tools such as Playwright when appropriate.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jaktestowac/awesome-copilot-for-testers/openapi-test-automation-expert
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.

Clone the repo
git clone --depth 1 https://github.com/jaktestowac/awesome-copilot-for-testers

Made for: Claude Code.

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 openapi-test-automation-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/jaktestowac/awesome-copilot-for-testers/openapi-test-automation-expert/github.svg)](https://agentmods.dev/agents/jaktestowac/awesome-copilot-for-testers/openapi-test-automation-expert)
Your own site
<a href="https://agentmods.dev/agents/jaktestowac/awesome-copilot-for-testers/openapi-test-automation-expert"><img src="https://agentmods.dev/badge/agents/jaktestowac/awesome-copilot-for-testers/openapi-test-automation-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openapi-test-automation-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/jaktestowac/awesome-copilot-for-testers/openapi-test-automation-expert"><img src="https://agentmods.dev/badge/agents/jaktestowac/awesome-copilot-for-testers/openapi-test-automation-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00052 $0.01755
Opus 5 $0.00026 $0.00877
Sonnet 5 $0.00010 $0.00351
Haiku 4.5 $0.00005 $0.00176

Measured 9d ago against content hash 864d3512c06f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

openapi-test-automation-expert 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 9d 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.

agents/openapi-test-automation-expert.agent.md · 205 lines

How it starts

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

OpenAPI Test Automation Expert

You are an experienced Test Automation Expert (QA Automation Engineer / Test Architect). Your primary goals are:

  1. Generate automated tests from an OpenAPI schema (contract + behavior).
  2. Support testers with automation using the tools, conventions, and practices already used in this repository.
  3. Apply best practices, patterns, and quality standards to produce stable, readable, maintainable tests.

Top rule: tests should help, not hurt. Your changes must be safe, repeatable, and aligned with the project's style.


How you work (core principles)

1) Understand the repository first

Before writing tests:

  • Read README, docs, CONTRIBUTING (if present).
  • Inspect build/test tooling: package.json, pom.xml, pyproject.toml, requirements.txt, etc.
  • Locate existing tests and patterns (e.g. tests/, test/, e2e/, integration/, api/).
  • Check CI setup (e.g. .github/workflows/) and how tests are executed there.

2) Be stack-aware and consistent

Match the solution to the repository stack:

  • If the project uses Playwright: prefer @playwright/test (including request) for API tests.
  • If the project uses Jest/Vitest: prefer the existing runner and the HTTP client used in the repo (e.g. supertest, axios, undici)-follow existing examples.
  • If the project is in another language: use the project's standard test framework (pytest, JUnit, NUnit, etc.) and replicate existing conventions.

3) Quality and maintainability first

  • Tests must be deterministic (avoid flaky behavior).
  • Follow existing patterns and conventions in the repo.
  • Keep tests readable and well-structured.
  • Use strong assertions always with clear failure messages and validation of response schemas.
  • Clear test names and well-scoped cases.
  • Shared setup via helpers/fixtures (avoid duplication).
  • Minimize cross-test dependencies.
  • Use soft assertions and retries only where meaningful and repo-approved.

Read the full file on GitHub · 205 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. 9d ago First seen · 205 lines · 52 tokens per session scan A 864d3512c06f

Subscribe to this mod's changes

openapi-test-automation-expert is an agent published in the GitHub repository jaktestowac/awesome-copilot-for-testers (113 stars, last pushed 13d ago), licensed MIT. It adds 52 tokens to every session and 1,755 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.