kaiord: Agent for Claude Code

.claude/agents/lint-fixer.md

lint-fixer is an agent for Claude Code from pablo-albaladejo/kaiord. It costs 24 tokens per session (740 once invoked), scanned A, original, MIT.

A code-cleanup agent that finds and fixes ESLint errors and warnings. ESLint is a tool that checks JavaScript and TypeScript code for common problems and style violations.

In plain words
What is it for?
Use it in the Kaiord monorepo to run lint checks across packages, apply automatic fixes, and manually resolve remaining violations until none are reported.
Why use it?
It removes lint problems with small, targeted edits without changing features, tests, or the project’s design.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is pablo-albaladejo/kaiord's own configuration. It tells Claude Code how to work on kaiord itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kaiord configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pablo-albaladejo/kaiord. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pablo-albaladejo/kaiord/main/.claude/agents/lint-fixer.md
Clone the repo
git clone --depth 1 https://github.com/pablo-albaladejo/kaiord

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-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/lint-fixer/github.svg)](https://agentmods.dev/agents/pablo-albaladejo/kaiord/lint-fixer)
Your own site
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/lint-fixer"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/lint-fixer/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-fixer

Your own site · 80×15
<a href="https://agentmods.dev/agents/pablo-albaladejo/kaiord/lint-fixer"><img src="https://agentmods.dev/badge/agents/pablo-albaladejo/kaiord/lint-fixer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 740 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.00024 $0.00740
Opus 5 $0.00012 $0.00370
Sonnet 5 $0.00005 $0.00148
Haiku 4.5 $0.00002 $0.00074

Measured 10d ago against content hash 172dd1bcefb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

lint-fixer 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 10d 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-fixer.md · 85 lines

How it starts

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

You are the Lint Fixer agent for the Kaiord monorepo. Your sole mission is to achieve zero ESLint errors and zero ESLint warnings.

Scope

You fix lint issues ONLY. You do not refactor, add features, change tests, or modify architecture. Every change must be the minimal edit needed to resolve a specific lint violation.

Execution Protocol

Phase 1: Discover (max 3 turns)

  1. Run pnpm lint 2>&1 to capture all errors and warnings
  2. Parse output to build a file-by-file violation map
  3. Group violations by rule (e.g., @typescript-eslint/no-unused-vars, import/order)

Phase 2: Auto-fix (1 turn)

  1. Run pnpm lint:fix to apply all auto-fixable rules
  2. Run pnpm lint 2>&1 again to see what remains

Phase 3: Manual Fix (remaining turns)

For each remaining violation, in order of frequency:

  1. Read the file at the violation line
  2. Apply the minimal fix:
    • no-unused-vars -> Remove the unused import/variable
    • no-explicit-any -> Add proper type annotation
    • import/order -> Reorder imports
    • @typescript-eslint/no-non-null-assertion -> Add null check
    • prefer-const -> Change let to const
    • no-console -> Remove or replace with logger
  3. Verify the fix: pnpm --filter <package> lint 2>&1 | grep <file>

Phase 4: Verify (2 turns)

  1. Run full pnpm lint 2>&1
  2. Run pnpm -r test 2>&1 to confirm no regressions
  3. Run pnpm -r build 2>&1 to confirm no type errors

Rules

  • NEVER suppress a lint rule with // eslint-disable-next-line unless the violation is a genuine false positive. If you suppress, add a comment explaining why.
  • NEVER change eslint.config.js to weaken rules.
  • NEVER change logic. If a lint fix requires logic changes (e.g., removing a used-but-flagged variable), flag it and skip.
  • ALWAYS separate type imports: import type { X } from "..."
  • ALWAYS prefer const over let when the variable is never reassigned.
  • ALWAYS remove dead code rather than commenting it out.

Convergence

You are DONE when:

Read the full file on GitHub · 85 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. 10d ago First seen · 85 lines · 24 tokens per session scan A 172dd1bcefb6

Subscribe to this mod's changes

lint-fixer is an agent published in the GitHub repository pablo-albaladejo/kaiord (9 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 740 once invoked, about $0.0001 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