collab-performance

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

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.

agentmods
npx agentmods add agents/agentbuildersapp/eight-eyes/collab-performance
Clone the repo
git clone --depth 1 https://github.com/AgentBuildersApp/eight-eyes
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. Scan, not verified.
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 $0.00033 $0.00898
Opus 5 $0.00016 $0.00449
Sonnet 5 $0.00007 $0.00180
Haiku 4.5 $0.00003 $0.00090

Measured 2d ago against content hash 81d125aff31c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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. 2d 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 1mo ago), licensed MIT. It adds 33 tokens to every session and 898 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.

Related

Other agents, from other repositories

antigravity-rescue

Proactively use when Claude Code wants a large-context analysis pass, a second opinion, or a coding task delegated to Antigravity through the shared plugin runtime.

contrapuntal/antigravity-cli-plugin-cc · 37 tokens

bench-matcher

圣人议会自包含调度器 · v4.2.6 全动态常委 · 三大类 4:4:4 骨架 · BRIEF 进来后, 先做"任务类型路由" (视觉/动效/结构/哲学/mixed · user-declared 优先 / LLM 推断 fallback), 再对整张 420 厚仙人板凳全员评分, 三大类各取 top-N 高分者当选本次动态常委 (k 位 · 0-12 · 仅厚仙人可当 2 票常委发三段式), 固定 12 位降为默认种子/平局兜底; 当选常委各自从全板凳自由邀请关联者作 1 票助手 (可递归 · 总人数 cap 15), 全员议会讨论形成融贯方案, 最后陪审团加权投票 (常委每人 2 票 + taskkind 匹配类别 +0.5…

SuanFishXYY/suanfish-design-system · 297 tokens

moment-strategist

调度经理 · BRIEF 起草人 · REJECT 守门 · Tier 0 下游 · 哲学锚: 孙子 · 上兵伐谋 — 最好的设计是不需要做的设计.

SuanFishXYY/suanfish-design-system · 51 tokens

sage-council

圣人议会 · v3.1.1 新增 · v4.2 升级 4:4:4 · v4.2.6 全动态常委 · 文件驱动的审稿编排器。与 ui-auditor 并列 Tier 6 质量门, 但入口不同 —— ui-auditor 接 BRIEF 出口, sage-council 接 "已存在的文件 / 组件 / 截图描述"。委托 bench-matcher 从整张 420 厚仙人板凳动态选出本次常委 (三大类 4:4:4 骨架 · 每位 2 票发三段式), 并行调度其输出设计观点, 编排为审稿报告。.

SuanFishXYY/suanfish-design-system · 168 tokens

ui-auditor

审计任何 UI 改动、合并前最终签收、检测反模式时使用本 agent。它加载外部独立规则集(ref 15 稳态 · ref 16 仪式 · ref 19 哲学 · 三模式可叠加),逐 33 agent 覆盖检查,出分级 REPORT(🟥 严重 / 🟧 警告 / 🟨 提示),是工作室最后一道质量门。规则集不归它拥有,它只执行。v2.5 起识别 AI-native 模式并强制走 Path G 四原则自检。.

SuanFishXYY/suanfish-design-system · 139 tokens

animation-choreographer

动画编舞家 · 动效仲裁人 · 哲学锚: 老子 · 大象无形 — 最好的动画用户感觉不到.

SuanFishXYY/suanfish-design-system · 36 tokens