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/melodic-software/claude-code-plugins/quality-gatenpx skills add melodic-software/claude-code-plugins --skill quality-gategit clone --depth 1 https://github.com/melodic-software/claude-code-pluginsWrote 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/melodic-software/claude-code-plugins/quality-gate)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/quality-gate"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/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.00190 | $0.02837 |
| Opus 5 | $0.00095 | $0.01418 |
| Sonnet 5 | $0.00038 | $0.00567 |
| Haiku 4.5 | $0.00019 | $0.00284 |
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 yesterday.
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 — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-computed context
Current branch: !git branch --show-current 2>/dev/null || echo "unknown"
Working tree status (empty = clean): !{ git status --porcelain 2>/dev/null || echo "(git status unavailable)"; } | head -20
Open PRs (match headRefName to current branch above; baseRefName is the PR's real base): !gh pr list --json number,title,headRefName,baseRefName --limit 10 2>/dev/null || echo "unknown"
Purpose
Review is the quality checkpoint between "code works" and "code is ready." This skill structures that step so changes are inspected for consistency, correctness, and alignment with the project's conventions before verification or PR creation. Self-review catches errors tests miss. Inconsistencies, loose ends, convention drift, design shortcuts. Delegated reviews (code, architecture, security) bring specialized scrutiny the implementer's tunnel vision would miss.
Depth, not breadth. This skill picks ONE lens per invocation. For a multi-surface fan-out that runs many reviewers at once and ranks their combined findings, use this plugin's fanout skill instead.
Shared inputs
- Review diff base. mode-scoped override first:
close-outdoes not use this base at all. A spec container is not a branch, so that mode derives a container-scoped basis of its own, per execution shape (context/close-out.md "Why it needs its own diff basis"). Every other mode uses the base below. When an open PR exists for the branch, itsbaseRefNameis the base: dispatched reviewers diffgit merge-base origin/<baseRefName> HEAD. The pre-computed PR list above is capped; when the current branch is absent from it, rungh pr list --head <current-branch> --json number,baseRefNamebefore concluding no PR exists. Otherwisegit merge-base origin/HEAD HEAD(falling back to the remote's resolved default branch viagit ls-remote --symref, thenorigin/main, thenHEAD) so committed-clean branches still show their changes; untracked files come fromgit ls-files --others --exclude-standard. - Severity vocabulary, the project's own review docs when present; else
${CLAUDE_PLUGIN_ROOT}/context/severity.md. - Criteria resolution. Review criteria resolve through the standards index per the plugin binding
${CLAUDE_PLUGIN_ROOT}/reference/standards-contract.md(its "Resolution ladder" section owns the procedure), detailed in context/criteria.md. - Findings location. Resolve through the plugin binding,
${CLAUDE_PLUGIN_ROOT}/reference/topic-docs.md, which owns the resolution ladder, its non-interactive collapse, the<branch-slug>and<UTC-timestamp>spec, and the self-ignore guard. Resolve the home; never assume its shape, the ladder's rungs do not all compose areviews/<branch-slug>segment. Durable findings are<UTC-timestamp>-<mode>.mdin the resolved directory. Write repo-relative paths only, never absolute machine paths.
What ships with it
12 files 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.
- context/architecture.md 1.5 KB
- context/close-out.md 26 KB
- context/code.md 2.9 KB
- context/criteria.md 2.1 KB
- context/downstream.md 8.6 KB
- context/per-slice.md 2.4 KB
- context/pr.md 3.4 KB
- context/restatement.md 3.4 KB
- context/security.md 2.3 KB
- context/self.md 5.2 KB
- context/spec.md 11 KB
- evals/evals.json 16 KB
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.
- yesterday First seen · 134 lines · 190 tokens per session scan A ee64dd6c7975
quality-gate is a skill published in the GitHub repository melodic-software/claude-code-plugins (14 stars, last pushed yesterday), licensed MIT. It adds 190 tokens to every session and 2,837 once invoked, about $0.0010 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-09-03.
Other skills, from other repositories
phpunit-migration-test-reviewing
Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.
structuring-documentation
Use when writing, editing, auditing, splitting, or measuring Markdown documentation surfaces — README.md, AGENTS.md, CLAUDE.md, and docs/ siblings. Triggers include "is this doc too long", "split this README", "measure the docs", "where does this documentation belong", "audit the documentation", and any request to…
phpunit-integration-test-generation
Use this skill when the user asks to generate, write, or create integration tests for a Shopware 6 source class whose contract requires wired-up code — phrases like "generate integration tests for X", "write an integration test for this controller", "test this indexer", "create an integration test for the message…
phpunit-unit-test-writing
Use this skill when the user asks to write, generate, create, or add PHPUnit unit tests for a Shopware 6 source class — phrases like "write unit tests for X", "generate tests for ClassName", "create PHPUnit tests", "add test coverage", "test this class", "cover this with tests", "I need tests for", "unit test this"…
phpunit-migration-test-generation
Use this skill when the user asks to generate, write, or create migration tests for a Shopware 6 migration class — phrases like "generate migration tests", "write a migration test", "create migration test", "test this migration", "test Migration1234Foo". Analyzes the source migration's SQL operations to pick an…
phpunit-test-reconciling
Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.