code-linting

code-linting is a skill for Claude Code, Codex from OKHP3/skillz. It costs 130 tokens per session (1,338 once invoked), scanned A, original, MIT.

Code-linting guidance for setting up and tuning automated checks that find code problems and enforce consistent formatting across many programming languages and file types.

In plain words
What is it for?
Choosing lint and formatting tools, checking existing configurations, fixing failing lint jobs, and adding checks to commits or CI.
Why use it?
It removes repetitive style discussions and avoids lint rules that either overwhelm developers with noise or miss useful problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Choosing lint and formatting tools, checking existing configurations, fixing failing lint jobs, and adding checks to commits or CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okhp3/skillz/code-linting
View source ↗ OKHP3/skillz
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 OKHP3/skillz --skill code-linting
Clone the repo
git clone --depth 1 https://github.com/OKHP3/skillz

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/okhp3/skillz/code-linting/github.svg)](https://agentmods.dev/skills/okhp3/skillz/code-linting)
Your own site
<a href="https://agentmods.dev/skills/okhp3/skillz/code-linting"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/code-linting/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 code-linting

Your own site · 80×15
<a href="https://agentmods.dev/skills/okhp3/skillz/code-linting"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/code-linting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,338 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.00130 $0.01338
Opus 5 $0.00065 $0.00669
Sonnet 5 $0.00026 $0.00268
Haiku 4.5 $0.00013 $0.00134

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

Security

Grade A, and why

code-linting 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 6d 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.

community/code-linting/SKILL.md · 126 lines

How it starts

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

Code linting

A linter's job is to make an entire category of review comment impossible. Every rule you enable should retire a conversation nobody should have again.

The failure mode: a lint config so noisy that people run it with --no-verify, or so lax it catches nothing. Both end with the linter ignored. Aim for a config where every reported problem is worth fixing, because that is what keeps the signal trusted.

1. Find out what already exists

Never add a second linter alongside a working one. Check for config files, CI lint steps, and editor settings before proposing anything.

ls -a | grep -Ei 'lint|format|pre-commit|editorconfig|prettier|ruff|eslint'

Also check whether it currently passes. A config that has been failing for months is a different problem from a missing config — that one is a decision to make, not a tool to install.

Done when: you know which tools are configured, whether they run in CI, and whether they currently pass.

2. Pick the stack's tooling

Read the matching reference for the recommended tool, its config, and the rules worth enabling or disabling:

Stack Reference
Python references/python.md
JavaScript / TypeScript references/javascript.md
Go references/go.md
Rust references/rust.md
Java / Kotlin references/jvm.md
Ruby references/ruby.md
Shell references/shell.md
SQL references/sql.md
Markdown / YAML / JSON references/markup.md
Docker / Terraform references/infra.md

For a stack not listed, apply the principles below and prefer the ecosystem's dominant tool over the technically best one — adoption beats capability for a linter.

Done when: one formatter and one linter chosen per language in the repo.

3. Separate formatting from linting

These are different jobs and conflating them causes most lint pain.

  • Formatting is not a matter of opinion once a tool is chosen. Zero configuration, run on save, auto-fix always, never discussed again.
  • Linting catches likely bugs and real hazards. It requires judgment and should be tuned.

Read the full file on GitHub · 126 lines

Files

What ships with it

10 files 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. 6d ago First seen · 126 lines · 130 tokens per session scan A cba06de1858c

Subscribe to this mod's changes

code-linting is a skill published in the GitHub repository OKHP3/skillz (3 stars, last pushed yesterday), licensed MIT. It adds 130 tokens to every session and 1,338 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

ontoly-software-graph

Use Ontoly's deterministic Software Graph and MCP capabilities for architecture review, request tracing, dependency analysis, configuration lookup, and impact analysis before falling back to source-file search.

anbeime/skill · 41 tokens

kelly-pr-review

GitHub pull request review desk (Busabase App-in-Skill) using the gh CLI for real GitHub access, an AirApp review UI for human approval, and a trusted gh pr review execution step. Use when the user invokes /kelly-pr-review or $kelly-pr-review, asks to review GitHub PRs, generate a PR review batch…

mr-kelly/skills · 94 tokens

drupal-security-review

Use when auditing Drupal 11 custom modules/themes for security issues such as unsafe input handling, XSS risks, SQL injection, and access control gaps.

siva01c/claude-plugins · 35 tokens

find-verified-code-review-agent

Find a Verified Code Review Agent. Agent discovery, trust verification, and capability routing powered by Aidress — the coordination registry for autonomous AI agents. Use for software agent discovery, trust verification, and capability routing — via Aidress (https://api.aidress.ai).

Aidress-ai/aidress-skill-find-verified-code-review-agent · 61 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens

refactor-advisor

A code review helper that finds common design and maintenance problems in a codebase and suggests ways to restructure the code.

laolaoshiren/claude-code-skills-zh · 22 tokens