qualcomm/easywos/etl-generator
Claude Code and agent skill by qualcomm/easywos
- community
Checking that the SKILL.md file is still in the repository.
Run a target program under a CPU-sampling profiler and produce an ETL trace file for later performance analysis. Keywords - collect ETL, profile a program, generate etl, capture CPU trace, record ETL.
Install
npx vskill@latest install qualcomm/easywos/etl-generatorSKILL.md
The same SKILL.md was published earlier as qualcomm/easywos/etl-generator.
⚠️ Kernel CPU sampling requires an elevated (Administrator) shell. If thecurrent agent harness (Codex, Claude Code, etc.) or its terminal is not runningas Administrator, stop before ETL collection and tell the user to restart theharness from an elevated terminal. Do not attempt a workaround.⚠️ Do NOT use xperf / WPR / WPA to collect. Use the bundled PerfViewrunflow below — it produces a merged, self-contained.etlthat theperf-sampling-parserskill can parse directly.
ETL Generator
Launch a program under PerfView's CPU sampler, wait for it to exit, and write a merged .etl trace. This is the capture step that feeds the analysis skills:
Path Conventions
<skill_dir>: directory containing this SKILL.md, derived from the path used
to read this file.
- Collection script:
<skill_dir>/scripts/collect_etl.py. - PerfView is not shipped here: the script reuses the copy inside the
sibling perf-sampling-parser/scripts/PerfView.exe. If that sibling is absent, pass --perfview <path> explicitly.
Inputs
- Required: path to the program (
.exe) to run and profile. - Optional: arguments to pass to the program (
--args). - Optional: output
.etlpath (--out, default<program_dir>/<stem>.etl). - Optional: working directory for the program (
--cwd).
Output
- A merged
.etlfile (default next to the program). This is a self-contained
trace ready for perf-sampling-parser.
Preconditions (check before running)
- Elevated shell. Before collecting, confirm the current terminal is
Administrator. On Windows PowerShell, use:
``powershell ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) ``
If it returns False, stop immediately. Tell the user to open an elevated terminal (Start -> search PowerShell or Command Prompt -> Run as administrator), start the agent harness from that elevated terminal (codex, claude, or their normal command), and resume from profiling with the same project/workload arguments. Do not continue to ETL collection, parsing, optimization, or any later profiling-dependent step from the non-elevated session.
- Program exits on its own. PerfView
runstops collecting when the target
process exits. For a long-running / server program, either give it a workload that terminates, or warn the user that --timeout-sec will force a stop (which may leave the program killed).
Steps
Step 1: Collect the ETL
- Blocks until the target program exits (or
--timeout-sec, default 600s). - Success marker: stdout contains
DONE ... OKand ends with
[collect_etl] DONE — ETL written to: <path>.
- On failure, the script prints the first 50 lines of
<etl_dir>/temp/pfv_collect_log.txt; relay them to the user.
Step 2: Hand off to analysis
Report the absolute .etl path. The natural next step is the perf-sampling-parser skill (or perf-optimizer, which will invoke perf-sampling-parser for you when given an .etl).
Notes
- Merged ETL: the script passes
/Merge:trueso module and symbol-index
information is folded into the single .etl. This makes the trace portable and lets the parser resolve modules without the original machine state.
- No zip:
/Zip:falsekeeps a raw.etl(the parser expects.etl/.etlx,
not .etl.zip).
- Buffer size:
/BufferSizeMB:256reduces the chance of dropped CPU samples
on busy machines; raise it for very hot, many-core workloads.
- What is captured: CPU stacks (the kernel
PROFILEsampled-profile events)
plus image/process/thread events — enough for per-process CPU attribution and call-stack flame graphs. It does not enable heap or context-switch tracing.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent/skills/etl-generator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/qualcomm/easywos/etl-generator)