lint-rule-handler

lint-rule-handler is an agent for Claude Code from boykush/scraps. It costs 53 tokens per session (1,441 once invoked), scanned A, original, MIT.

Um agente que transforma um pedido sobre a saúde de uma wiki em regras específicas de lint, ou verificações automáticas de problemas no conteúdo e nos links.

In plain words
What is it for?
Serve para localizar links quebrados, páginas isoladas, conteúdo desatualizado, referências inválidas e excesso de links, aplicando correções mecânicas quando apropriado.
Why use it?
Evita executar verificações desnecessárias quando o objetivo é específico. Também ajuda a interpretar os avisos conforme a finalidade informada.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the llm-wiki plugin — 2 skills, 2 agents shipped together

Good fit Serve para localizar links quebrados, páginas isoladas, conteúdo desatualizado, referências inválidas e excesso de links, aplicando correções mecânicas quando apropriado.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/boykush/scraps/lint-rule-handler
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.

Clone the repo
git clone --depth 1 https://github.com/boykush/scraps

Made for: Claude Code.

Or install llm-wiki, the plugin that ships this one along with the rest of its 2 skills, 2 agents.

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-rule-handler

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/boykush/scraps/lint-rule-handler"><img src="https://agentmods.dev/badge/agents/boykush/scraps/lint-rule-handler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,441 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.00053 $0.01441
Opus 5.5 $0.00021 $0.00576
Sonnet 5.5 $0.00011 $0.00288
Haiku 4.5 $0.00005 $0.00144

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

Security

Grade A, and why

lint-rule-handler 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 4d 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/llm-wiki/agents/lint-rule-handler.md · 119 lines

How it starts

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

Lint Rule Handler

You run Scraps lint with purpose. Your job is to translate the user's natural-language wiki-health request into a small, deliberate set of lint rules, execute them, and act per rule type.

Lint warnings in Scraps are signals interpreted against a purpose, not absolute errors. Rule selection is driven by intent.

Purpose → rule mapping

Pick the smallest rule set that serves the stated purpose.

User request Rules
"fix broken links" / "links 切れ直して" broken-link
"repair all references" broken-link, broken-heading-ref, self-link
"audit orphans" / "孤立 scrap" lonely
"audit graph isolation" (orphans + dead-ends) lonely, dead-end
"trim graph noise" / "link 重複" overlinking
"find stale scraps" / "更新ない scrap" stale-by-git
"find scraps a wiki-link cannot reach" / "リンクできない scrap" unlinkable-key
"check the wiki ports to Windows / other filesystems" unportable-key
"wiki health 全般" (vague) ask for narrowing first

Reject requests like "run all default rules" without a stated purpose.

v1 lint rules

Rule Type Action
broken-link mechanical search for likely target, propose Edit, apply on confirm
broken-heading-ref mechanical check valid headings on target, propose Edit
self-link mechanical remove the self-reference
dead-end judgment read the scrap, report whether it is a natural atom or genuinely incomplete
lonely judgment read the scrap, report whether it is a natural root/source note or an orphan that should be linked
overlinking judgment report which repetitions are structural emphasis vs. noise (graph dedupes; this is about HTML readability)
unlinkable-key judgment report the file and why [[ ]] cannot reach it; renaming is the user's call
unportable-key judgment report the file and what does not port; renaming is the user's call
stale-by-git informational list stale scraps with last-modified dates

Read the full file on GitHub · 119 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. 4d ago Changed 742205406da6
  2. 5d ago Changed · +5 lines 74f412bb1ad3
  3. 1mo ago First seen · 114 lines · 53 tokens per session scan A 0522c1ffd8b6

Subscribe to this mod's changes

lint-rule-handler is an agent published in the GitHub repository boykush/scraps (45 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,441 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

Project Recon

Fast, high-level survey that orients the security agents — what the project is, its stack, auth model, integrations, and notable areas.

agentgg-dev/agentgg · 32 tokens

06-positioning-check

Audit talk track freshness, objection signal counts, and detect canonical file drift.

assafkip/kipi-system · 19 tokens

rust-critic

Adversarial critic specializing in finding logical gaps, flawed assumptions, scalability limits, and missing edge cases in architectural designs, implementation proposals, and ideas. Use PROACTIVELY after architecture design, before committing to an approach, or when a user wants their idea stress-tested. Never writes…

bug-ops/zeph · 109 tokens

rust-code-reviewer

Rust code reviewer specializing in quality assurance, standards compliance, constructive feedback, and ensuring best practices. Use PROACTIVELY before committing code, after feature implementation, or when pull request review is needed.

bug-ops/zeph · 45 tokens

ai-provider-expert

Primary reviewer for AI provider integrations, model routing, embeddings, prompt systems, streaming, token efficiency, and provider abstraction. Use for changes under aiprovider/, commands/ai.rs, documents/embed (infra), and packages/prompts. Enforces the rule that adding a new provider needs config + adapter only …

saeedkolivand/ai-job-hunter-app · 72 tokens

resume-export-expert

Primary reviewer for the resume/export domain — resume generation & architecture, the DocumentModel, templates, theme system, layout rules, localization/country & industry standards, and ATS-SAFE document structure. Use for changes under export/, model/, theme/, templates/, locale/, fonts. Owns ATS-safe…

saeedkolivand/ai-job-hunter-app · 93 tokens