Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Cratis/AI --skill pvanalyzegit clone --depth 1 https://github.com/Cratis/AIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cratis/ai/pvanalyze)<a href="https://agentmods.dev/skills/cratis/ai/pvanalyze"><img src="https://agentmods.dev/badge/skills/cratis/ai/pvanalyze/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cratis/ai/pvanalyze"><img src="https://agentmods.dev/badge/skills/cratis/ai/pvanalyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.00989 |
| Opus 5.5 | $0.00018 | $0.00396 |
| Sonnet 5.5 | $0.00009 | $0.00198 |
| Haiku 4.5 | $0.00005 | $0.00099 |
Grade A, and why
pvanalyze scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pvanalyze
Cratis rules in .cratis/ai/rules/ and the cratis-* skills win where they differ. pvanalyze reads .nettrace files that already exist. Collecting a trace, attaching to a process, installing a profiler and capturing dumps belong to the profiling, dotnet-trace-collect and dump-collect skills, with explicit approval; never make them the default first step of an analysis.
Install
Read references/install.md before the first run. It explains the preflight (dotnet --list-runtimes must show Microsoft.NETCore.App 10.x), the approved nuget.org-only restore into an owned directory and the stop conditions. Copy these two assets into that directory's .config/ as install.md describes:
- assets/dotnet-tools.json holds the exact tool pin; use it as the only source of the version.
- assets/NuGet.Config limits restore to nuget.org.
Run commands as dotnet tool run pvanalyze -- <arguments> from that directory. Do not install globally, use floating dnx, build from source or overwrite an existing manifest.
Workflow
- Confirm the trace path and whether it was collected with the events the question needs.
- Copy the trace into an owned directory. Parsing writes a sibling
.pvanalyze.etlxcache, so never analyze a trace in a directory you do not own. - Run
pvanalyze info <trace>first to verify the file opens and contains the expected processes. Useevents --listto see what was collected. - Pick one focused command and bound its output:
gcstatsfor GC count, heap size and pause questionsallocfor allocation by typedatasfor Dynamic Adaptation To Application Sizes heap-count tuningjitstatsfor JIT compilation costcpustacksfor top CPU methods, module or namespace grouping and SpeedScope exportcalltreefor hot paths and caller/callee explorationeventsandexceptionsfor provider, event type, payload, PID, TID or thrown-exception filteringtimelineandsnapshotfor time-bucketed or point-in-time context
- Prefer
--format jsonwhen another tool consumes the output, and add--from/--toonly after a baseline run shows the interesting window. - Report the command, process, window and filters used, plus generated files such as a
.speedscope.json.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 55 lines · 45 tokens per session scan A e570e2392457
pvanalyze is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 989 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.
pvanalyze compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pvanalyzeCratis/AI | Skill | 4 | today | MIT | A | 45 | Claude Code, Codex |
| cs0618-hunterjoslat/maf-doctor | Skill | 14 | 14d ago | MIT | A | 85 | Claude Code, Codex |
| nuget-diff-analyzerjoslat/maf-doctor | Skill | 14 | 14d ago | MIT | A | 56 | Claude Code, Codex |
| dotnet-performancewieslawsoltes/Performance-Skill | Skill | 37 | 4mo ago | MIT | A | 42 | Claude Code, Codex |
| dotnet-aot-compatmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 112 | Claude Code, Codex |
| msbuildmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 219 | Claude Code, Codex |
| build-perf-diagnosticsmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 135 | Claude Code, Codex |