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.
npx skills add pactflow/pactflow-agent-skills --skill oas-generatorgit clone --depth 1 https://github.com/pactflow/pactflow-agent-skillsWrote 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.
[](https://agentmods.dev/skills/pactflow/pactflow-agent-skills/oas-generator)<a href="https://agentmods.dev/skills/pactflow/pactflow-agent-skills/oas-generator"><img src="https://agentmods.dev/badge/skills/pactflow/pactflow-agent-skills/oas-generator/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.
<a href="https://agentmods.dev/skills/pactflow/pactflow-agent-skills/oas-generator"><img src="https://agentmods.dev/badge/skills/pactflow/pactflow-agent-skills/oas-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00164 | $0.02011 |
| Opus 5.5 | $0.00066 | $0.00804 |
| Sonnet 5.5 | $0.00033 | $0.00402 |
| Haiku 4.5 | $0.00016 | $0.00201 |
Grade A, and why
oas-generator 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 15d 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.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OAS Generator
Generates an OpenAPI 3.x YAML spec by statically analysing a provider codebase with ripwire. The spec may be incomplete (stubs for unresolvable schemas), but it will always be valid OAS and immediately usable for path-coverage testing.
Prerequisites: ripwire on PATH. If absent, check pact-coverage/references/install-ripwire.md.
Step 1 — Identify the framework
Run ripwire to get oriented, then infer the framework from the ranked output and config files:
ripwire <provider-root> --for="HTTP route definitions and request handlers"
Also check for framework config files in the project root:
Gemfilewithsinatraorrails→ Rubypackage.jsonwithexpress,fastify,koa, orhapi→ Node.jspyproject.toml/requirements.txtwithflaskorfastapi→ Python
If the framework is still ambiguous after these checks, ask the user.
Step 2 — Extract all routes
Use framework-specific patterns to find every route registration. Run all applicable
patterns and deduplicate results. Use --regex= for these patterns: --grep= is a literal
match, so alternation (a|b) silently returns zero hits.
Ruby — Rails
ripwire <root> --regex="resources|get '|post '|put '|patch '|delete '|namespace"
Also expand config/routes.rb to get the full route DSL, then trace each action to its
controller method to find what each path actually maps to.
Ruby — Sinatra
ripwire <root> --regex="get '|post '|put '|patch '|delete '"
Each match is a route; the enclosing block is the handler. Note the in= attribute from grep
hits to get the enclosing symbol name, then --expand it for the full handler body.
Node.js — Express / Fastify / Koa
ripwire <root> --regex='\.get\(|\.post\(|\.put\(|\.patch\(|\.delete\(|\.route\('
Also check for router objects (e.g. router.get() and app.use( with sub-routers.
Python — Flask
ripwire <root> --regex='@app\.route|@blueprint\.|@bp\.'
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 15d ago Changed · +1 lines 4de9e7822154
- 25d ago First seen · 221 lines · 164 tokens per session scan A 3735ab8871f3
oas-generator is a skill published in the GitHub repository pactflow/pactflow-agent-skills (7 stars, last pushed yesterday), licensed MIT. It adds 164 tokens to every session and 2,011 once invoked, about $0.0007 per session on Opus 5.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-09-22.
Other skills, from other repositories
xdto-validate
A validator for XDTO packages in 1C:Enterprise. It checks the package model, its metadata object, and its connection to the configuration.
API Contract Validator
Validate API responses against OpenAPI/Swagger specifications, JSON Schema definitions, and consumer-driven contracts to prevent breaking changes.
Contract Test Generator
Generate consumer-driven contract tests using Pact framework to verify API provider-consumer compatibility and prevent integration breaking changes.
Contract Testing with Pact
Consumer-driven contract testing skill using Pact, covering consumer tests, provider verification, Pact Broker integration, and CI/CD workflows.
feature-verify
Feature verification (READ-ONLY, P0-P5). Use when: verifying feature behavior after deployment, validating API responses, diagnosing production issues, post-deploy smoke test. Not for: modifying data (use feature-dev), code review (use codex-review-fast), writing tests (use codex-test-gen), security audit (use…
post-dev-test
Post-development test completion. Use when: checking test coverage after feature-dev, writing missing integration/e2e tests. Not for: unit test generation (use codex-test-gen), test review (use test-review). Output: test files + coverage report.