Borrowing it
Nothing to install: this file belongs to erraggy/oastools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/erraggy/oastools/main/.claude/skills/quality-gate/SKILL.mdgit 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/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/erraggy/oastools/quality-gate"><img src="https://agentmods.dev/badge/skills/erraggy/oastools/quality-gate.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.00033 | $0.00445 |
| Opus 5.5 | $0.00013 | $0.00178 |
| Sonnet 5.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 3mo 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.
- 3mo ago First seen · 78 lines · 33 tokens per session scan A 50a53c2792f4
quality-gate is a skill published in the GitHub repository erraggy/oastools (7 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 445 once invoked, about $0.0001 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-08-31.
quality-gate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| quality-gateerraggy/oastools | Skill | 7 | today | MIT | A | 33 | Claude Code |
| skmtc-lang-goskmtc/skmtc | Skill | 20 | today | Apache-2.0 | A | 96 | Claude Code |
| climate-generatordisk0Dancer/climate | Skill | 6 | 4mo ago | Apache-2.0 | A | 39 | Claude Code, Codex |
| migrate-goldmark-extension-v1-to-v2yuin/goldmark | Skill | 5.1k | yesterday | MIT | A | 26 | Claude Code |
| migrate-goldmark-app-v1-to-v2yuin/goldmark | Skill | 5.1k | yesterday | MIT | A | 25 | Claude Code |
| jwx-guide-v4lestrrat-go/jwx | Skill | 2.4k | today | MIT | A | 61 | Claude Code |
| printing-pressmvanhorn/cli-printing-press | Skill | 5.1k | today | MIT | A | 86 | Claude Code |