swagger-contract-testing

swagger-contract-testing is a plugin for Claude Code from pactflow/pactflow-agent-skills. Its manifest loads nothing; the 6 skills, 6 agents, 2 hooks, 1 MCP server it bundles cost 1,696 tokens per session together, scanned A, original, MIT.

A collection of assistants and tools for Pact contract testing, where one service records its expected interactions with another and the other verifies them.

In plain words
What is it for?
It helps developers create and review Pact tests, verify providers, check whether a version can be deployed, test contracts against OpenAPI descriptions, and investigate drift.
Why use it?
It helps catch incompatible API changes between services before deployment. PactFlow is the service used to store and coordinate these contracts.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Good fit It helps developers create and review Pact tests, verify providers, check whether a version can be deployed, test contracts against OpenAPI descriptions, and investigate drift.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add pactflow/pactflow-agent-skills
/plugin install swagger-contract-testing
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/pactflow/pactflow-agent-skills

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 swagger-contract-testing

README.md
[![agentmods](https://agentmods.dev/badge/plugins/pactflow/pactflow-agent-skills/swagger-contract-testing/github.svg)](https://agentmods.dev/plugins/pactflow/pactflow-agent-skills/swagger-contract-testing)
Your own site
<a href="https://agentmods.dev/plugins/pactflow/pactflow-agent-skills/swagger-contract-testing"><img src="https://agentmods.dev/badge/plugins/pactflow/pactflow-agent-skills/swagger-contract-testing/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 swagger-contract-testing

Your own site · 80×15
<a href="https://agentmods.dev/plugins/pactflow/pactflow-agent-skills/swagger-contract-testing"><img src="https://agentmods.dev/badge/plugins/pactflow/pactflow-agent-skills/swagger-contract-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 6 skills, 6 agents, 2 hooks, 1 MCP server cost 1,696 tokens a session between them.
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.
Security

Grade A, and why

swagger-contract-testing 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 10d 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.

plugins/swagger-contract-testing/.claude-plugin/plugin.json · 34 lines

What it actually says

{
  "name": "swagger-contract-testing",
  "description": "Expert assistant for PactFlow and Pact contract testing — consumer-driven contracts, provider verification, can-i-deploy, BDCT, Drift CLI, and OpenAPI spec parsing. Includes specialized agents for reviewing and generating pact tests.",
  "version": "1.3.0",
  "author": {
    "name": "Kevin Rohan Vaz",
    "email": "[email protected]"
  },
  "skills": "./skills/",
  "agents": [
    "./agents/pact-generator.md",
    "./agents/pact-implementor.md",
    "./agents/pact-reviewer.md",
    "./agents/bdct-tester.md",
    "./agents/pact-maintainer.md",
    "./agents/pact-coverage.md"
  ],
  "mcpServers": "./.mcp.json",
  "userConfig": {
    "pact_broker_base_url": {
      "title": "PactFlow Base URL",
      "description": "Your PactFlow or Pact Broker URL (e.g. https://yourorg.pactflow.io)",
      "type": "string",
      "sensitive": false
    },
    "pact_broker_token": {
      "title": "PactFlow API Token",
      "description": "PactFlow API token — get it from app.pactflow.io/settings/api-tokens",
      "type": "string",
      "sensitive": true
    }
  }
}
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. 10d ago Changed · +7 lines 655276efc645
  2. 25d ago Changed d6964791c394
  3. 1mo ago First seen · 27 lines scan A 2ad53303e437

Subscribe to this mod's changes

swagger-contract-testing is a plugin published in the GitHub repository pactflow/pactflow-agent-skills (7 stars, last pushed yesterday), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-31.