collab-performance

collab-performance is an agent for Claude Code from AgentBuildersApp/eight-eyes. It costs 33 tokens per session (898 once invoked), scanned A, original, MIT.

A performance-review agent for code changes in a collaborative coding mission. It measures resource use and code bottlenecks, including processor, memory, disk, network, database, and benchmark behavior.

In plain words
What is it for?
Use it when changes affect frequently used code, database queries, resource usage, or configured performance benchmarks.
Why use it?
It helps replace guesses about slowness with evidence about where time or resources are being spent. This makes it easier to identify real regressions and the changes most likely to help.

Agent for Claude Code

Written for Claude Code: SubagentStop hook event.

Part of the 8eyes plugin — 2 skills, 2 commands, 8 agents, 7 hooks shipped together

Good fit Use it when changes affect frequently used code, database queries, resource usage, or configured performance benchmarks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/agentbuildersapp/eight-eyes/collab-performance
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/AgentBuildersApp/eight-eyes

Made for: Claude Code.

Or install 8eyes, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 8 agents, 7 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 collab-performance

README.md
[![agentmods](https://agentmods.dev/badge/agents/agentbuildersapp/eight-eyes/collab-performance/github.svg)](https://agentmods.dev/agents/agentbuildersapp/eight-eyes/collab-performance)
Your own site
<a href="https://agentmods.dev/agents/agentbuildersapp/eight-eyes/collab-performance"><img src="https://agentmods.dev/badge/agents/agentbuildersapp/eight-eyes/collab-performance/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 collab-performance

Your own site · 80×15
<a href="https://agentmods.dev/agents/agentbuildersapp/eight-eyes/collab-performance"><img src="https://agentmods.dev/badge/agents/agentbuildersapp/eight-eyes/collab-performance.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 898 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.00898
Opus 5.5 $0.00013 $0.00359
Sonnet 5.5 $0.00007 $0.00180
Haiku 4.5 $0.00003 $0.00090

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

Security

Grade A, and why

collab-performance 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.

adapters/copilot_cli/agents/collab-performance.agent.md · 73 lines

How it starts

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

You are the /collab performance profiler.

Your mental model comes from Brendan Gregg's USE Method, Netflix's performance culture, Google SRE, and Chromium's performance sheriff program. You think in terms of resources, bottlenecks, and methodical elimination. Your core question: "Where is time being spent, and is that time necessary?"

How You Think

You follow Gregg's USE Method: for every system resource (CPU, memory, disk, network), check three things — Utilization (how busy?), Saturation (is work queuing?), Errors (operations failing?). This solves 80% of server issues with 5% of the effort.

You explicitly avoid "analysis without a methodology" — fishing expeditions produce noise, not insight. You measure first, form a hypothesis, validate with data, then recommend. Every commit is a potential regression until proven otherwise.

You never say "this is slow." You say "this endpoint averages 340ms at P50 but 2.1s at P99 under 100 concurrent connections; the flame graph shows 68% of time in JSON serialization."

Priority Hierarchy

  1. Measure before optimizing — Never guess, always profile
  2. Identify the bottleneck — USE method for resources, flame graphs for code hotspots
  3. Quantify the impact — Latency/throughput at P50, P95, P99 — not averages
  4. Check for regressions — Did this change make things worse vs baseline?
  5. Validate the fix — After optimization, re-measure to confirm improvement
  6. Avoid premature optimization — Optimize the critical path, not everything

What You Catch That Others Miss

  • N+1 query patterns — Fetching a list then querying individually per item
  • Unbounded operations — Queries without LIMIT, loops without size caps
  • Memory leaks — Objects retained through closures, caches without eviction
  • Synchronous blocking — I/O on the main thread/event loop
  • Algorithmic complexity — O(n^2) lurking in nested loops
  • Missing caching — Identical expensive computations repeated per request
  • Tail latency — System looks fine at P50 but P99 is 100x worse

Read the full file on GitHub · 73 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 First seen · 73 lines · 33 tokens per session scan A 81d125aff31c

Subscribe to this mod's changes

collab-performance is an agent published in the GitHub repository AgentBuildersApp/eight-eyes (2 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 898 once invoked, about $0.0001 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-31.

Related

Other agents, from other repositories

ui-auditor

A user-interface audit agent that reviews UI changes and checks them against an external set of design and engineering rules. It produces a report with severity levels for serious issues, warnings, and suggestions.

SuanFishXYY/suanfish-design-system · 139 tokens

consistency-and-history

Analyze git history and cross-file consistency — stale references, dead code, broken importers after renames/removals, established-convention enforcement.

ncoevoet/claude-review-all · 34 tokens

skill-editor

Applies a single, minimal, generalized edit to a Logic-Lens skill (SKILL.md / guide / shared file) given a concrete failure diagnosis. Use inside the iteration loop after eval-failure-analyzer has produced a proposal, to turn that proposal into an actual edit. Mutates files; does NOT run evals or sync the cache — it…

hyhmrright/logic-lens · 84 tokens

reviewer

Philosophical guardrails enforcer — independently audits code, tests, and spec for layered-integrity, Why>What, error-as-data, and the related Ironclad philosophical invariants. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized…

qwerfunch/cladding · 68 tokens

ui-motion-reviewer

Motion-specific review — runs the 4-question Animation Decision Framework (should it animate? purpose? easing? duration?), catches ease-in on UI, transition:all, scale(0) entry, bounce/elastic defaults, animations on keyboard-triggered actions, prefers-reduced-motion gaps, and poorly-chosen spring vs duration…

RaNDoM6913/claude-code-superkit · 189 tokens

ai-slop-cleaner

Clean AI-generated code anti-patterns — redundant comments, one-use abstractions, over-engineering, template slop — via behavior-preserving edits verified by compile/lint.

RaNDoM6913/claude-code-superkit · 40 tokens