From cpu-usage-monitor
Scans codebase for CPU-intensive patterns, analyzes algorithmic complexity, and generates an optimization report with before/after examples.
How this command is triggered — by the user, by Claude, or both
Slash command
/cpu-usage-monitor:monitor-cpuThe summary Claude sees in its command listing — used to decide when to auto-load this command
# CPU Usage Monitor Analyze code for CPU-intensive operations and optimize processor utilization. ## Analysis Areas 1. **Computational Complexity**: Identify O(n²) or worse algorithms 2. **Synchronous Operations**: Blocking operations on main thread 3. **Loop Optimization**: Inefficient iteration patterns 4. **Regular Expressions**: CPU-heavy regex patterns 5. **Recursive Functions**: Deep or inefficient recursion 6. **String Operations**: Excessive string concatenation 7. **JSON Processing**: Large JSON parsing operations ## Process 1. Scan codebase for CPU-intensive patterns 2. Analy...
Analyze code for CPU-intensive operations and optimize processor utilization.
Provide:
14plugins reuse this command
First indexed Dec 31, 2025
Showing the 6 earliest of 14 plugins
npx claudepluginhub luxdevnet/claude-plus-lux --plugin cpu-usage-monitor/monitor-cpuScans code for CPU-intensive patterns, analyzes algorithmic complexity, identifies blocking operations, and generates a report with optimizations, code examples, and performance estimates.
/profileProfiles application performance by analyzing CPU, memory, execution time, and bottlenecks, then generates a markdown report with optimization recommendations.
/optimizeAnalyzes code for performance bottlenecks and presents three specific optimization recommendations with supporting rationale.
/perf-profileProfiles a slow code path to identify top bottlenecks by self-time, categorizes them (CPU, I/O, memory, lock contention), and suggests targeted fixes ordered by impact.
/performance-reviewScans source files for time and space complexity hotspots using AST analysis (Python) and optional tree-sitter (JS/TS, Go, Rust, Java, C/C++), then reports findings grouped by severity with file:line citations and fix suggestions.
/detect-bottlenecksDetects performance bottlenecks across the application stack — CPU, memory, I/O, database, lock contention, resource exhaustion — and generates a prioritized remediation plan with root cause analysis.