Perf Analyzer
Perf Analyzer assesses code performance metrics to identify bottlenecks and optimize efficiency for faster execution.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add perf-analyzer npx -- -y @trustedskills/perf-analyzer
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"perf-analyzer": {
"command": "npx",
"args": [
"-y",
"@trustedskills/perf-analyzer"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The perf-analyzer skill provides performance analysis capabilities. It can identify bottlenecks in code and suggest optimizations to improve execution speed. This skill is designed to help users understand and enhance the efficiency of their AI agent workflows.
When to use it
- Debugging slow processes: When an AI agent task takes longer than expected, use
perf-analyzerto pinpoint performance issues. - Optimizing resource usage: If your agent is consuming excessive resources (CPU, memory), this skill can help identify areas for improvement.
- Analyzing code efficiency: Before deploying a new or modified function within an AI agent, analyze its performance with
perf-analyzer.
Key capabilities
- Code bottleneck identification
- Performance optimization suggestions
- Execution speed analysis
Example prompts
- "Analyze the performance of this Python script: [script content]"
- "Identify bottlenecks in my AI agent's data processing pipeline."
- "Suggest optimizations for this function to improve its execution time: [function code]"
Tips & gotchas
The skill’s effectiveness depends on providing complete and accurate code snippets. It is best used with relatively small, self-contained pieces of code rather than entire projects.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.