Skip to content
Skill

Schemathesis fuzzing

Fuzzes OpenAPI and GraphQL APIs from schema to find 5xx errors and conformance gaps

Schemathesis fuzzing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
18
Last commit
License
MIT
Listing updated

Similar skills

About Schemathesis fuzzing

This skill guides an agent through setting up Schemathesis, a property-based testing tool that generates API test cases from an OpenAPI or GraphQL schema. It walks through installing the CLI, running it against a staging URL with default checks, and reproducing failures from the printed curl command and Hypothesis seed.

The skill covers the main CLI flags such as URL, check selection, example count, workers, headers and report formats, along with the built-in checks for status codes, response schemas, content types, headers, server errors and auth enforcement. It also explains how to promote runs into pytest tests using a parametrized decorator and how to gate pull requests and nightly builds in CI.

Three setups address common reasons a run stays green while missing bugs: dynamic token refresh for auth, schema constraints that let negative input checks work, and OpenAPI links that enable stateful create-read-delete sequences. Users need a machine-readable API schema, and Python with pip or uv for the CLI. Some CI and pytest details are kept in a separate reference file.

When your agent uses it

Use for any request to generate API tests from an OpenAPI or GraphQL schema, or to find inputs that make an API return 500 that hand-written tests miss: Schemathesis fuzzes every endpoint for 5xx errors and schema violations from the CLI or pytest, picks the conformance checks and gates CI as the API evolves.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 19 files (125 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/plugin marketplace add testland/qa
/plugin install qa-api-testing@testland-qa

Or copy only this skill to ~/.claude/skills/schemathesis-fuzzing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/schemathesis-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/schemathesis-fuzzing" ~/.claude/skills/schemathesis-fuzzing &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/schemathesis-fuzzing inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/schemathesis-fuzzing to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/schemathesis-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/schemathesis-fuzzing" ~/.agents/skills/schemathesis-fuzzing &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/schemathesis-fuzzing inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/schemathesis-fuzzing to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/schemathesis-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/schemathesis-fuzzing" ~/.cursor/skills/schemathesis-fuzzing &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/schemathesis-fuzzing inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/testland/qa.git --path plugins/qa-api-testing/skills/schemathesis-fuzzing

Or copy the folder to ~/.gemini/skills/schemathesis-fuzzing yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/schemathesis-fuzzing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/schemathesis-fuzzing &&
cp -R "$tmp/plugins/qa-api-testing/skills/schemathesis-fuzzing" ~/.copilot/skills/schemathesis-fuzzing &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/schemathesis-fuzzing inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/testland/qa.git

Then copy qa/plugins/qa-api-testing/skills/schemathesis-fuzzing into your agent's skills folder as schemathesis-fuzzing. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Schema-driven fuzzing
Generates many varied requests per endpoint directly from an OpenAPI or GraphQL schema.
Built-in conformance checks
Verifies status codes, response bodies, content types, headers and server errors against the schema.
CLI and pytest runs
Runs from the command line or as parametrized pytest tests against a chosen base URL.
Dynamic auth setup
Fetches and refreshes tokens during a run instead of relying on a static header.
Stateful workflow testing
Chains create, read and delete operations using OpenAPI links to find resource lifecycle bugs.
CI gating guidance
Describes shallow pull request runs and deeper scheduled runs with reproducible failure output.

Good for

  • Generate fuzz tests for an OpenAPI spec I just wrote
  • Find inputs that make my API return 500 errors
  • Run schema conformance checks against our staging server
  • Set up Schemathesis in pytest and gate CI on failures
  • Test a create-then-delete API flow for stale resources

Schemathesis fuzzing FAQ

What does the skill need before Schemathesis fuzzing can be used?

The API must ship an OpenAPI 2.0, 3.x or GraphQL schema, and the CLI is installed with pip or run through uvx.

Does Schemathesis fuzzing run against production?

The guidance says to always target a staging URL with the --url flag, since generated requests can change data.

Why do some tests miss negative input bugs?

The negative data check can only flag what the schema forbids, so missing constraints like minimum or maxLength hide those bugs.

Which old CLI flags should be avoided?

The skill notes that the 3.x flags such as --base-url, --junit-xml and --cassette-path are no longer in the current CLI.

How do I install Schemathesis fuzzing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/schemathesis-fuzzing to use it in all your projects, or to .claude/skills/schemathesis-fuzzing in one project. Or install the qa-api-testing plugin, which includes it: /plugin marketplace add testland/qa, then /plugin install qa-api-testing@testland-qa.

Does Schemathesis fuzzing 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 Schemathesis fuzzing?

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 Schemathesis fuzzing?

The closest alternatives to Schemathesis fuzzing are API to testcase generator, Vibe fuzz parser inputs, Testing conventions, JSON schema and Restler fuzzing.

Where this comes from

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

More from testland/qa

  1. Builds a CI ratchet that fails PRs only on new accessibility violations

    • Open source
    • 18 GitHub stars
    • Developer tools
  2. Guides an agent through W3C ARIA Authoring Practices patterns for custom widgets

    • Open source
    • 18 GitHub stars
    • Developer tools
  3. Adds automated axe-core accessibility scans to Playwright, Cypress and CI pipelines

    • Open source
    • 18 GitHub stars
    • Developer tools
  4. Builds manual screen-reader test scripts and signed sign-off reports for a feature

    • Open source
    • 18 GitHub stars
    • Developer tools
  5. Checks color pairs and design tokens against WCAG contrast ratios for text and UI

    • Open source
    • 18 GitHub stars
    • Design and media
  6. Aggregates multi-page accessibility scans into a WCAG 2.2 conformance report

    • Open source
    • 18 GitHub stars
    • Documentation review