command-resource-profiler

Installation
SKILL.md

Command Resource Profiler

Use the bundled profiler as the default measurement path:

python <skill-dir>/scripts/profile_command.py --output profile.json -- <command> <args...>

Resolve <skill-dir> to this skill's directory. Keep the target command after -- so its flags are not parsed as profiler flags.

Workflow

  1. Confirm the exact executable, arguments, working directory, and whether descendants belong to the workload.
  2. Check that Python and psutil are available. If psutil is missing, report python -m pip install psutil; do not install it without authorization.
  3. Choose a sampling interval. Use 0.2 seconds normally, 0.05-0.1 seconds for short workloads, and 0.5-1 second for long workloads.
  4. Run at least one warmup and three measured repetitions when comparing performance:
Installs
2
GitHub Stars
20
First Seen
Aug 11, 2026
command-resource-profiler — doiiarx/claude-skills