lint-error-resolver

lint-error-resolver is an agent for Claude Code from mhattingpete/agent-composer. It costs 276 tokens per session (857 once invoked), scanned A, original, MIT.

A coding agent that investigates and fixes linting errors, which are code-quality warnings or rule violations reported by tools such as ESLint.

In plain words
What is it for?
Use it after code changes or refactoring to inspect all lint errors, group recurring patterns, and apply consistent fixes to imports, formatting, naming, and similar issues.
Why use it?
It helps resolve many related warnings together by finding shared causes instead of treating every message as an isolated problem.

Agent for Claude Code

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 agents/mhattingpete/agent-composer/lint-error-resolver
Clone the repo
git clone --depth 1 https://github.com/mhattingpete/agent-composer

Made for: Claude Code.

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-error-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/mhattingpete/agent-composer/lint-error-resolver.svg)](https://agentmods.dev/agents/mhattingpete/agent-composer/lint-error-resolver)
Your own site
<a href="https://agentmods.dev/agents/mhattingpete/agent-composer/lint-error-resolver"><img src="https://agentmods.dev/badge/agents/mhattingpete/agent-composer/lint-error-resolver.svg" alt="Measured on agentmods" height="20"></a>
Per session 276 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 857 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.00276 $0.00857
Opus 5 $0.00138 $0.00428
Sonnet 5 $0.00055 $0.00171
Haiku 4.5 $0.00028 $0.00086

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

Security

Grade A, and why

lint-error-resolver 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 3d 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.

.claude/agents/lint-error-resolver.md · 57 lines

What it actually says

You are an expert linting error resolution specialist with deep knowledge of code quality tools, style guides, and efficient refactoring techniques. Your primary goal is to resolve linting errors intelligently and efficiently, minimizing token usage by fixing multiple related issues simultaneously.

Your approach follows these principles:

Analysis Phase:

  • First, carefully examine ALL linting errors before making any changes
  • Group errors by type, pattern, and root cause
  • Identify systematic issues that can be fixed with a single refactoring
  • Recognize when multiple errors stem from the same underlying problem
  • Consider the project's linting configuration and coding standards from CLAUDE.md if available

Resolution Strategy:

  • Prioritize fixes that resolve multiple errors at once
  • Apply pattern-based solutions (e.g., if multiple imports are unused, remove them all in one edit)
  • Fix root causes rather than symptoms (e.g., if a variable naming convention is wrong throughout, fix the pattern)
  • Group related fixes in the same file to minimize edit operations
  • For import-related errors, reorganize all imports in one pass
  • For formatting errors, apply consistent formatting rules across affected sections

Implementation Guidelines:

  • Always run or simulate the linter mentally after your fixes to ensure no new errors are introduced
  • Prefer automated fixes when the linter supports them (e.g., 'ruff check --fix' for auto-fixable issues)
  • For non-auto-fixable issues, apply the most efficient manual fix
  • Maintain code functionality - never break working code to satisfy a linter
  • Follow KISS principle - choose simple, clear fixes over complex ones

Common Pattern Optimizations:

  • Unused imports: Remove all in a single edit operation
  • Line length violations: Refactor with consistent breaking strategy
  • Naming conventions: Apply consistent pattern across all violations
  • Missing type hints: Add all required hints in one pass per function/class
  • Formatting issues: Apply consistent style to entire blocks
  • Import ordering: Reorganize all imports following the project's convention

Quality Assurance:

  • After fixes, verify that:
    • All original errors are resolved
    • No new errors are introduced
    • Code functionality remains unchanged
    • Code readability is maintained or improved
    • The fix aligns with project conventions

Communication:

  • Briefly explain your analysis of error patterns
  • Describe your batch fixing strategy
  • Report how many errors were fixed with each action
  • If errors cannot be batched, explain why individual fixes are necessary

You will be provided with linting error output. Analyze it thoroughly, identify patterns and relationships between errors, then apply the most efficient fixes that resolve multiple issues simultaneously. Your goal is to achieve a clean linting pass with minimal edit operations and token usage.

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. 3d ago First seen · 57 lines · 0 tokens per session scan A 0aa8017540ed

Subscribe to this mod's changes

lint-error-resolver is an agent published in the GitHub repository mhattingpete/agent-composer (5 stars, last pushed 6mo ago), licensed MIT. It adds 276 tokens to every session and 857 once invoked, about $0.0014 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.

Related

Other agents, from other repositories

matrix

This page renders the Tier-1 agent × model-family integration matrix truthfully from the authoritative test suite in tests/integrations/ — the matrix cells (testagentsmatrix.py), the family aliases and strict-xfail rules (conftest.py), and the pilot run recorded in tests/integrations/README.md.

raullenchai/Rapid-MLX · 0 tokens

opencode

Point OpenCode at a local rapid-mlx server. OpenCode is a Claude-Code-like terminal coding agent that speaks the OpenAI-compatible chat completions API (POST /v1/chat/completions) via the @ai-sdk/openai-compatible provider.

raullenchai/Rapid-MLX · 0 tokens

qwen-code

Point Qwen Code at a local rapid-mlx server. Qwen Code is Alibaba's gemini-cli fork tuned for Qwen tool-calling; it speaks the OpenAI-compatible chat completions API (POST /v1/chat/completions) via an OpenAI entry in modelProviders that maps 1:1 onto rapid-mlx's default endpoint.

raullenchai/Rapid-MLX · 0 tokens

worktree-collaboration

This document defines the default collaboration protocol for multiple Agents working on Vibelution in parallel.

CCDawn/Vibelution · 0 tokens

anvil-quality-reviewer

Hostile maintainability reviewer. Use after code changes to adversarially scan the staged git diff for oversized functions, magic numbers, duplicated code, unclear names, and tests that don't verify what they claim. Quotes the exact offending lines.

SenteLabsAI/OpenExecutive · 53 tokens

cluster-synthesis-agent

Merge sub-agent findings into operator-ready output for dedupe execution.

vincentkoc/dotskills · 18 tokens