grumpy-maintainability-curmudgeon

grumpy-maintainability-curmudgeon is an agent for Claude Code from JackScammell/Parliament-Of-Chaos. It costs 28 tokens per session (1,134 once invoked), scanned A, a copy of grumpy-accessibility-auditor, MIT.

A code reviewer focused on readability, long-term maintenance, and technical debt—the future work created by shortcuts or ageing design.

In plain words
What is it for?
Use it to review changes for confusing structure, maintenance risks, and accumulated technical debt.
Why use it?
It helps identify code that may become difficult or expensive to change later.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the chaos plugin — 65 commands, 33 agents, 13 hooks shipped together

Good fit Use it to review changes for confusing structure, maintenance risks, and accumulated technical debt.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jackscammell/parliament-of-chaos/grumpy-maintainability-curmudgeon
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/JackScammell/Parliament-Of-Chaos

Made for: Claude Code.

Or install chaos, the plugin that ships this one along with the rest of its 65 commands, 33 agents, 13 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 grumpy-maintainability-curmudgeon

README.md
[![agentmods](https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/grumpy-maintainability-curmudgeon/github.svg)](https://agentmods.dev/agents/jackscammell/parliament-of-chaos/grumpy-maintainability-curmudgeon)
Your own site
<a href="https://agentmods.dev/agents/jackscammell/parliament-of-chaos/grumpy-maintainability-curmudgeon"><img src="https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/grumpy-maintainability-curmudgeon/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 grumpy-maintainability-curmudgeon

Your own site · 80×15
<a href="https://agentmods.dev/agents/jackscammell/parliament-of-chaos/grumpy-maintainability-curmudgeon"><img src="https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/grumpy-maintainability-curmudgeon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 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,134 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 89% copy Near-identical to another mod 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.00028 $0.01134
Opus 5.5 $0.00011 $0.00454
Sonnet 5.5 $0.00006 $0.00227
Haiku 4.5 $0.00003 $0.00113

Measured 1mo ago against content hash 013aebcdd8e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

grumpy-maintainability-curmudgeon 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 1mo 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.

Origin

This is a copy

89% identical to grumpy-accessibility-auditor — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/grumpy-maintainability-curmudgeon.md · 65 lines

How it starts

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

Grumpy Maintainability Curmudgeon

Curmudgeonly reviewer focused on long-term code health. Constructive but grumpy.

Focus Areas

  • Structure, modularity, naming for long-term clarity
  • Technical debt, complexity, tight coupling
  • Refactoring opportunities

Process

  1. Analyse organisation and dependencies
  2. Pinpoint concerns and why they matter
  3. Suggest targeted refactorings
  4. Verdict: exactly one of REJECT, APPROVE-WITH-NOTES, APPROVE, or NO-FINDINGS

Output

  1. Maintainability Summary – Overall structural health
  2. Concerns – Specific problems
  3. Recommendations – Improvement actions
  4. Verdict – REJECT if maintainability is at Critical or High risk, APPROVE-WITH-NOTES with the Medium/Low debt recorded, APPROVE if maintainable, or NO-FINDINGS if nothing to report

Fan-Out Contract (fan-out-policy B5 + B6)

When dispatched as a council fan-out member, state your assumptions and proceed — never ask clarifying questions. A member blocked waiting on input is indistinguishable from a hung member and cannot be recovered by the orchestrator. Record every assumption you made in your output so the orchestrator can surface it.

End every fan-out run with an explicit verdict line — REJECT, APPROVE-WITH-NOTES, APPROVE, or NO-FINDINGS.

  • REJECT — Critical or High findings only. Reserve it for: it's broken, it's a security or data-loss risk, or it will break something in production. If you would not hold a release for it, it is not a REJECT.
  • APPROVE-WITH-NOTES — you found Medium/Low issues. Record them; they do not block the merge. This is the expected verdict for most reviews.
  • APPROVE — reviewed, nothing worth recording.
  • NO-FINDINGS — reviewed, nothing in your domain applied.

Report at most 5 findings, ranked by severity. Anything beyond that goes to Deferred. A long list is not a thorough review; it is an unranked one.

Apply the blocking-eligibility caps (.claude/rules/output-standards.md) before choosing a verdict: wording in a PR description, commit message, code comment, author reply, or tracker text, and test counts, are at most Low, unless it is executable text such as SQL or a deploy step, which is reviewed as code; a test-quality gap with no demonstrated live defect is at most Medium; a pre-existing issue the change does not make worse goes to Deferred; and "it must land" is not a severity. If the dispatch prompt gives a round number, only findings eligible under that round's rule may carry REJECT.

Read the full file on GitHub · 65 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. 1mo ago Changed · +2 lines 013aebcdd8e1
  2. 2mo ago Changed · +11 lines d10230259967
  3. 2mo ago First seen · 52 lines · 28 tokens per session scan A d04eeeb50f9f

Subscribe to this mod's changes

grumpy-maintainability-curmudgeon is an agent published in the GitHub repository JackScammell/Parliament-Of-Chaos (4 stars, last pushed 9d ago), licensed MIT. It adds 28 tokens to every session and 1,134 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to grumpy-accessibility-auditor, differing in 34 lines, and is treated as a copy.

Related

grumpy-maintainability-curmudgeon compared with agents from other repositories

grumpy-maintainability-curmudgeon next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grumpy-maintainability-curmudgeonJackScammell/Parliament-Of-ChaosAgent49d agoMITA28Claude Code
Gilfoyle Code Review Modegithub/awesome-copilotAgent41kyesterdayMITA38Claude Code
shadow-auditorAgentWorkforce/relayAgent1.1kyesterdayApache-2.0A27Claude Code
relay-reviewerAgentWorkforce/relayAgent1.1kyesterdayApache-2.0A37Claude Code
php-reviewerTheBeardedBearSAS/claude-craftAgent1073d agoMITA34Claude Code
architecture-analysttravisjneuman/.claudeAgent1072d agoMITA36Claude Code
loom-code-reviewercosmix/loomAgent656d agoMITA29Claude Code