Analyzes project performance and bundle size to provide clear, prioritized optimization steps.

Install

mkdir -p .claude/skills/optimize-report && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12780" && unzip -o skill.zip -d .claude/skills/optimize-report && rm skill.zip

Installs to .claude/skills/optimize-report

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Generate comprehensive optimization report
42 charsno explicit “when” trigger
Beginner

Key capabilities

  • Run a full analysis of a codebase
  • Collect all performance metrics
  • Compare current metrics against a baseline report
  • Calculate performance scores
  • Generate recommendations for optimization
  • Format the report in text, JSON, or Markdown

How it works

The skill runs a full analysis, collects metrics, calculates performance scores, and generates recommendations. It can compare these against a provided baseline report.

Inputs & outputs

You give it
Codebase to analyze, optional baseline report file, optional output format
You get back
Formatted report with performance grade and priority action items

When to use optimize-report

  • Identify dead code in a project
  • Compare bundle sizes across versions
  • Audit Core Web Vitals impact
  • Generate a performance improvement roadmap

About this skill

Optimization Report Skill

Generate comprehensive optimization report with analysis, metrics, and recommendations.

Options

--baseline       Compare against previous report
--format         Output format (text, json, markdown)
                 Default: text

Sensitive-Path Delegation

Sensitive-path compatibility note: if this skill delegates work that touches .claude/**, .claude/outputs/**, templates/.claude/**, or read-only measurements of those paths, keep .codex/** edits on the normal Codex path. On Claude Code v2.1.121+ with bypassPermissions, direct writes to .claude/skills/, .claude/agents/, and .claude/commands/ are allowed; on v2.1.126+ that extends to broader protected paths. Only use /tmp/{skill}-{timestamp}.md as a legacy fallback when the target runtime is older or still prompts.

Workflow

1. Run full analysis
2. Collect all metrics
3. Compare against baseline (if provided)
4. Calculate performance scores
5. Generate recommendations
6. Format report

Report Sections

Bundle Analysis

  • Total size (raw and gzipped)
  • Chunk breakdown
  • Dependency tree

Performance Metrics

  • Estimated load times
  • Core Web Vitals impact
  • Build performance

Code Quality

  • Tree-shaking effectiveness
  • Dead code percentage
  • Duplicate code detection

Recommendations

  • High impact optimizations
  • Quick wins
  • Long-term improvements

Comparison (if baseline)

  • Size delta
  • Performance delta
  • Trend analysis

Output

  • Formatted report in requested format
  • Performance grade (A-F)
  • Priority action items

Examples

# Generate current report
optimize-report

# Compare against previous report
optimize-report --baseline ./previous-report.json

# Generate markdown report
optimize-report --format markdown

How it compares

This skill automates the generation of a detailed optimization report, including comparisons and recommendations, rather than requiring manual metric collection and analysis.

Compared to similar skills

optimize-report side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
optimize-report (this skill)03moReviewBeginner
quality05moReviewIntermediate
google-analytics436moReviewIntermediate
dbt-transformation-patterns62moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

quality

dpaola2

Generate a code quality report for a pipeline project by reading quality frontmatter from progress.md and optionally running fresh analysis.

00

google-analytics

davila7

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

43193

dbt-transformation-patterns

wshobson

Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.

690

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

spark-optimization

wshobson

Optimize Apache Spark jobs with partitioning, caching, shuffle optimization, and memory tuning. Use when improving Spark performance, debugging slow jobs, or scaling data processing pipelines.

431

perf-analyzer

ComposioHQ

Use when synthesizing perf findings into evidence-backed recommendations and decisions.

324

Search skills

Search the agent skills registry