compliance-analysis

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

A command that summarizes and helps clear rules-based code-analysis issues on the current branch. These are automated findings such as bugs, security vulnerabilities, and code-quality problems.

In plain words
What is it for?
Use it to triage and resolve analysis findings across the current branch, including vulnerabilities, reliability bugs, and code smells.
Why use it?
It organizes issues by type and severity and gives a suggested order for addressing them, starting with security risks.

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 triage and resolve analysis findings across the current branch, including vulnerabilities, reliability bugs, and code smells.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-analysis"><img src="https://agentmods.dev/badge/commands/qualimetry/claude-code-qualimetry-ai-app/compliance-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 286 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.00016 $0.00286
Opus 5 $0.00008 $0.00143
Sonnet 5 $0.00003 $0.00057
Haiku 4.5 $0.00002 $0.00029

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

Security

Grade A, and why

compliance-analysis 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.

plugins/qualimetry-ai-app/commands/compliance-analysis.md · 21 lines

What it actually says

Compliance: Analysis

Invoke the bundled analysis-issues skill. It calls get_rules_based_analysis_issues_summary to show the issue distribution by type (bugs, vulnerabilities, code smells) and severity (BLOCKER, CRITICAL, MAJOR, MINOR, INFO), then walks the user through clearing them in order: security vulnerabilities first, then reliability bugs, then code-quality concerns.

It then works the branch's security hotspots, which the issue tools never return: security-sensitive code that needs a person to decide whether it is safe. Claude reads each hotspot's risk description and fix recommendations, assesses the code and reports back. Marking a hotspot reviewed is a human action in Qualimetry, so the outcome comes back as an assessment, not a status change.

Requires Qualimetry Enterprise — if the MCP returns an "Enterprise feature" error, surface that to the user verbatim and stop.

If the MCP isn't configured, emit the verbatim self-healing message:

Qualimetry isn't configured yet. To finish setup, type the following in the chat input box and press Enter:

/qualimetry-setup

You'll be asked for your Qualimetry server URL and your access token.

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. 4d ago Changed · +2 lines · -2 tokens per session 7d85cbdaad20
  2. 9d ago First seen · 19 lines · 18 tokens per session scan A a9b483ec89ac

Subscribe to this mod's changes

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