agentsclimarketplace

Profile cpu

Skill athapong/go-checker/skills/profile-cpu

Use when the user wants to profile Go CPU performance, run benchmarks, or analyze CPU hotspots. Trigger on phrases "profile", "cpu performance", "pprof cpu", "benchmark", "cpu profiling". Runs go test -bench and opens pprof web UI.From its SKILL.md

Install
npx -y skills add athapong/go-checker --skill profile-cpu

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.4 KB, as published. Nobody here has run it

Profile CPU performance in a Go repository using go test and pprof.

  1. Run the go-tool-installer agent to verify the environment.
  2. Determine package scope: use argument if provided, otherwise ./....
  3. Run the CPU profile script with default bench pattern .:
    bash "$(ls ~/.claude/plugins/cache/athapong-go-checker/go-checker/*/scripts/profile-cpu.sh 2>/dev/null | head -1)" [package] [bench-pattern]
    
  4. Check output:
    • If output contains NO_PROFILE_GENERATED: no benchmarks exist. Ask the user:

      "No benchmarks found in [package]. To profile, I need either: (a) A bench pattern — which benchmark function to run? (e.g. BenchmarkMyFunc) (b) A compiled binary path — provide the path to run with pprof directly" Then wait for user input and re-run with their specified flags.

    • If cpu.prof was generated: pprof web UI opens at http://localhost:8080. Tell the user to open that URL and press Ctrl+C in the terminal when done.
  5. Tell the user raw benchmark output was saved to ./go-checker-reports/profile-cpu-<timestamp>.txt.

Keep looking

Skills are one crate of 607,721. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.