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.
npx agentmods add skills/darrencroton/ai-agent-coder/lintnpx skills add darrencroton/ai-agent-coder --skill lintgit clone --depth 1 https://github.com/darrencroton/ai-agent-coderWrote 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.
[](https://agentmods.dev/skills/darrencroton/ai-agent-coder/lint)<a href="https://agentmods.dev/skills/darrencroton/ai-agent-coder/lint"><img src="https://agentmods.dev/badge/skills/darrencroton/ai-agent-coder/lint.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.02218 |
| Opus 5 | $0.00036 | $0.01109 |
| Sonnet 5 | $0.00015 | $0.00444 |
| Haiku 4.5 | $0.00007 | $0.00222 |
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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lint
Deterministic hygiene, run before any model-based review. The linters answer questions that have exact answers — unused name, unreachable branch, uninitialised read, malformed table, misspelt word, unformatted file — so no reviewer attention should be spent on them, and no reviewer's opinion is needed to settle them.
This skill exists because LLM reviewers are measurably bad at this class. Across five supervised runs of one plan, 11 of ~14 non-code-correctness findings were mechanical, and both commissioned reviewers missed every one of them while correctly finding subtle semantic defects. Lint is the cheap deterministic floor under review, not a replacement for it.
The one rule that makes this usable: differential by default
A gate that demands absolute cleanliness fails on arrival in any real repository, because pre-existing findings are not the current change's fault and fixing them is usually unauthorized scope.
So the default question is not "is this code clean?" but:
Does this change introduce a finding that was not there before?
check --base <ref> lints the changed files at the current head, lints the same
files at <ref> in a throwaway worktree, and reports only the difference.
Pre-existing debt cannot block; a newly added unused import cannot pass.
Use --all for absolute mode when you genuinely want every finding — a
standalone audit, or a repo you are cleaning up.
Invariants
These are load-bearing. Do not work around them.
checknever installs anything. Installing mutates the machine.installis a separate, explicit, human-run subcommand, dry-run unless--yesis passed. An agent that finds a tool missing reports it and lets the human decide — it never runsinstall --yeson its own initiative, in any mode.checkanddetectname the missing binaries and print the install command so the human knows exactly what is needed.- A missing linter is
unavailablecoverage, never a pass. The report names every language present with no tool available.--require-coverageturns that into exit 3 so an automated caller cannot mistake absence of findings for absence of problems. - A failed run is an error, not a pass. A linter that exits unexpectedly
with nothing parseable did not lint anything — an invalid
ruffconfig exits 2 with empty output, which must never read as "0 findings". The same applies at the base ref, where a failure would make every pre-existing finding look new. - Defects, not taste. The tool set is deliberately limited to findings with
an objective answer. It carries no complexity metric, no naming opinion, and
no architectural rule. A project's own conventions win: the linters read
the project's own config files first, and
config/ruff.tomlandconfig/markdownlint.jsoncsupply defect-focused defaults only when the project has none. Both exist because the tools' own defaults are broader than this rule allows — ruff's default set flags import ordering and rewritesconfig = dict(...)to a literal, which on one calibration repo was the documented convention of the project being linted. Shellcheck is capped at--severity=infofor the same reason, dropping only its presentationalstyletier; a project's.shellcheckrcstill selects which rules apply and shellcheck honours it regardless of that flag. If a plan mandates something a generic rule would flag, the plan is right and the rule must be skipped (--skip <tool>). - Nothing is mutated. No
--fix, no reformat-in-place. This skill reports; the Developer edits. (External tools may still write their own caches.) - The comparison is a good heuristic, not an oracle. Signatures are
line-insensitive, so a change that removes one finding and adds an equivalent
one elsewhere in the same file nets out and is not reported. Tools that emit
one finding per file — the formatters — cannot show a second regression in a
file already unformatted at base. Absolute mode (
--all) is the escape hatch when you need the whole picture.
What ships with it
5 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.
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.
- 5d ago First seen · 174 lines · 73 tokens per session scan A ef29aac1dc75
lint is a skill published in the GitHub repository darrencroton/ai-agent-coder (2 stars, last pushed 3d ago), licensed MIT. It adds 73 tokens to every session and 2,218 once invoked, about $0.0004 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-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…