Perf Example Device
Benchmark the hardware performance of a single example ($ARGUMENTS). Use when the user asks to benchmark or measure the latency of one example on hardware.
Install
npx skills add hw-native-sys/simpler --skill perf-example-devicegit clone --depth 1 https://github.com/hw-native-sys/simpler.git /tmp/simpler
mkdir -p ~/.claude/skills
cp -r /tmp/simpler/.claude/skills/perf-example-device ~/.claude/skills/perf-example-devicePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Benchmark the hardware performance of a single example at $ARGUMENTS Reference `tools/benchmark_rounds.sh` for the full implementation pattern (device log resolution, timing parsing, reporting format) — this skill runs the same logic for a single example. Detection / isolation procedures live in [`../../lib/onboard-detection.md`](../../lib/onboard-detection.md). 1. Locate the test file under `$ARGUMENTS/`: pick the single `test_*.py` that lives directly in that directory. If none exists, tell the user the directory is not a scene test and stop. 2. If `command -v npu-smi` is not found, tell the user this requires hardware and stop. 3. **Precheck + detect platform** (§A) — derive the arch from `$ARGUMENTS`, gate on real silicon, then read the detected arch into `PLATFORM`. 4. **Select a single idle device** (§C) — or let `task-submit` pick via `--device auto --device-num 1`. 5. **Run through `task-submit`** (§E, `--device-num 1`) following the same pattern as `run_bench()` in `tools/benchmark_rounds.sh`: snapshot logs, run `python $ARGUMENTS/test_<name>.py -p <platform> -d $TASK_DEVICE --rounds 10 --skip-golden`, find the new log, parse timing, report results. 6. Report only metrics present in the parsed markers. TMR normally supplies Host / Device / Effective / Orch / Sched; HBG supplies Host / Device. A missing HBG phase is not a zero-duration measurement.
Details
- Skill name
perf-example-device- Repository
- hw-native-sys/simpler
- Path
.claude/skills/perf-example-device/SKILL.md- Repo updated
- 18 November 2026
FAQ
What does the Perf Example Device skill do?
Benchmark the hardware performance of a single example ($ARGUMENTS). Use when the user asks to benchmark or measure the latency of one example on hardware.
How do I install the Perf Example Device skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add hw-native-sys/simpler --skill perf-example-device. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Perf Example Device popular?
It lives in hw-native-sys/simpler, which has 49 GitHub stars and 102 forks.
Related skills
Benchmark
49hw-native-sys/simpler
Benchmark runtime performance on hardware. If the current branch has commits ahead of upstream/main or uncommitted changes, compares against the fork point (merge-base). Otherwise benchmarks current state only. Use when the user asks to benchmark, measure performance, or compare latency.
Checkout PR
49hw-native-sys/simpler
Add a remote for a given PR's head repository and checkout a local pr-xxx-work branch. Use when the user wants to work on someone else's PR locally.
Clean Branches
49hw-native-sys/simpler
Remove stale local and remote git branches that have been merged into main. Detects regular merges and squash merges. Cleans up fork remote branches and prunes tracking refs. Use when the user asks to clean up branches, remove merged branches, or tidy up git.
Persuasion
113Hmbown/Wizards-of-the-Ghosts
Use this skill when the problem is not information scarcity but alignment, framing, or buy-in.
Offer Master
49Liamrjohnston/offer-master-skill
Fixes an offer that isn't selling, end to end. Finds the leak, decodes objections, scores 4 levers, rebuilds on real proof and returns a paste-ready offer card.
Plan Verify
49lllyys/vreader
Verify a completed implementation against a plan by running gates and checking acceptance criteria. Use when the user asks to verify work items or confirm completion.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.