performance-analysis

performance-analysis is a skill for Claude Code from akhilyad/deployy. It costs 20 tokens per session (3,485 once invoked), scanned A, a copy of performance-analysis, MIT.

A performance analysis skill for finding slow points in coordinated agent work and producing reports about them.

In plain words
What is it for?
Use it to detect bottlenecks, profile swarm activity, generate performance reports, and receive optimization suggestions.
Why use it?
It helps identify whether communication, processing, memory, or network activity is limiting performance.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); $skill-name invocation.

Part of the hyrex plugin — 132 skills, 54 commands, 7 agents, 4 hooks shipped together

Good fit Use it to detect bottlenecks, profile swarm activity, generate performance reports, and receive optimization suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akhilyad/deployy/performance-analysis
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.

Any agent
npx skills add akhilyad/deployy --skill performance-analysis
Clone the repo
git clone --depth 1 https://github.com/akhilyad/deployy

Made for: Claude Code.

Or install hyrex, the plugin that ships this one along with the rest of its 132 skills, 54 commands, 7 agents, 4 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 performance-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/akhilyad/deployy/performance-analysis/github.svg)](https://agentmods.dev/skills/akhilyad/deployy/performance-analysis)
Your own site
<a href="https://agentmods.dev/skills/akhilyad/deployy/performance-analysis"><img src="https://agentmods.dev/badge/skills/akhilyad/deployy/performance-analysis/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 performance-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/akhilyad/deployy/performance-analysis"><img src="https://agentmods.dev/badge/skills/akhilyad/deployy/performance-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,485 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% 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.00020 $0.03485
Opus 5.5 $0.00008 $0.01394
Sonnet 5.5 $0.00004 $0.00697
Haiku 4.5 $0.00002 $0.00348

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

Security

Grade A, and why

performance-analysis scanned grade A with 1 finding 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 16d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { exec } = require('child_process');
Origin

This is a copy

91% identical to performance-analysis — 74 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/skills/performance-analysis/SKILL.md · 564 lines

How it starts

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

Performance Analysis Skill

Comprehensive performance analysis suite for identifying bottlenecks, profiling swarm operations, generating detailed reports, and providing actionable optimization recommendations.

Overview

This skill consolidates all performance analysis capabilities:

  • Bottleneck Detection: Identify performance bottlenecks across communication, processing, memory, and network
  • Performance Profiling: Real-time monitoring and historical analysis of swarm operations
  • Report Generation: Create comprehensive performance reports in multiple formats
  • Optimization Recommendations: AI-powered suggestions for improving performance

Quick Start

Basic Bottleneck Detection

npx hyrex bottleneck detect

Generate Performance Report

npx hyrex analysis performance-report --format html --include-metrics

Analyze and Auto-Fix

npx hyrex bottleneck detect --fix --threshold 15

Core Capabilities

1. Bottleneck Detection

Command Syntax
npx hyrex bottleneck detect [options]
Options
  • --swarm-id, -s <id> - Analyze specific swarm (default: current)
  • --time-range, -t <range> - Analysis period: 1h, 24h, 7d, all (default: 1h)
  • --threshold <percent> - Bottleneck threshold percentage (default: 20)
  • --export, -e <file> - Export analysis to file
  • --fix - Apply automatic optimizations
Usage Examples
# Basic detection for current swarm
npx hyrex bottleneck detect

# Analyze specific swarm over 24 hours
npx hyrex bottleneck detect --swarm-id swarm-123 -t 24h

# Export detailed analysis
npx hyrex bottleneck detect -t 24h -e bottlenecks.json

# Auto-fix detected issues
npx hyrex bottleneck detect --fix --threshold 15

# Low threshold for sensitive detection
npx hyrex bottleneck detect --threshold 10 --export critical-issues.json
Metrics Analyzed

Communication Bottlenecks:

  • Message queue delays
  • Agent response times
  • Coordination overhead
  • Memory access patterns
  • Inter-agent communication latency

Read the full file on GitHub · 564 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. 16d ago First seen · 564 lines · 20 tokens per session scan A a9fc779dcb86

Subscribe to this mod's changes

performance-analysis is a skill published in the GitHub repository akhilyad/deployy (0 stars, last pushed 5mo ago), licensed MIT. It adds 20 tokens to every session and 3,485 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 91% identical to performance-analysis, differing in 74 lines, and is treated as a copy.