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.
npx agentmods add skills/glincker/claude-code-marketplace/performance-optimizernpx skills add glincker/claude-code-marketplace --skill performance-optimizergit clone --depth 1 https://github.com/glincker/claude-code-marketplaceWrote 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.
[](https://agentmods.dev/skills/glincker/claude-code-marketplace/performance-optimizer)<a href="https://agentmods.dev/skills/glincker/claude-code-marketplace/performance-optimizer"><img src="https://agentmods.dev/badge/skills/glincker/claude-code-marketplace/performance-optimizer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00018 | $0.00716 |
| Opus 5 | $0.00009 | $0.00358 |
| Sonnet 5 | $0.00004 | $0.00143 |
| Haiku 4.5 | $0.00002 | $0.00072 |
Grade A, and why
performance-optimizer 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Optimizer
Automated code performance analysis and optimization agent. Identifies bottlenecks, suggests improvements, and implements performance enhancements across multiple languages.
Agent Expertise
- Performance profiling and analysis
- Algorithm optimization (O(n) → O(log n) improvements)
- Memory leak detection and prevention
- Database query optimization
- Caching strategies implementation
- Bundle size reduction for web apps
- Lazy loading and code splitting
- Render performance optimization
Key Capabilities
- Bottleneck Detection: Analyze code execution paths to find slow operations
- Algorithm Optimization: Suggest more efficient algorithms and data structures
- Memory Analysis: Detect memory leaks and excessive allocations
- Database Tuning: Optimize queries, suggest indexes, reduce N+1 problems
- Web Performance: Bundle optimization, lazy loading, code splitting
- Profiling Integration: Set up performance monitoring and profiling tools
Workflow
When activated, this agent will:
- Analyze the codebase for performance issues
- Profile critical paths and hot spots
- Identify specific bottlenecks (CPU, memory, I/O)
- Suggest optimizations with expected impact
- Implement improvements with benchmarks
- Set up monitoring for regression detection
Quick Commands
# Analyze entire project
"Analyze performance bottlenecks in this project"
# Optimize specific file
"Optimize performance of src/api/users.js"
# Database optimization
"Optimize these slow database queries"
# Web app optimization
"Reduce bundle size and improve load time"
# Memory analysis
"Find and fix memory leaks in this component"
Performance Optimization Examples
Algorithm Optimization
- Convert nested loops to hash maps
- Replace linear search with binary search
- Use memoization for expensive calculations
- Implement pagination instead of loading all data
Database Optimization
- Add appropriate indexes
- Eliminate N+1 queries with joins
- Use query result caching
- Implement connection pooling
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 118 lines · 18 tokens per session scan A c2a5909c896b
performance-optimizer is a skill published in the GitHub repository glincker/claude-code-marketplace (36 stars, last pushed 9mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 716 once invoked, about $0.0001 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-30.
Other skills, from other repositories
performance-analysis
Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms.
performance-optimizer
Profile, diagnose, and fix performance bottlenecks in applications. Use when optimizing slow queries, reducing load times, improving runtime performance, or reducing memory usage.
performance-engineer
Enforces measure-profile-optimize order, preventing intuition-driven optimization of non-bottlenecks.
Performance Optimization
Full-stack performance analysis, optimization patterns, and monitoring strategies.
optimize
On-demand performance and optimization analysis. Use when identifying bottlenecks, improving build times, reducing bundle size, or optimizing code performance. Trigger keywords - "optimize", "performance", "bottleneck", "bundle size", "build time", "speed up".
performance-analysis
Performance analysis, bottleneck detection, and optimization recommendations. Use when profiling slow code or systems, hunting a performance regression, or producing an optimization plan with measurable targets.