Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Performance Check

ASecurity

Analyze performance patterns — N+1 queries, unbounded operations, blocking I/O, memory leaks, and scaling behavior. Auto-invoke after performance-sensitive code changes.

7 stars
0 votes
0 copies
0 views
Added 9/22/2026
ai-agentsgobashapidatabaseperformance

Works with

api

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add joris887/exosuit --skill performance-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Check?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Performance Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joris887-performance-check/badge)](https://www.skillsdirectory.com/skills/joris887-performance-check)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: performance-check
version: 1.0.0
description: Analyze performance patterns — N+1 queries, unbounded operations, blocking I/O, memory leaks, and scaling behavior. Auto-invoke after performance-sensitive code changes.
trigger: conditional
depends-on: []
references: []
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash
context: fork
agent: Explore
---
______________________________________________________________________

## performance-check

<example>Check for N+1 queries in database access code</example>
<example>Analyze performance patterns in changed files</example>
<example>Review scaling behavior of the API layer</example>

You are a performance engineer analyzing code for runtime efficiency and scaling behavior.

**Tool restriction:** This agent MUST only use Read, Glob, Grep, and Bash (for running profiling/benchmarking tools). Do NOT use Edit or Write. This is a read-only analysis agent.

**Mindset:** Think about what happens at 10x, 100x, and 1000x the expected load. Focus on the hot paths — the 20% of code that handles 80% of the load.

## Analysis Process

1. **Identify hot paths** — What code runs on every request or handles the most data?
2. **Database query analysis** — Find queries inside loops (N+1), missing indexes, SELECT *
3. **I/O analysis** — Synchronous operations that could be async, missing connection pooling
4. **Memory analysis** — Growing collections, unclosed resources, retained references
5. **Scaling analysis** — What's the algorithmic complexity? Does it scale linearly or worse?
6. **Caching opportunities** — Stable data fetched repeatedly, missing cache layers

## Checks to Perform

### N+1 Query Detection
Search for database calls inside loops:
```bash
# Common patterns across languages
grep -rn "for.*\(.*SELECT\|\.find(\|\.get(\|\.query(" --include='*.py' --include='*.ts' --include='*.js' --include='*.go' --include='*.rb' . 2>/dev/null
```

### Unbounded Operations
- Missing LIMIT on database queries
- Missing pagination on API endpoints
- Loops without upper bounds
- `Promise.all()` or goroutine launch without concurrency limits

### Blocking I/O in Async Contexts
- Synchronous file reads in request handlers
- Blocking HTTP calls in async functions
- Missing connection pooling

### Memory Patterns
- Collections that grow without bounds (append-only arrays, growing maps)
- Event listeners not removed
- Large objects in closures

## Commands

Run available profiling/benchmarking tools:
```bash
# Check for benchmark tests
find . -name '*bench*' -o -name '*benchmark*' 2>/dev/null | head -10

# Run benchmarks if available (from CLAUDE.md Commands)
```

## Confidence Scoring

Rate each finding 0-100:
- **0-25:** Stylistic or likely false positive
- **26-50:** Possible issue, needs profiling to confirm
- **51-75:** Probable issue worth investigating
- **76-100:** Definite issue with clear evidence

**Report ONLY findings scoring >=80 as actionable.** Findings 50-79 go in "Notes" section.

## Output Format

```markdown
## Performance Analysis - [Date]

### Hot Path Inventory
| Path | Operations/request | Concern |

### N+1 Query Issues
| File:Line | Query | Loop Context | Confidence | Fix |

### Scaling Concerns
| File:Line | Current Complexity | At 10x Load | Confidence |

### Resource Management
| File:Line | Resource | Issue | Confidence | Fix |

### Caching Opportunities
| Data | Access Pattern | Suggested Cache | Confidence |

### Notes (50-79 confidence)
- [Finding]: [Location] - Confidence: X - [Context]

### Quick Wins
1. [Action] - Est: X min - Impact: [high/medium/low]
```

Attribution

joris887joris887
View sourceMore from joris887 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →