Generate and interpret cmakefmt trace artifacts.
Scanned 9/1/2026
Install to Claude Code
npx -y skills add azais-corentin/cmakefmt --skill cmakefmt-tracing --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cmakefmt Tracing?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/azais-corentin-cmakefmt-tracing)More formats (shields.io, HTML) on the badges page.
---
name: cmakefmt-tracing
description: Generate and interpret cmakefmt trace artifacts.
---
# CMakefmt Tracing Skill
Quickstart for generating cmakefmt trace artifacts and getting useful signal from them fast.
## Quickstart
Trace a single file:
```bash
cmakefmt \
--trace-output trace.json \
--trace-summary-output trace-summary.json \
CMakeLists.txt
```
Trace multiple files in one invocation:
```bash
cmakefmt \
--trace-output trace.json \
--trace-summary-output trace-summary.json \
--write \
path/to/A.cmake path/to/B.cmake
```
Optional: narrow emitted events with a custom filter:
```bash
cmakefmt \
--trace-output trace.json \
--trace-summary-output trace-summary.json \
--trace-filter 'cmakefmt=info,cmakefmt_cli=info' \
path/to/CMakeLists.txt
```
## Output Artifacts
- `--trace-output <PATH>`: Chrome trace JSON (timeline) at the provided path, e.g. `trace.json`.
- `--trace-summary-output <PATH>`: normalized aggregate summary JSON at the provided path, e.g. `trace-summary.json`.
Both are per-invocation artifacts.
## How to Read the Summary Fast
Start in this order:
1. `timing.stages` — which pipeline stage dominates wall time.
2. `timing.hotspots` — which spans/functions are most expensive.
3. `files` — whether cost is broad or concentrated in a few files.
If a hotspot is unclear, correlate it with the Chrome trace timeline for ordering and overlap.
## Common Pitfalls
- `--trace-summary-output` requires `--trace-output`; using summary alone exits with an error.
- If tracing flags are omitted, no trace artifacts are produced.
- Summary data is timing/structure oriented; it is not source-content analysis.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!