/optimize:optimizefrom optimize
Analyzes a specified file for performance issues and suggests optimizations across algorithm efficiency, memory, I/O, caching, lazy loading, and bundle size.
Ships in optimize. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
[[ "$ARGUMENTS" =~ ^[a-zA-Z0-9_./-]+$ ]] && du -h "$ARGUMENTS" 2>/dev/null || echo "File not specified"[[ "$ARGUMENTS" =~ ^[a-zA-Z0-9_./-]+$ ]] && wc -l "$ARGUMENTS" 2>/dev/null || echo "File not specified"Analyze and optimize: @$ARGUMENTS
Focus areas:
Provide before/after comparisons and performance impact estimates.
7-day visitors to each command page
npx claudepluginhub ccplugins/awesome-claude-code-plugins --plugin optimizeOther plugins' commands for the same job