compliance-fix

compliance-fix is a command for Claude Code from Qualimetry/claude-code-qualimetry-ai-app. It costs 17 tokens per session (267 once invoked), scanned A, original, Apache-2.0.

A command that shows Qualimetry review findings for a file and applies the standards-compliant corrections. Qualimetry is a code-review service that checks software against defined standards.

In plain words
What is it for?
Use it to fix reported coding-standard, design, security, policy, or other review issues in one file without committing or pushing the changes.
Why use it?
It combines finding problems, making the requested corrections, and checking the file again, so you do not have to repeat those steps manually.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the qualimetry-ai-app plugin — 5 skills, 6 commands, 1 agent, 1 hook shipped together

Good fit Use it to fix reported coding-standard, design, security, policy, or other review issues in one file without committing or pushing the changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/qualimetry/claude-code-qualimetry-ai-app/compliance-fix
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/Qualimetry/claude-code-qualimetry-ai-app

Made for: Claude Code.

Or install qualimetry-ai-app, the plugin that ships this one along with the rest of its 5 skills, 6 commands, 1 agent, 1 hook.

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 compliance-fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-fix/github.svg)](https://agentmods.dev/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-fix)
Your own site
<a href="https://agentmods.dev/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-fix"><img src="https://agentmods.dev/badge/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-fix/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 compliance-fix

Your own site · 80×15
<a href="https://agentmods.dev/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-fix"><img src="https://agentmods.dev/badge/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 267 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.00017 $0.00267
Opus 5 $0.00009 $0.00133
Sonnet 5 $0.00003 $0.00053
Haiku 4.5 $0.00002 $0.00027

Measured 9d ago against content hash 52a9e323702b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

compliance-fix 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 9d 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/qualimetry-ai-app/commands/compliance-fix.md · 19 lines

What it actually says

Compliance: Fix

Same as /compliance-check, then apply the fix.

  1. Resolve the target file the same way /compliance-check does ($ARGUMENTS, or the current file, or ask).
  2. Invoke the bundled review-check skill against the file. Capture the violations and the standards-compliant example returned by get_standards_compliant_example.
  3. Read the file's current contents before changing anything. Apply the corrections from the compliant example, preserving any user-authored content the violations don't touch. Group changes logically (one Edit per related cluster of violations) so the diff is reviewable.
  4. After applying, re-invoke review-check to confirm the violations are resolved. If new violations appear (rare — usually means the fix introduced a new issue), surface them and stop; do not loop.
  5. End with a one-line summary: Resolved <N> violations across <pillars>. Re-run /compliance-check to confirm.

If the MCP isn't configured, emit the verbatim self-healing message from /compliance-check.

Do not commit or push. The user owns the diff.

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. 9d ago First seen · 19 lines · 17 tokens per session scan A 52a9e323702b

Subscribe to this mod's changes

compliance-fix is a command published in the GitHub repository Qualimetry/claude-code-qualimetry-ai-app (1 stars, last pushed 5d ago), licensed Apache-2.0. It adds 17 tokens to every session and 267 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-08-31.