lint-and-fix

lint-and-fix is a skill for Claude Code from cboone/agent-harness-plugins. It costs 63 tokens per session (9,572 once invoked), scanned A, original, MIT.

A workflow that finds project linters and formatters, then runs them to check and automatically fix code issues. Linters detect style and common code problems; formatters adjust code layout.

In plain words
What is it for?
Use it to lint, format, check, manually resolve remaining problems, and optionally commit or push the changes.
Why use it?
It removes repetitive cleanup work and helps identify issues that automated fixes cannot resolve.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Part of the lint-and-fix plugin — 1 skill shipped together

Good fit Use it to lint, format, check, manually resolve remaining problems, and optionally commit or push the changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cboone/agent-harness-plugins/lint-and-fix
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 cboone/agent-harness-plugins --skill lint-and-fix
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code.

Or install lint-and-fix, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/lint-and-fix"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/lint-and-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,572 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.00063 $0.09572
Opus 5.5 $0.00025 $0.03829
Sonnet 5.5 $0.00013 $0.01914
Haiku 4.5 $0.00006 $0.00957

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

Security

Grade A, and why

lint-and-fix 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 27d 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.

plugins/lint-and-fix/skills/lint-and-fix/SKILL.md · 399 lines

How it starts

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

Lint and Fix

Detect project linters and formatters, run them with auto-fix, and resolve remaining issues.

Options

The user may provide these options inline:

  • --no-commit: Skip committing and pushing (default: commit and push after fixing)
  • --no-push: Commit but leave push to the caller or user (default: push after committing)
  • --tool : Run only a specific tool (e.g., --tool eslint, --tool prettier)
  • --check: Run in check-only mode (report issues without fixing)

Parent Continuation Contract

Only enforced tools govern lint failure, Unresolved or skipped, and the push/parent continuation gate. Tools classified as inferred only below are advisory: their findings, missing tools, execution errors and unavailable safe checks belong solely on Advisory (not enforced by project), never in required-work failures. Report their actual outcome, including unknown counts, rather than calling an unrun check clean. Host restrictions on required work remain failures.

When another skill invokes lint-and-fix, that parent skill may provide an explicit continuation block immediately after the command:

Parent continuation:
- Caller: <parent skill name>
- Resume target: <parent workflow step to resume>
- On lint success: <what the parent must do next>
- On lint failure or skipped required lint work: <what the parent must do next>

Honor this block as part of the lint-and-fix invocation.

  • --no-push means "commit fixes, but leave push to the caller or user." It is not a terminal stop when a parent continuation block is supplied.
  • Do not ask the user whether to proceed when the continuation block says the parent should continue.
  • Do not end with a vague handoff as the terminal outcome. Report the structured result and the caller resume target instead.
  • On lint success, no tools detected, or no file changes needed, report the result and allow the parent to continue immediately according to On lint success.
  • On unresolved lint issues, skipped required lint work, missing required tools, or tool execution failures, report a workflow failure result and list the unresolved items so the parent can follow On lint failure or skipped required lint work.
  • A tool that step 2 downgraded to check mode is not skipped required lint work. When it runs in check mode and finds nothing, that is lint success: report it on the Check-only by project policy line, leave Unresolved or skipped as none, and let the parent continue. When it finds issues that step 6 cannot resolve by hand, that is an ordinary failure and belongs under Unresolved or skipped.
  • An enforced tool recorded as check-only (no safe check command) is skipped required lint work, because nothing ran and the tree was never checked. Report Lint status: failure and list the tool under Unresolved or skipped with the reason. It must never reach the parent as success: an unrun tool and a tool that ran clean are opposite results, and a parent such as pr would otherwise push a tree no one checked.
  • That mode has two sources, and only one of them is policy. Step 2 assigns it when a project rule downgrades a tool and no verified check command exists, and step 4a assigns it when --check would otherwise take a write-mode fallback. Name only the first on the Check-only by project policy line, since the second is a limit of the user's own dry run and attributing it to the project misreports where the constraint came from. For enforced tools, both still count as skipped required lint work under Unresolved or skipped, which is what governs the parent.

Read the full file on GitHub · 399 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. 27d ago Changed · +18 lines 3be0a764fde9
  2. 1mo ago Changed · +9 lines ca05e609b7e7
  3. 1mo ago Changed · +1 lines · +18 tokens per session a1850c7737d3
  4. 1mo ago Changed · +1 lines 439bf4dc6f59
  5. 2mo ago Changed ccd1e821bcd6
  6. 2mo ago Changed · +118 lines 731f9211f977
  7. 2mo ago Changed · -4 lines · -55 tokens per session 58c2f0b93cee
  8. 2mo ago Changed · +2 lines 03c1cfd4c812
  9. 2mo ago Changed 0e913cfd0100
  10. 3mo ago First seen · 254 lines · 100 tokens per session scan A daf8c87754ee

Subscribe to this mod's changes

lint-and-fix is a skill published in the GitHub repository cboone/agent-harness-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 63 tokens to every session and 9,572 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

lint-and-fix compared with skills from other repositories

lint-and-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lint-and-fixcboone/agent-harness-pluginsSkill35d agoMITA63Claude Code
chat-complex-documentsvellum-ai/vellum-assistantSkill1.5k5d agoMITA90Claude Code, Codex
tui-migrate-setupwarpdotdev/warpSkill66k2d agoAGPL-3.0B75Claude Code, Codex
agent-qa-testingvibeeval/vibecosystemSkill55419d agoMITA58Claude Code, Codex
bootstrap-prdjoshukraine/dotfilesSkill4307d agoMITA25Claude Code
sync-local-reposvinta/hal-9000Skill144yesterdayMITA38Claude Code, Codex
talk-stage1-extractFlorianBruniaux/claude-code-pluginsSkill475d agoMITA64Claude Code