lint

A code linter checks changed files for common mistakes and style problems using the tools and rules already chosen for the project.

In plain words
What is it for?
Use it to review changes in Go, Python, shell, JavaScript, or configured TypeScript projects, and optionally run TypeScript type checks.
Why use it?
It gives you a list of issues to assess before finishing your work, while showing when a required linter is missing.

Command

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 commands/azrtydxb/procoder/lint
Clone the repo
git clone --depth 1 https://github.com/azrtydxb/procoder
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 389 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.00021 $0.00389
Opus 5 $0.00010 $0.00195
Sonnet 5 $0.00004 $0.00078
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade A, and why

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

.kilo/commands/lint.md · 30 lines

What it actually says

The user invoked /procoder:lint with arguments: $ARGUMENTS

The command below is the procoder binary on PATH.

  1. Run procoder lint (or procoder lint <paths> with arguments). Each finding is file:line message (lint) from the ecosystem's canonical linter — golangci-lint, ruff check, shellcheck, eslint — under the project's own configuration.
  2. Judge every finding honestly: fix what is real, and say why for anything you leave (a false positive, a deliberate choice). Never silence a finding by deleting the code's intent.
  3. Lines saying NOT checked mean a linter is missing — run procoder init. Configless plain JavaScript gets the procoder baseline (eslint's built-in core rules, labeled "procoder baseline") — the project's own config always wins when present. Configless TypeScript stays out of scope: its parser is not built into eslint, and procoder installs no packages into repos.
  4. Findings are informational by default; the repo can make them block the gate with [lint] policy = "block" in .procoder/config.toml.
  5. procoder lint --types [paths] adds the type-checker where the linter does not compile the code: tsc --noEmit for TypeScript (under the project's own tsconfig) and pyright for Python. Go and Rust need no flag — their linters already compile. Use it after refactors and renames to catch type fallout the linters cannot see.
  6. Re-run after fixing and show the user the result.
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. 2d ago First seen · 30 lines · 21 tokens per session scan A f618a26e8738

Subscribe to this mod's changes

lint is a command published in the GitHub repository azrtydxb/procoder (196 stars, last pushed 2d ago), licensed Apache-2.0. It adds 21 tokens to every session and 389 once invoked, about $0.0001 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.