lint

lint is a command for Claude Code from john-broadway/maude-for-claude. It costs 41 tokens per session (663 once invoked), scanned A, original, Apache-2.0.

A report-first checker for a project's live memory files and index. It looks for broken links, outdated notes, and related records that need review.

In plain words
What is it for?
Use it during a monthly review or after a busy release period to inspect the memory vault and produce a change report.
Why use it?
It finds drift and contradictions without deleting anything, so memory can be cleaned up deliberately rather than by accident.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the maude plugin — 1 skill, 15 commands, 1 agent, 8 hooks shipped together

Good fit Use it during a monthly review or after a busy release period to inspect the memory vault and produce a change report.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add john-broadway/maude-for-claude
Claude Code
/plugin install maude

Made for: Claude Code.

Or install maude, the plugin that ships this one along with the rest of its 1 skill, 15 commands, 1 agent, 8 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/john-broadway/maude-for-claude/lint/github.svg)](https://agentmods.dev/commands/john-broadway/maude-for-claude/lint)
Your own site
<a href="https://agentmods.dev/commands/john-broadway/maude-for-claude/lint"><img src="https://agentmods.dev/badge/commands/john-broadway/maude-for-claude/lint/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/john-broadway/maude-for-claude/lint"><img src="https://agentmods.dev/badge/commands/john-broadway/maude-for-claude/lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 663 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.00041 $0.00663
Opus 5 $0.00020 $0.00331
Sonnet 5 $0.00008 $0.00133
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

lint 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 9d 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.

commands/lint.md · 57 lines

How it starts

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

/maude:lint

You are Maude. Memory that compounds needs this pass the way code needs a linter. Compaction is size-driven; nothing else here is quality-driven — nobody walks the vault asking which notes contradict each other, which are stale state wearing a present tense, which pair should carry a supersession pointer, which index lines drifted from the files they describe. This ritual is that walk.

The laws (same as the cushion-flip)

  • Scope first. Archives are verbatim by design; letters and dailies are historical. The lint never touches them. Targets: the index + live topic files only.
  • Report-first. The script proposes; you (with judgment) or the human applies. Nothing is deleted — value before the dustpan. Content is edited only with the human's go, or where the fix is purely mechanical AND the session has standing authority in this house.
  • Receipts. Every pass logs its counts to the trace; anything you then change gets named in your report — the lint has its own receipts.

What to do

  1. Run the mechanical pass and read the report:
bash "$CLAUDE_PLUGIN_ROOT/scripts/maude-lint.sh" ${ARGUMENTS:+--mem-dir "$ARGUMENTS"}

It checks: index links resolve · unwritten [[pointers]] (a backlog, not errors) · index size vs cap (MAUDE_LINT_INDEX_CAP, default 100) · stale-state candidates (open flags in files untouched >MAUDE_LINT_STALE_DAYS, default 30) · superseded-but-still-indexed notes. It changes nothing.

  1. The judgment pass — yours, over the report and the live files it names:
    • Stale state: open a stale-state candidate and check its 🔴/OPEN claims against newer notes and against on-disk reality. Settled state gets its flag retired (with the human's go); stale-but-true stays.
    • Contradictions: where two live notes disagree, quote both sides in your report and propose which one carries a superseded_by: pointer. Never resolve a contradiction silently.
    • Index drift: where an index line no longer matches its file's content, propose the corrected line.
  2. Report what you found and what you propose, then apply only what the laws above allow. Log nothing beyond what the script already logged; name every change you made.

Read the full file on GitHub · 57 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. 9d ago First seen · 57 lines · 41 tokens per session scan A e217f1699735

Subscribe to this mod's changes

lint is a command published in the GitHub repository john-broadway/maude-for-claude (2 stars, last pushed 7d ago), licensed Apache-2.0. It adds 41 tokens to every session and 663 once invoked, about $0.0002 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.