Skip to content
Agentmart
Submit a tool

performance-analysis

Measure before optimizing.

Skill by autohandai

IndexedApache-2.0★ 210
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/autohandai-performance-analysis

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Measure before optimizing. Profile startup time, latency, throughput, memory, or bundle size, find the dominant cost with evidence, and propose the smallest change that moves the number. Use for "slow", "takes N seconds", "high CPU or memory", and performance regressions.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/performance-analysis

Tools it pre-approves 8

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • read_file
  • find_grep
  • fff_find
  • list_tree
  • run_command
  • git_log
  • git_diff
  • file_stats

What's inside

Skill name
performance-analysis
Description
Measure before optimizing. Profile startup time, latency, throughput, memory, or bundle size, find the dominant cost with evidence, and propose the smallest change that moves the number. Use for "slow", "takes N seconds", "high CPU or memory", and performance regressions.
License
Apache-2.0
Allowed tools
read_file, find_grep, fff_find, list_tree, run_command, git_log, git_diff, file_stats
Instructions
40 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Analyze performance with numbers

Optimizing without a measurement changes the code without changing the
outcome. Every step below produces a number you can show.

## Establish the baseline

1. Define the metric and the scenario exactly: what is slow, from which event
   to which, on what input size, on what machine. Ask if unclear.
2. Measure it three times with the tools the project already has (timers,
   `--profile` flags, `time`, `hyperfine`, language profilers, `--cpu-prof`,
   heap snapshots, bundle analyzers). Record median and spread.
3. Record the environment: load average, CPU count, disk free, network,
   concurrent processes. A loaded machine invalidates comparisons.

## Find the dominant cost

- Break the total into phases with timestamps or a profiler; sort by time.
- Distinguish blocking waits (network, disk, subprocess, locks, timeouts) from
  CPU work; the fix differs.
- Look for the usual shapes: sequential awaits that could be parallel, work
  repeated per item that could be cached, unbounded scans that need a budget,
  startup work that could be lazy or deferred, N+1 calls, large payloads,
  synchronous I/O on the main thread, retries with long timeouts.
- Check what scales with input size using two sizes and compare.

## Change one thing, then measure again

- Pick the change with the best ratio of expected gain to risk. State the
  expected gain before making it.
- Re-measure the same way. Report before and after with the spread.
- Add a guard so it stays fixed: a timing assertion with a generous bound, a
  budget constant, or a test that the work is deferred or cached.

## Report

Metric, scenario, baseline, cause with file:line, change, result, and what was
not addressed. If the measurement showed the suspected cause was wrong, say so.

From autohandai/code-cli, Apache-2.0.

More from autohandai/code-cli

Signals

Stars
210
Forks
37
Open issues
41
Last commit (this folder)
Sep 14, 2026 (1 month ago)
Last release
Sep 22, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from autohandai

Cite this page

performance-analysis skill. Agent Mart. https://agentmart.dev/skills/autohandai-performance-analysis (last updated 2026-10-24)