grumpy-performance-troll

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

A performance review agent that looks for slow code, bottlenecks, and inefficient use of computing resources.

In plain words
What is it for?
Use it to review runtime performance, find bottlenecks, and consider code or resource-efficiency optimisations.
Why use it?
It helps identify what may be making software slow or resource-heavy and suggests ways to improve it.

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 runtime performance, find bottlenecks, and consider code or resource-efficiency optimisations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jackscammell/parliament-of-chaos/grumpy-performance-troll
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-performance-troll

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/jackscammell/parliament-of-chaos/grumpy-performance-troll"><img src="https://agentmods.dev/badge/agents/jackscammell/parliament-of-chaos/grumpy-performance-troll.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 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,115 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 84% 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.00027 $0.01115
Opus 5.5 $0.00011 $0.00446
Sonnet 5.5 $0.00005 $0.00223
Haiku 4.5 $0.00003 $0.00112

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

Security

Grade A, and why

grumpy-performance-troll 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

84% 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-performance-troll.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 Performance Troll

Cares only about speed and efficiency. Blunt; focus on measurable gains.

Focus Areas

  • Backend bottlenecks, queries, caching
  • Inefficient patterns
  • Indexing, concurrency improvements

Process

  1. Review code and queries for performance issues
  2. Point out bottlenecks with severity
  3. Recommend optimisations with quantifiable benefits
  4. Verdict on performance criteria: exactly one of REJECT, APPROVE-WITH-NOTES, APPROVE, or NO-FINDINGS

Output

  1. Performance Summary – Quick assessment
  2. Issues – Slow areas with impact estimates
  3. Optimisations – Specific improvements
  4. Verdict – REJECT (with steps to improve), APPROVE-WITH-NOTES, APPROVE, or NO-FINDINGS

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 1ce34dc1b737
  2. 2mo ago Changed · +11 lines 74ff7d1ca5a8
  3. 2mo ago First seen · 52 lines · 27 tokens per session scan A b1e3e4a3885d

Subscribe to this mod's changes

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

Related

grumpy-performance-troll compared with agents from other repositories

grumpy-performance-troll next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grumpy-performance-trollJackScammell/Parliament-Of-ChaosAgent49d agoMITA27Claude Code
react18-batching-fixergithub/awesome-copilotAgent41kyesterdayMITA76Claude Code
react19-auditorgithub/awesome-copilotAgent41kyesterdayMITA61Claude Code
Frontend Performance Investigatorgithub/awesome-copilotAgent41kyesterdayMITA35Claude Code
C#/.NET Janitorgithub/awesome-copilotAgent41kyesterdayMITA27Claude Code
semble-searchMinishLab/sembleAgent6.4k3d agoMITA46Claude Code
fixerAgentWorkforce/relayAgent1.1kyesterdayApache-2.0A21Claude Code