bro-this-is-slow

bro-this-is-slow is a command for Claude Code from dinnovos/dinnovos-marketplace. It costs 33 tokens per session (3,437 once invoked), scanned A, original, MIT.

A read-only performance audit command for finding slow queries, memory leaks, oversized bundles, unnecessary loading and inefficient algorithms.

In plain words
What is it for?
Use it on a whole project, a directory or a specific file, or describe a performance concern such as slow queries or memory leaks.
Why use it?
It helps locate likely causes of slow software without changing the project.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Part of the bro-code-tools plugin — 8 commands shipped together

Good fit Use it on a whole project, a directory or a specific file, or describe a performance concern such as slow queries or memory leaks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dinnovos/dinnovos-marketplace/bro-this-is-slow
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/dinnovos/dinnovos-marketplace

Made for: Claude Code.

Or install bro-code-tools, the plugin that ships this one along with the rest of its 8 commands.

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 bro-this-is-slow

README.md
[![agentmods](https://agentmods.dev/badge/commands/dinnovos/dinnovos-marketplace/bro-this-is-slow/github.svg)](https://agentmods.dev/commands/dinnovos/dinnovos-marketplace/bro-this-is-slow)
Your own site
<a href="https://agentmods.dev/commands/dinnovos/dinnovos-marketplace/bro-this-is-slow"><img src="https://agentmods.dev/badge/commands/dinnovos/dinnovos-marketplace/bro-this-is-slow/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 bro-this-is-slow

Your own site · 80×15
<a href="https://agentmods.dev/commands/dinnovos/dinnovos-marketplace/bro-this-is-slow"><img src="https://agentmods.dev/badge/commands/dinnovos/dinnovos-marketplace/bro-this-is-slow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,437 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.00033 $0.03437
Opus 5 $0.00016 $0.01718
Sonnet 5 $0.00007 $0.00687
Haiku 4.5 $0.00003 $0.00344

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

Security

Grade A, and why

bro-this-is-slow 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 12d 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/bro-code-tools/commands/bro-this-is-slow.md · 592 lines

How it starts

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

Performance Audit

Analyze code for performance issues and optimization opportunities. Read-only, doesn't modify anything. Multi-language support.

User Input

The user can specify what to audit in various ways:

Exact path:

  • /bro-this-is-slow src/
  • /bro-this-is-slow src/services/dataService.ts
  • /bro-this-is-slow app/handlers/

Natural language (illustrative examples):

  • /bro-this-is-slow analyze performance of <module>
  • /bro-this-is-slow find memory leaks in <area>
  • /bro-this-is-slow review queries in <service>
  • /bro-this-is-slow optimizations for <component>
  • /bro-this-is-slow why is <feature> slow

No arguments:

  • /bro-this-is-slow → audits the entire project

Note: Terms like "API", "dashboard", "reports" are just examples. Interpret what the user requests and search for the corresponding files in the project.


Step 1: Interpret the Request

If it's an exact path:

Use directly.

If it's natural language:

Search for files matching the description:

# Explore project structure
find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" -o -name "*.py" -o -name "*.go" -o -name "*.rs" -o -name "*.java" \) \
  ! -path "*/node_modules/*" ! -path "*/.git/*" ! -path "*/dist/*" ! -path "*/build/*" ! -path "*/target/*"

# Search by related name
find . -type f -iname "*<term>*" | grep -v node_modules
find . -type d -iname "*<term>*" | grep -v node_modules

# Search related content
grep -ril "<term>" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.py" --include="*.go" | grep -v node_modules | head -30

Confirm with the user if you find multiple matches.

Limit: Maximum 100 files. If there are more, ask to narrow down or prioritize by risk.


Step 2: Project Context

# Standards and guides
cat CLAUDE.md 2>/dev/null
cat AGENTS.md 2>/dev/null

# Detect stack
cat package.json pyproject.toml go.mod Cargo.toml composer.json 2>/dev/null

# Build and bundle configuration
cat webpack.config.js 2>/dev/null
cat vite.config.ts 2>/dev/null
cat next.config.js 2>/dev/null
cat tsconfig.json 2>/dev/null

Read the full file on GitHub · 592 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. 12d ago First seen · 592 lines · 33 tokens per session scan A b29bed5bc7f1

Subscribe to this mod's changes

bro-this-is-slow is a command published in the GitHub repository dinnovos/dinnovos-marketplace (2 stars, last pushed 7mo ago), licensed MIT. It adds 33 tokens to every session and 3,437 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.