quality-check

quality-check is a command for Claude Code from yeaight7/agent-powerups. It costs 21 tokens per session (527 once invoked), scanned A, original, Apache-2.0.

A command that runs a project’s formatting, linting, tests, build, and related quality checks in sequence before code is merged.

In plain words
What is it for?
Use it for a pre-merge check, optionally treating warnings as failures or attempting formatting fixes, and to run the project’s own configured tools.
Why use it?
It stops at failures and shows the problem, so changes are not merged while automated checks are broken or configured quality rules are unmet.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the quality-gates plugin — 8 skills, 4 commands, 7 agents shipped together

Good fit Use it for a pre-merge check, optionally treating warnings as failures or attempting formatting fixes, and to run the project’s own configured tools.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yeaight7/agent-powerups/quality-check
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/yeaight7/agent-powerups

Made for: Claude Code.

Or install quality-gates, the plugin that ships this one along with the rest of its 8 skills, 4 commands, 7 agents.

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 quality-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/yeaight7/agent-powerups/quality-check/github.svg)](https://agentmods.dev/commands/yeaight7/agent-powerups/quality-check)
Your own site
<a href="https://agentmods.dev/commands/yeaight7/agent-powerups/quality-check"><img src="https://agentmods.dev/badge/commands/yeaight7/agent-powerups/quality-check/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 quality-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/yeaight7/agent-powerups/quality-check"><img src="https://agentmods.dev/badge/commands/yeaight7/agent-powerups/quality-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 527 The whole file, excluding the scripts and references it only reads on demand.
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.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00527
Opus 5 $0.00010 $0.00264
Sonnet 5 $0.00004 $0.00105
Haiku 4.5 $0.00002 $0.00053

Measured 3d ago against content hash 0cc3e1f015d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-16, from the pricing page.

Security

Grade A, and why

quality-check 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 3d 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/quality-gates/commands/quality-check.md · 67 lines

What it actually says

Quality Gate Orchestrator

CRITICAL BEHAVIORAL RULES

You MUST follow these rules exactly. Violating any of them is a failure.

  1. Execute checks sequentially. Do NOT skip checks unless explicitly instructed.
  2. Halt on failure. If any check fails and cannot be automatically fixed, STOP immediately. Present the error.
  3. Use local tools. Rely on the project's configured tools (e.g., npm run lint, cargo test, etc.).
  4. Never enter plan mode autonomously. Execute the quality gate directly.

Pre-flight Checks

Identify the project type and available quality scripts (e.g., in package.json, Makefile, etc.). Determine if --strict (fail on warnings) or --fix (attempt auto-fix) flags are present in $ARGUMENTS.

Phase 1: Code Formatting and Linting

  1. Run the project's formatting check (e.g., Prettier, rustfmt).
    • If --fix is passed, run the format-fix command instead.
  2. Run the project's linting tool (e.g., ESLint, Clippy).
    • Capture warnings and errors.
    • If --strict is active, warnings count as failures.

Phase 2: Automated Testing

  1. Run the unit test suite.
  2. Verify that all tests pass.
  3. Check code coverage metrics if configured. Ensure they meet the project's baseline.

Phase 3: Static Analysis and Build

  1. Run type checking (e.g., tsc --noEmit) if applicable.
  2. Run a trial build to ensure compilation succeeds without errors.

Phase 4: Reporting

Generate a final quality gate report:

# Quality Gate Results

## Summary
- **Status**: [PASS | FAIL]
- **Linting**: [X errors, Y warnings]
- **Testing**: [X passed, Y failed]
- **Type Check / Build**: [PASS | FAIL]

## Details
[List specific failures or areas of concern]

## Next Steps
[Provide exact commands or recommendations to resolve any failures]

Validation Checklists

  • Linting passes completely.
  • Formatting aligns with standard rules.
  • All tests execute and pass.
  • Build completes without compilation errors.
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. 3d ago First seen · 67 lines · 21 tokens per session scan A 0cc3e1f015d2

Subscribe to this mod's changes

quality-check is a command published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 21 tokens to every session and 527 once invoked, about $0.0001 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-14.