quality

quality is a skill for Claude Code, Codex from tam159/next-role. It costs 43 tokens per session (328 once invoked), scanned A, original, MIT.

A repository quality workflow for formatting, linting, type checking, tests, and pre-commit checks. Pre-commit runs the checks configured for files changed in Git.

In plain words
What is it for?
Use it after code changes, or when checking backend tests, frontend tests, frontend types, integration tests, or the entire repository.
Why use it?
It provides a consistent way to find errors and style problems before code is reported as finished.

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/tam159/next-role/quality
Any agent
npx skills add tam159/next-role --skill quality
Clone the repo
git clone --depth 1 https://github.com/tam159/next-role

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 quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/tam159/next-role/quality.svg)](https://agentmods.dev/skills/tam159/next-role/quality)
Your own site
<a href="https://agentmods.dev/skills/tam159/next-role/quality"><img src="https://agentmods.dev/badge/skills/tam159/next-role/quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 328 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.00043 $0.00328
Opus 5 $0.00022 $0.00164
Sonnet 5 $0.00009 $0.00066
Haiku 4.5 $0.00004 $0.00033

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

Security

Grade A, and why

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

.agents/skills/quality/SKILL.md · 42 lines

What it actually says

Quality

Run validation the way CLAUDE.md defines it for this repo.

Default Changed-File Check

After code edits, validate all modified and untracked files once at the end:

pre-commit run --files $(git ls-files --modified --others --exclude-standard)

If hooks auto-fix a file, re-read that file before summarizing the result.

Full Sweep

When the user asks for a full quality pass or broad repository validation, run:

pre-commit run --all-files

Targeted Checks

  • Backend fast tests: cd backend && uv run pytest
  • Backend single test file: cd backend && uv run pytest tests/path/test_file.py
  • Backend integration tests: cd backend && uv run pytest -m integration
  • Frontend full test suite: cd frontend && pnpm test
  • Frontend type check: cd frontend && pnpm type-check
  • Frontend all-in-one check: cd frontend && pnpm quality

Use targeted checks before the changed-file pre-commit run when they give faster, more relevant feedback.

Local Stack

If integration tests or visual checks need services and docker ps shows the stack is not running, remind the user to run docker compose up -d. Do not silently start the stack yourself.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 First seen · 42 lines · 43 tokens per session scan A a53b67abf3be

Subscribe to this mod's changes

quality is a skill published in the GitHub repository tam159/next-role (49 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 328 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-30.

Related

Other skills, from other repositories

ai-dev-jobs-mcp-v2

AI Dev Jobs MCP workflow skill. Use this skill when the user needs Search 8,400+ AI and ML jobs across 489 companies, inspect listings and employers, match roles, and view salary and market stats via AI Dev Jobs MCP and the operator should preserve the upstream workflow, copied support files, and provenance before…

diegosouzapw/awesome-omni-skills · 78 tokens

ai-dev-jobs-mcp

AI Dev Jobs MCP workflow skill. Use this skill when the user needs Search 8,400+ AI and ML jobs across 489 companies, inspect listings and employers, match roles, and view salary and market stats via AI Dev Jobs MCP and the operator should preserve the upstream workflow, copied support files, and provenance before…

diegosouzapw/awesome-omni-skills · 76 tokens

openspec-verify-change

Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete, correct, and coherent before archiving.

Fission-AI/OpenSpec · 32 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

openspec-new-change

Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.

Fission-AI/OpenSpec · 40 tokens

omni-mcp

Connect to the OmniRoute MCP server (110 tools, 3 transports: SSE/stdio/HTTP). Covers routing, cache, compression, memory, skills, providers, and audit tools across 33 permission scopes.

diegosouzapw/OmniRoute · 48 tokens