lint-and-fix

lint-and-fix is a skill for Claude Code from cboone/agent-harness-plugins. It costs 100 tokens per session (3,900 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: shipped in a Claude Code plugin.

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,900 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.00100 $0.03900
Opus 5 $0.00050 $0.01950
Sonnet 5 $0.00020 $0.00780
Haiku 4.5 $0.00010 $0.00390

Measured 8d ago against content hash daf8c87754ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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 · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 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

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.

Final output for a parent invocation must include:

Lint status: <success|no-tools|failure>
Commit: <none|commit SHA>
Unresolved or skipped: <none|summary>
Caller resume target: <target from continuation block>

Workflow

1. Detect Available Tools

Read the full file on GitHub · 254 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. 8d 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 (2 stars, last pushed 1mo ago), licensed MIT. It adds 100 tokens to every session and 3,900 once invoked, about $0.0005 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.