run-lint

run-lint is a skill for Claude Code, Codex from tmj-90/gaffer. It costs 68 tokens per session (1,231 once invoked), scanned A, original, Apache-2.0.

A code-quality check that runs the repository's existing linter or formatter and fixes the problems it finds.

In plain words
What is it for?
Run lint checks, fix reported violations in changed files, and record proof that the check passes.
Why use it?
It catches style and formatting failures before code review or submission, without weakening the project's rules.

Skill for Claude CodeCodex

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

Good fit Run lint checks, fix reported violations in changed files, and record proof that the check passes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tmj-90/gaffer/run-lint
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 tmj-90/gaffer --skill run-lint
Clone the repo
git clone --depth 1 https://github.com/tmj-90/gaffer

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmj-90/gaffer/run-lint"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/run-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,231 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.00068 $0.01231
Opus 5.5 $0.00027 $0.00492
Sonnet 5.5 $0.00014 $0.00246
Haiku 4.5 $0.00007 $0.00123

Measured 1mo ago against content hash 12a9ec4fc728, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-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 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.

runner/skills/run-lint/SKILL.md · 82 lines

How it starts

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

Run lint and format checks

Run the repo's configured lint, format and type checks, fix what they report inside the ticket's scope, and evidence a clean run. The linter is the repo's opinion about its own code: conform to it; do not argue with it or switch it off.

Why it matters here. After you stop, the runner runs the repository's lint_command (and a typecheck, when configured) as a Definition-of-Done gate. A red gate auto-rejects the delivery back to rework, so run the same command yourself first.

Steps

  1. Find the exact command. In order: the repository's lint_command in the get_ticket response (this is what the gate runs); the CI workflow's lint step; the manifest scripts (package.json lint / format:check / typecheck, pyproject.toml ruff/black/mypy config, Makefile); then the ecosystem default (golangci-lint run / go vet, cargo clippy -- -D warnings and cargo fmt --check, mvn -q verify with checkstyle/spotless). Prefer the project script over the raw tool so flags and config match CI.
  2. Run it once, when the change is complete — on the whole target the gate runs, not only your files. Capture the command, the exit code and the error/warning counts. Do not lint after every edit; one run, then one after fixes.
  3. Auto-fix formatting, then hand-fix the rest. Use the repo's fixer (eslint --fix, prettier --write <files>, ruff check --fix, black, gofmt -w, cargo fmt) on the files you changed only. Hand-fix what remains in those files.
  4. Separate your violations from pre-existing ones. Compare the reported files with git diff --name-only <default-branch>...HEAD plus your uncommitted changes. A violation in a file you did not touch is noted, not fixed, unless the ticket says so.
  5. Never silence to pass. No new eslint-disable, # noqa, # type: ignore, //nolint, @SuppressWarnings or #[allow(...)] unless the rule is genuinely wrong for that line — then scope it to the single line and rule, add a one-line reason, and mention it in your evidence. Editing the lint config, raising a warning threshold or adding an ignore path is a scope change: request_decision.
  6. Type checks count as lint. If the repo has a typecheck script, run it too; a type error is a lint failure for this skill. Do not "fix" one with any, a cast, or a non-null assertion that hides a real mismatch.
  7. Re-run until clean, then evidence via the record-evidence skill (static_analysis, or test_output): the exact command, exit code, and the "0 errors" summary, against the AC that requires it. On a resume that call is refused: do not retry; put this, the AC → test map and the smallest-change note in your final message.

Read the full file on GitHub · 82 lines

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 12a9ec4fc728
  2. 2mo ago Changed · +27 lines 1a6365af6310
  3. 2mo ago Changed · +21 lines · +12 tokens per session fa5b09db8f9a
  4. 3mo ago First seen · 34 lines · 56 tokens per session scan A d9c9260c8577

Subscribe to this mod's changes

run-lint is a skill published in the GitHub repository tmj-90/gaffer (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,231 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-31.

Related

run-lint compared with skills from other repositories

run-lint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-linttmj-90/gafferSkill14d agoApache-2.0A68Claude Code, Codex
bulwark-brainstormQBall-Inc/the-bulwarkSkill9yesterdayMITA50Claude Code
plan-creationQBall-Inc/the-bulwarkSkill9yesterdayMITA38Claude Code
anthropic-validatorQBall-Inc/the-bulwarkSkill9yesterdayMITA40Claude Code
create-subagentQBall-Inc/the-bulwarkSkill9yesterdayMITA42Claude Code
test-auditQBall-Inc/the-bulwarkSkill9yesterdayMITA0Claude Code
code-reviewQBall-Inc/the-bulwarkSkill9yesterdayMITA61Claude Code