Agent skill

Detecting Performance Bottlenecks

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Execute this skill enables AI assistant to detect and resolve performance bottlenecks in applications.

MITAuto-check passedDevelopment

Install Detecting Performance Bottlenecks

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill detecting-performance-bottlenecks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace detecting-performance-bottlenecks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/detecting-performance-bottlenecks .claude/skills/detecting-performance-bottlenecks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
detecting-performance-bottlenecks
GitHub stars
2.8k
Token cost
~895 tokens
SKILL.md length
369 words
Files
8 (incl. scripts, references, assets)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Execute this skill enables AI assistant to detect and resolve performance bottlenecks in applications.

  • Works in 3 steps: Architecture Analysis: Claude analyzes… → Bottleneck Identification: The plugin… → Remediation Suggestions: Claude provides…
  • You need to diagnose slow application performance
  • SKILL.md covers Overview, How It Works, When to Use This Skill and Examples, plus 7 more sections
  • Runs Python scripts from its folder

What it does

Detecting Performance Bottlenecks is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute this skill enables AI assistant to detect and resolve performance bottlenecks in applications. it analyzes cpu, memory, i/o, and database performance to identify areas of concern. use this skill when you need to diagnose slow application performance, op... Use when optimizing performance. Trigger with phrases like 'optimize', 'performance', or 'speed up'.

Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts, reference files and assets (for example `assets/README.md`, `references/README.md` and `scripts/README.md`). Compatibility notes: Designed for Claude Code

It sits in Development, covering Performance optimization. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • You need to diagnose slow application performance
  • Optimizing performance
  • With phrases like optimize

Example prompts

  • “optimize”
  • “performance”
  • “speed up”
  • “/detecting-performance-bottlenecks”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Bash(cmd:*), Grep, Glob

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Architecture Analysis: Claude analyzes the application's architecture and data flow to understand potential bottlenecks.
  2. Bottleneck Identification: The plugin identifies bottlenecks across CPU, memory, I/O, database, lock contention, and resource exhaustion.
  3. Remediation Suggestions: Claude provides remediation strategies with code examples to resolve the identified bottlenecks.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash(cmd:*)
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Detecting Performance Bottlenecks loads about 895 tokens when it runs, and up to ~911 if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 369 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~895
With references · SKILL.md plus every file in references/, read only if the agent opens them
~911

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 369 words, ~895 tokens.

Download SKILL.mdSave it as .claude/skills/detecting-performance-bottlenecks/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
detecting-performance-bottlenecks
description
Execute this skill enables AI assistant to detect and resolve performance bottlenecks in applications. it analyzes cpu, memory, i/o, and database performance to identify areas of concern. use this skill when you need to diagnose slow application performance, op... Use when optimizing performance. Trigger with phrases like 'optimize', 'performance', or 'speed up'.
allowed-tools
Read, Bash(cmd:*), Grep, Glob
compatibility
Designed for Claude Code
version
1.22.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
performance, database, detecting-performance

Bottleneck Detector

Detect and diagnose performance bottlenecks across CPU, memory, I/O, database, and lock contention layers with targeted remediation strategies.

Overview

This skill empowers Claude to identify and address performance bottlenecks across different layers of an application. By pinpointing performance issues in CPU, memory, I/O, and database operations, it assists in optimizing resource utilization and improving overall application speed and responsiveness.

How It Works

  1. Architecture Analysis: Claude analyzes the application's architecture and data flow to understand potential bottlenecks.
  2. Bottleneck Identification: The plugin identifies bottlenecks across CPU, memory, I/O, database, lock contention, and resource exhaustion.
  3. Remediation Suggestions: Claude provides remediation strategies with code examples to resolve the identified bottlenecks.

When to Use This Skill

This skill activates when you need to:

  • Diagnose slow application performance.
  • Optimize resource usage (CPU, memory, I/O, database).
  • Proactively prevent performance issues.

Examples

Example 1: Diagnosing Slow Database Queries

User request: "detect bottlenecks in my database queries"

The skill will:

  1. Analyze database query performance and identify slow-running queries.
  2. Suggest optimizations like indexing or query rewriting to improve database performance.
Example 2: Identifying Memory Leaks

User request: "analyze performance and find memory leaks"

The skill will:

  1. Profile memory usage patterns to identify potential memory leaks.
  2. Provide code examples and recommendations to fix the memory leaks.
Show full SKILL.md (155 more words)Show less

Best Practices

  • Comprehensive Analysis: Always analyze all potential bottleneck areas (CPU, memory, I/O, database) for a complete picture.
  • Prioritize by Severity: Focus on addressing the most severe bottlenecks first for maximum impact.
  • Test Thoroughly: After implementing remediation strategies, thoroughly test the application to ensure the bottlenecks are resolved and no new issues are introduced.

Integration

