code-quality

code-quality is a skill for Claude Code, Codex from syamaner/coffee-roaster-mcp. It costs 36 tokens per session (445 once invoked), scanned A, original, Apache-2.0.

A project-completion checklist for running automated software-quality checks, including tests, linting, formatting, type checking, and command-line smoke tests.

In plain words
What is it for?
It runs the project's test suite, Ruff checks, formatting check, Pyright type checker, and checks that the command-line tool responds to help and version commands.
Why use it?
It helps catch broken code, style problems, type errors, and unusable command-line commands before a task is marked complete or a pull request is opened.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/syamaner/coffee-roaster-mcp/code-quality
Any agent
npx skills add syamaner/coffee-roaster-mcp --skill code-quality
Clone the repo
git clone --depth 1 https://github.com/syamaner/coffee-roaster-mcp

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/syamaner/coffee-roaster-mcp/code-quality.svg)](https://agentmods.dev/skills/syamaner/coffee-roaster-mcp/code-quality)
Your own site
<a href="https://agentmods.dev/skills/syamaner/coffee-roaster-mcp/code-quality"><img src="https://agentmods.dev/badge/skills/syamaner/coffee-roaster-mcp/code-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.00445
Opus 5 $0.00018 $0.00222
Sonnet 5 $0.00007 $0.00089
Haiku 4.5 $0.00004 $0.00044

Measured yesterday against content hash 0192a4fb13fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-quality 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.

.claude/skills/code-quality/SKILL.md · 67 lines

What it actually says

Code Quality - RoastPilot

Use this skill before marking implementation work complete. Root AGENTS.md is the current gate authority.

Prerequisites

  • Work from the repository root.

  • Use Python 3.11+.

  • Dependencies must be installed from project metadata:

    The top-level parent alone performs venv/dependency installation where network or dependency resolution is needed. Write-capable leaves return affected offline-gate evidence and never request network or sandbox relaxation.

python -m pip install -e . --group dev

Required Checks

Run:

python -m pytest --cov=coffee_roaster_mcp --cov-branch --cov-report=term-missing
python -m ruff check .
python -m ruff format --check .
python -m pyright
coffee-roaster-mcp --help
coffee-roaster-mcp --version
python -m build
python .github/scripts/smoke_install_built_wheel.py

The top-level parent alone runs build and clean-wheel smoke where dependency resolution or network access is needed; leaves return affected offline-gate evidence without requesting network or sandbox relaxation.

Acceptance

  • Coverage-and-branch pytest passes.
  • ruff check . passes.
  • ruff format --check . passes.
  • pyright reports 0 errors.
  • CLI help and version commands exit successfully.
  • Package build and clean-wheel smoke pass.

If The Environment Is Incomplete

  • Do not silently skip checks.
  • Create a temporary virtual environment if needed.
  • Install dependencies from pyproject.toml.
  • Record exactly which checks passed and which could not be run.

Do Not

  • Add production test fakes to make tests easier.
  • Install dependencies without declaring them in pyproject.toml.
  • Mark hardware stories complete from unit tests alone.
  • Run hardware validation without a separate human-owned contract.
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. yesterday Changed · +13 lines 0192a4fb13fe
  2. 5d ago First seen · 54 lines · 36 tokens per session scan A ef4c24bf388e

Subscribe to this mod's changes

code-quality is a skill published in the GitHub repository syamaner/coffee-roaster-mcp (0 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 445 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

unraid

This skill should be used when the user mentions Unraid, asks to check server health, monitor array or disk status, list or restart Docker containers, start or stop VMs, read system logs, check parity status, view notifications, manage API keys, configure rclone remotes, check UPS or power status, get live CPU or…

dinglebear-ai/unraid · 109 tokens

scrape-batch

Extract many known URLs in one polite, rate-limited pass. Use when the user hands over a list of links, a set of search hits to read in full, or asks to "scrape these pages" / "pull the content from all of them". Drives extract(action="batch"), which fans out with per-domain rate limiting and returns partial results…

n24q02m/wet-mcp · 84 tokens

compare

Structured comparison of 2+ alternatives with consistent criteria and decision matrix.

n24q02m/wet-mcp · 15 tokens

research-topic

Multi-step research orchestration. Use when user asks "research X", "summarize current state of Y", "what's the latest on Z", or compares approaches. Calls extract(action="agent") which searches the web, extracts top results, then synthesises a citation-preserving Markdown answer with one configured LLM.

n24q02m/wet-mcp · 68 tokens

knowledge-audit

Review and clean up stored memories — find duplicates, contradictions, stale entries, and consolidate.

n24q02m/mnemo-mcp · 21 tokens

temporal-query

Answer time-travel questions over stored memory — what was believed at a past point in time, when a belief changed, and what replaced it. Use when the user says "as of", "back in", "at the time", "history of", "timeline", "what did I think then", or asks why a current memory contradicts an older one.

n24q02m/mnemo-mcp · 77 tokens