Skip to content
Back to skills

Cmakefmt Tracing

ASecurity

Generate and interpret cmakefmt trace artifacts.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 1, 2026
toolsbash

Works with

  • cli

Security analysis

A100/100

Scanned September 1, 2026

npx -y skills add azais-corentin/cmakefmt --skill cmakefmt-tracing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cmakefmt Tracing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cmakefmt Tracing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/azais-corentin-cmakefmt-tracing/badge)](https://www.skillsdirectory.com/skills/azais-corentin-cmakefmt-tracing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.