linter-docs

linter-docs is a skill for Claude Code from zernie/vigiles. It costs 125 tokens per session (532 once invoked), scanned A, original, MIT.

Reference material for creating or debugging rules for the Vigiles linter, a tool that checks source code for problems. It covers ESLint, Ruff, Pylint, RuboCop, Stylelint, and Clippy.

In plain words
What is it for?
Use it when authoring or diagnosing Vigiles rules for the supported linters; it is not intended for running a linter.
Why use it?
It helps you find exact rule names, syntax-tree selectors, type-aware checks, automatic fixes, and configuration details instead of guessing.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the vigiles plugin — 27 skills, 1 agent, 4 hooks, 6 plugins shipped together

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/zernie/vigiles/linter-docs
Any agent
npx skills add zernie/vigiles --skill linter-docs
Clone the repo
git clone --depth 1 https://github.com/zernie/vigiles

Made for: Claude Code.

Or install vigiles, the plugin that ships this one along with the rest of its 27 skills, 1 agent, 4 hooks, 6 plugins.

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 linter-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/zernie/vigiles/linter-docs.svg)](https://agentmods.dev/skills/zernie/vigiles/linter-docs)
Your own site
<a href="https://agentmods.dev/skills/zernie/vigiles/linter-docs"><img src="https://agentmods.dev/badge/skills/zernie/vigiles/linter-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 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.1 $0.00125 $0.00532
Opus 5 $0.00063 $0.00266
Sonnet 5 $0.00025 $0.00106
Haiku 4.5 $0.00013 $0.00053

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

Security

Grade A, and why

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

skills/linter-docs/SKILL.md · 30 lines

What it actually says

Reference material for the linters vigiles cross-references. Open the file for the linter you're working with when you need exact rule names, AST selectors, or config details to author an enforce() rule (or diagnose why one is reported missing or disabled).

Linter Reference
ESLint eslint.md — plugin table, AST selectors, type-aware rules, auto-fix
Ruff ruff.md — 800+ reimplemented rules, selection, auto-fix, pyproject config
Pylint pylint.md — plugin table, astroid AST, type inference, custom checkers
RuboCop rubocop.md — gem table, node pattern DSL, auto-correct, custom cops
Stylelint stylelint.md — plugin table, PostCSS AST, custom rules, SCSS
Clippy clippy.md — Rust lint groups and configuration

JVM/Go linters (detekt, ktlint, Checkstyle, golangci-lint) and Cedar are cross-referenced by enforce() but have no deep-dive file here yet — their capabilities, config surfaces, and known limits (e.g. ktlint is format-only, Checkstyle enabled-state is whitelist-only) are documented in docs/linter-support.md.

These are read by the strengthen and edit-spec skills when matching a guidance rule to a real linter rule. This skill is user-invoked (a reference, not an action), so it never fires on its own — open the relevant file directly.

Files

What ships with it

6 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 · 30 lines · 125 tokens per session scan A 846ce8b994cc

Subscribe to this mod's changes

linter-docs is a skill published in the GitHub repository zernie/vigiles (15 stars, last pushed 2d ago), licensed MIT. It adds 125 tokens to every session and 532 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-08-30.