code-lint

code-lint is a skill for Claude Code from laurigates/claude-plugins. It costs 43 tokens per session (1,875 once invoked), scanned A, original, MIT.

A universal linter detects the suitable linting or formatting tool for the languages in a project, such as Ruff, ESLint, Clippy, or gofmt. Linters check source code against rules without running the application.

In plain words
What is it for?
Use it to lint a project, automatically fix supported findings, format code, or run a pre-commit check in a multi-language repository.
Why use it?
It catches style, formatting, and common code problems before they reach a commit or review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the SlashCommand tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code-quality-plugin plugin — 17 skills shipped together

Good fit Use it to lint a project, automatically fix supported findings, format code, or run a pre-commit check in a multi-language repository.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add laurigates/claude-plugins
Claude Code
/plugin install code-quality-plugin

Made for: Claude Code.

Or install code-quality-plugin, the plugin that ships this one along with the rest of its 17 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/code-lint"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/code-lint.svg" alt="Reviewed on agentmods" width="80" 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 1,875 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.00043 $0.01875
Opus 5.5 $0.00017 $0.00750
Sonnet 5.5 $0.00009 $0.00375
Haiku 4.5 $0.00004 $0.00187

Measured 16d ago against content hash f88761f300f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-lint 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 16d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/detect-and-fix.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

code-quality-plugin/skills/code-lint/SKILL.md · 162 lines

How it starts

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

When to Use This Skill

Use this skill when... Use something else instead when...
Auto-detecting and running the correct linter for a polyglot repo Detecting structural anti-patterns linters miss → code-antipatterns
Running ruff/eslint/clippy/gofmt with optional --fix and --format Reviewing broader code quality and architecture → code-review
Driving a one-shot lint pass before commit Scanning specifically for swallowed errors → code-hidden-failures --track errors
Looking up autofix commands or common fix patterns per language (use this skill — autofix reference is now here)

Context

  • Package files: !find . -maxdepth 1 \( -name "package.json" -o -name "pyproject.toml" -o -name "setup.py" -o -name "requirements.txt" -o -name "Cargo.toml" -o -name "go.mod" \) -type f
  • Pre-commit config: !find . -maxdepth 1 -name ".pre-commit-config.yaml" -type f

Parameters

Parse $ARGUMENTS and bind three values before running anything. These are supplied by the caller; nothing substitutes them for you.

Token in $ARGUMENTS Binds Default when absent
First non-flag token PATH — the file or directory to lint . (repo root)
--fix FIX — apply autofixes off; check only
--format FORMAT — run formatters in write mode off; formatters run in --check mode

Every command in Step 2 is written with a literal PATH placeholder. Substitute the bound value when you run it — e.g. with $ARGUMENTS empty, ruff check PATH is run as ruff check ..

Execution

Run this lint pass:

Step 0: One-shot path (preferred when no PATH is given)

When the caller passed no path (or passed .), the bundled detector already does detection, tool discovery, and fixing in a single call:

bash "${CLAUDE_PLUGIN_ROOT}/skills/code-lint/scripts/detect-and-fix.sh"
bash "${CLAUDE_PLUGIN_ROOT}/skills/code-lint/scripts/detect-and-fix.sh" --check-only

Read the full file on GitHub · 162 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. 16d ago Changed f88761f300f1
  2. 19d ago Changed 374cb1b3b960
  3. 1mo ago Changed · -2 tokens per session 26d5f4c07419
  4. 1mo ago First seen · 162 lines · 45 tokens per session scan A 1d44cd4e616f

Subscribe to this mod's changes

code-lint is a skill published in the GitHub repository laurigates/claude-plugins (59 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,875 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

review-feedback

Address code review/PR comments: verify each, then fix.

42-evey/hermes-plugins · 16 tokens

phpunit-test-team-reviewing

Use this skill when the user asks for a team-based, consensus, multi-reviewer, or red-team review of Shopware PHPUnit tests — trigger phrases like "team review these tests", "consensus review the tests in PR.

shopwareLabs/ai-coding-tools · 52 tokens

phpunit-test-reconciling

Internal sub-skill. Do not auto-activate. Use only when explicitly invoked by name by another skill or agent.

shopwareLabs/ai-coding-tools · 32 tokens

audit-comment-residue

Read-only classifier that flags residue in code comments: history narration, plan or session references, conversational asides, ticket or PR back-references, origin notes, and workarounds with no link or removal condition. Use when asked to 'audit code comments' or report which comments only make sense with the chat…

melodic-software/claude-code-plugins · 96 tokens

issue-analyzing

Use this skill when the user asks to analyze a specific GitHub issue, understand what area of code an issue affects, assess an issue's scope, or research the code context around an issue — example triggers like "analyze issue.

shopwareLabs/ai-coding-tools · 51 tokens

pr-analyzing

Use this skill when the user asks to analyze a specific GitHub pull request, review a PR's architectural impact, assess what changed in a PR and why it matters, or research the code relationships affected by a PR — example triggers like "analyze PR.

shopwareLabs/ai-coding-tools · 56 tokens