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 agentmods add skills/erraggy/oastools/quality-gatenpx skills add erraggy/oastools --skill quality-gategit clone --depth 1 https://github.com/erraggy/oastoolsWrote 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/erraggy/oastools/quality-gate)<a href="https://agentmods.dev/skills/erraggy/oastools/quality-gate"><img src="https://agentmods.dev/badge/skills/erraggy/oastools/quality-gate.svg" alt="Measured on agentmods" 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 | $0.00033 | $0.00445 |
| Opus 5 | $0.00016 | $0.00222 |
| Sonnet 5 | $0.00007 | $0.00089 |
| Haiku 4.5 | $0.00003 | $0.00044 |
Grade A, and why
quality-gate 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 4d 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.
What it actually says
quality-gate
Run the complete quality pipeline and report structured results.
Usage:
/quality-gate— validate all changed packages/quality-gate parser validator— validate specific packages
Step 1: Identify Scope
Determine which packages to check.
If packages were specified as arguments, use those.
Otherwise, find changed .go files:
git diff --name-only HEAD
Then extract unique package directories from the output using string processing — do NOT use piped bash commands (they trigger permission prompts). Convert relative paths to absolute paths (prepend the repo root) for Step 3.
Step 2: Run make check
This runs tidy, fmt, lint, and tests in one command:
make check
Record pass/fail and capture any output.
Step 3: Run gopls Diagnostics
Use the go_diagnostics MCP tool on changed .go files (NOT bash). Pass absolute paths.
Categorize results:
- 🔴 Errors — must fix
- 🟡 Warnings — should fix
- 💡 Hints — fix for performance (5-15% impact documented)
Step 4: Report
Present results in this format:
## Quality Gate Results
### `make check`: ✅ PASS / ❌ FAIL
[details if failed]
### gopls Diagnostics
| File | Level | Message | Suggested Fix (if any) |
|------|-------|---------|------------------------|
| ... | ... | ... | ... |
### Verdict: ✅ READY / ❌ NOT READY
Issues to address:
1. [issue]
2. [issue]
Step 5: Offer Actions
If there are fixable issues, offer:
- Fix all — address all findings automatically
- Fix errors only — address blocking issues
- Skip — acknowledge and continue
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.
- 4d ago First seen · 78 lines · 33 tokens per session scan A 50a53c2792f4
quality-gate is a skill published in the GitHub repository erraggy/oastools (5 stars, last pushed 6d ago), licensed MIT. It adds 33 tokens to every session and 445 once invoked, about $0.0002 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-31.
Other skills, from other repositories
climate-generator
Generate Go CLIs from OpenAPI 3.x specs with climate, inspect generated CLIs, and emit Markdown skill prompts so those CLIs can be attached to agent workflows.
openapi-glossary
Use consistent OpenAPI terminology and definitions when writing documentation, educational material, and tooling guidance.
scalar-docs
Skill for writing and updating scalar.config.json — Scalar Docs configuration reference for users and LLMs.
cloud-agents-starter
Minimal starter runbook for cloud agents to install dependencies, run packages, execute tests, and troubleshoot the Scalar monorepo quickly.
mock-server
Build, customize, and troubleshoot OpenAPI mock servers with @scalar/mock-server, including x-handler, x-seed, authentication, and Docker.
typescript
Write clear, predictable TypeScript and Vue TypeScript code with strong typing, maintainability, and consistent documentation conventions.