This skill can be used in conjunction with code generation plugins to automatically implement the suggested remediation strategies. It also integrates with monitoring and logging tools to provide real-time performance data.

Prerequisites

  • Appropriate file access permissions
  • Required dependencies installed

Instructions

  1. Invoke this skill when the trigger conditions are met
  2. Provide necessary context and parameters
  3. Review the generated output
  4. Apply modifications as needed

Output

The skill produces structured output relevant to the task.

Error Handling

  • Invalid input: Prompts for correction
  • Missing dependencies: Lists required components
  • Permission errors: Suggests remediation steps

Resources

  • Project documentation
  • Related skills and commands

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references, assets) in skills/.curated/detecting-performance-bottlenecks of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • assets/README.md
  • references/README.md
  • scripts/README.md
  • scripts/analyze_cpu.py
  • scripts/analyze_db.py
  • scripts/analyze_io.py
  • scripts/analyze_memory.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Detecting Performance Bottlenecks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Detecting Performance Bottlenecks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Detecting Performance Bottlenecks this skilljeremylongshore/tons-of-skills-marketplace2.8k—~895Automated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
LLM Torch Profiler Analysissgl-project/sglang37k2 repos~6.4kAutomated safety check: PassApache-2.0
Pycrazyguitar/pysheeet8.2k—~886Automated safety check: PassMIT
Cmux Debugging Guidemanaflow-ai/cmux28k1 repos~1.1kAutomated safety check: PassCustom licence
Analyzing .NET Performancedotnet/skills5.6k3 repos~3.1kAutomated safety check: PassMIT

Similar skills

  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • LLM Torch Profiler Analysis

    sgl-project/sglang

    Unified LLM torch-profiler triage skill for sglang, vllm, TensorRT-LLM, and TokenSpeed.

    37k GitHub starsUsed in 2 repos~6.4k tokens
    DevelopmentAuto-check passed
  • Py

    crazyguitar/pysheeet

    Comprehensive Python programming reference covering syntax, concurrency, networking, databases, ML/LLM development, and HPC.

    8.2k GitHub stars~886 tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Cmux Debugging Guide

    manaflow-ai/cmux

    Covers debug logging, the Debug menu, profiling rules and runtime pitfalls for working on the cmux macOS terminal app.

    28k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.

    5.6k GitHub starsUsed in 3 repos~3.1k tokens
    DevelopmentAuto-check passed
  • Analyzes V8, Chrome and Electron .heapsnapshot files with Node scripts to find memory leaks, detached DOM nodes and the retainer paths that keep objects alive.

    9.3k GitHub stars~875 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Detecting Performance Bottlenecks

What does Detecting Performance Bottlenecks do?

Execute this skill enables AI assistant to detect and resolve performance bottlenecks in applications. Detecting Performance Bottlenecks is an agent skill from jeremylongshore/tons-of-skills-marketplace. Execute this skill enables AI assistant to detect and resolve performance bottlenecks in applications.

When should I use Detecting Performance Bottlenecks?

Detecting Performance Bottlenecks fits situations like: you need to diagnose slow application performance; optimizing performance; with phrases like optimize.

How do I install Detecting Performance Bottlenecks in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill detecting-performance-bottlenecks -a claude-code`. Or copy the skill folder (skills/.curated/detecting-performance-bottlenecks in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/detecting-performance-bottlenecks in your project. Claude Code loads it when a task matches its description.

How do I install Detecting Performance Bottlenecks in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill detecting-performance-bottlenecks -a codex`. Or copy the skill folder (skills/.curated/detecting-performance-bottlenecks in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/detecting-performance-bottlenecks in your project. Codex loads it when a task matches its description.

Can I use Detecting Performance Bottlenecks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill detecting-performance-bottlenecks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/detecting-performance-bottlenecks, .gemini/skills/detecting-performance-bottlenecks, .github/skills/detecting-performance-bottlenecks and .opencode/skills/detecting-performance-bottlenecks in your project.

What does Detecting Performance Bottlenecks need to run?

Going by SKILL.md and its folder, Detecting Performance Bottlenecks needs Python for the scripts in its folder. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Bash(cmd:*), Grep, Glob. Compatibility (from SKILL.md): Designed for Claude Code.

Does Detecting Performance Bottlenecks access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Detecting Performance Bottlenecks safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Detecting Performance Bottlenecks use?

Detecting Performance Bottlenecks is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Detecting Performance Bottlenecks use?

About 895 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 16 tokens, read only when the agent opens those files.

What are the alternatives to Detecting Performance Bottlenecks?

Skills that share tags, products or a category with Detecting Performance Bottlenecks: Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), LLM Torch Profiler Analysis (sgl-project/sglang, 37k stars), Py (crazyguitar/pysheeet, 8.2k stars) and Cmux Debugging Guide (manaflow-ai/cmux, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Detecting Performance Bottlenecks?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.