next-role: Skill for Codex

.agents/skills/quality/SKILL.md

quality is a skill for Codex from tam159/next-role. It costs 83 tokens per session (724 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 Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is tam159/next-role's own configuration. It tells Codex how to work on next-role 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 next-role configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tam159/next-role. 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/tam159/next-role/main/.agents/skills/quality/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tam159/next-role

Made for: 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/github.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/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tam159/next-role/quality"><img src="https://agentmods.dev/badge/skills/tam159/next-role/quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 724 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00083 $0.00724
Opus 5.5 $0.00033 $0.00290
Sonnet 5.5 $0.00017 $0.00145
Haiku 4.5 $0.00008 $0.00072

Measured 1mo ago against content hash 40881b71436a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 55 lines

How it starts

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

Quality

Run validation the way AGENTS.md defines it for this repo. Two modes — pick by scope, not habit.

Changed-file check (default after edits)

Validate everything you touched once at the end of a task — modified tracked files plus new untracked, non-ignored files — in a single run from the repo root:

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

Don't run it after every individual edit; batch. If pre-commit isn't on this shell's PATH, it is a backend dev dependency: backend/.venv/bin/pre-commit run --files ....

Full sweep (/quality, "full quality pass")

When invoked explicitly, when asked for a full quality pass, before opening a PR, or after a large refactor:

pre-commit run --all-files

This executes every configured hook on every tracked file:

  • trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files
  • gitleaks (secret scanning)
  • Backend + analytics: ruff check --fix, ruff format, and uv run ty check per project
  • Analytics dbt SQL: sqlfluff fix + sqlfluff lint
  • Frontend: eslint --fix, prettier --write, pnpm --dir frontend type-check, and scripts/check-langchain-sdk-sync.mjs (single installed copy of @langchain/langgraph-sdk)

Workflow (both modes)

  1. Run the command from the repo root.
  2. If hooks modify files (ruff/prettier auto-fix, EOL fixer): re-read those files before reporting — the on-disk content differs from what you wrote — then re-stage and re-run until the run is clean.
  3. If hooks fail with errors (type errors, lint errors that aren't auto-fixable, secrets detected): report the errors. Do not edit unrelated files to make them pass — fix only what's broken.
  4. Report the final status: green (everything passed) or red (the remaining failures).

Targeted checks

Pre-commit runs linters and type checkers, not tests. Run the relevant suite before the pre-commit step when it gives faster, more relevant feedback:

Read the full file on GitHub · 55 lines

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. 1mo ago Changed 40881b71436a
  2. 2mo ago Changed · +13 lines · +40 tokens per session c7ba7227c976
  3. 2mo 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 (65 stars, last pushed 2d ago), licensed MIT. It adds 83 tokens to every session and 724 once invoked, about $0.0003 per session on Opus 5.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

quality compared with skills from other repositories

quality next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qualitytam159/next-roleSkill652d agoMITA83Codex
ai-dev-jobs-mcp-v2diegosouzapw/awesome-omni-skillsSkill1704mo agoMITA78Claude Code, Codex
ai-dev-jobs-mcpdiegosouzapw/awesome-omni-skillsSkill1704mo agoMITA76Claude Code, Codex
openspec-verify-changeFission-AI/OpenSpecSkill74kyesterdayMITA51Claude Code
schema-explorationlangchain-ai/deepagentsSkill31kyesterdayMITA57Claude Code, Codex
cli-resiliencediegosouzapw/OmniRouteSkill83k5d agoMITA35Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill83k5d agoMITA46Claude Code