code-quality

code-quality is a skill for Claude Code, Codex from paruff/uFawkesAI. It costs 30 tokens per session (704 once invoked), scanned A, original, MIT.

A code-checking skill that reviews formatting, naming, folder layout, type safety, and test coverage against a project's conventions.

In plain words
What is it for?
It helps run linters and format checks, inspect naming and directory structure, and report quality issues in a JSON file.
Why use it?
It catches inconsistent or hard-to-maintain code before it reaches review or release.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

Good fit It helps run linters and format checks, inspect naming and directory structure…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paruff/ufawkesai/code-quality
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.

Any agent
npx skills add paruff/uFawkesAI --skill code-quality
Clone the repo
git clone --depth 1 https://github.com/paruff/uFawkesAI

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/paruff/ufawkesai/code-quality.svg)](https://agentmods.dev/skills/paruff/ufawkesai/code-quality)
Your own site
<a href="https://agentmods.dev/skills/paruff/ufawkesai/code-quality"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/code-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 704 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.00030 $0.00704
Opus 5 $0.00015 $0.00352
Sonnet 5 $0.00006 $0.00141
Haiku 4.5 $0.00003 $0.00070

Measured 3d ago against content hash b3d30e88b3ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

.agents/skills/review/code-quality/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Code Quality Validation

Load trigger: "load code-quality skill" > DORA: Cap 5 (Small Batches / Shift Left on Quality) Token cost: Low

Purpose

Validate code quality, formatting, and maintainability.

Responsibilities

  • Run linters
  • Run formatters (check mode, not fix)
  • Validate naming conventions
  • Validate directory structure
  • Validate test coverage

Inputs

  • Build output (source code)

Outputs

  • code-quality.json

Validation Rules

Linting

  • Lint passes with no errors
  • Lint warnings documented (if any)
  • No new lint warnings introduced

Formatting

  • Code formatted per project conventions
  • No formatting diffs in review
  • Consistent indentation and style

Naming Conventions

  • Variables/functions use project convention (camelCase, snake_case)
  • Classes/Types use PascalCase
  • Constants use UPPER_SNAKE_CASE or project convention
  • File names follow project convention

Directory Structure

  • Files in correct directories per architecture
  • Test files co-located or in test directory per convention
  • No files in wrong layer

Type Safety

  • No any types (or justified with comment)
  • No @ts-ignore or @ts-expect-error without justification
  • No type: ignore (Python) without justification
  • Proper type exports

Code Smells

  • No dead code left in place
  • No commented-out code blocks
  • No TODO without issue number
  • No magic numbers or strings

Tools

Language Linter Formatter
TypeScript ESLint Prettier
Python Ruff / Flake8 Black
Go golangci-lint gofmt
Rust clippy rustfmt

Output Format

{
  "skill": "code-quality",
  "status": "pass | fail",
  "lint": {
    "status": "pass | fail",
    "errors": 0,
    "warnings": 2,
    "details": ["Unused import at src/utils.ts:5"]
  },
  "formatting": {
    "status": "pass | fail",
    "diffs": 0
  },
  "naming": {
    "status": "pass | fail",
    "violations": []
  },
  "type_safety": {
    "status": "pass | fail",
    "any_count": 0,
    "ts_ignore_count": 0
  }
}

Read the full file on GitHub · 119 lines

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 · 119 lines · 30 tokens per session scan A b3d30e88b3ca

Subscribe to this mod's changes

code-quality is a skill published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 14d ago), licensed MIT. It adds 30 tokens to every session and 704 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-09-03.