maid-runner-mcp: Command for Claude Code

.claude/commands/quality-check-and-commit.md

quality-check-and-commit is a command for Claude Code from mamertofabian/maid-runner-mcp. It costs 11 tokens per session (347 once invoked), scanned A, original, MIT.

A code-quality command that runs project checks, fixes issues that can be fixed automatically, and creates a Git commit. Git is the version-control system used to record code changes.

In plain words
What is it for?
Validate manifests, lint and format Python code, check type hints, run tests, inspect the diff, and commit the resulting changes with a supplied message.
Why use it?
It combines validation, formatting, review of pending changes, and committing into one repeatable workflow, while stopping if required checks fail.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is mamertofabian/maid-runner-mcp's own configuration. It tells Claude Code how to work on maid-runner-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maid-runner-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mamertofabian/maid-runner-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mamertofabian/maid-runner-mcp/main/.claude/commands/quality-check-and-commit.md
Clone the repo
git clone --depth 1 https://github.com/mamertofabian/maid-runner-mcp

Made for: Claude Code.

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-and-commit

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/mamertofabian/maid-runner-mcp/quality-check-and-commit"><img src="https://agentmods.dev/badge/commands/mamertofabian/maid-runner-mcp/quality-check-and-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 347 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.00011 $0.00347
Opus 5 $0.00005 $0.00173
Sonnet 5 $0.00002 $0.00069
Haiku 4.5 $0.00001 $0.00035

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

Security

Grade A, and why

quality-check-and-commit 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 8d 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.

.claude/commands/quality-check-and-commit.md · 46 lines

What it actually says

Run quality checks, fix issues, and commit: $ARGUMENTS

This command performs a complete code quality workflow following the commit policy:

  1. Run all validation and quality checks:

    uv run maid validate    # Validate all MAID manifests
    uv run maid test        # Run all MAID validation commands
    make lint               # Check code style with ruff
    make type-check         # Check type hints with ruff
    make test               # Run full pytest suite
    make format             # Format code with black
    
  2. Fix any auto-fixable issues:

    make lint-fix           # Auto-fix linting issues
    
  3. Re-run checks after fixes to ensure all pass:

    make lint               # Verify linting passes
    make type-check         # Verify type checking passes
    
  4. Show what will be committed:

    git status
    git diff --staged
    git diff
    
  5. Commit the changes:

    git add -A
    git commit -m "$ARGUMENTS" || git commit -m "chore: fix code quality issues"
    

Note: This command will commit changes automatically. It follows the commit policy by running all required validation checks first. If any checks fail, the commit will not proceed. If you need to run checks without committing, use the fix command instead.

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. 8d ago First seen · 46 lines · 11 tokens per session scan A dece912edaf0

Subscribe to this mod's changes

quality-check-and-commit is a command published in the GitHub repository mamertofabian/maid-runner-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 347 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.