Orleans.SignalR: Skill for Codex

.codex/skills/pvanalyze/SKILL.md

pvanalyze is a skill for Codex from managedcode/Orleans.SignalR. It costs 141 tokens per session (1,946 once invoked), scanned A, original, MIT.

A command-line tool for inspecting existing .nettrace files, which are performance recordings from .NET applications. It can summarize garbage collection, memory allocation, CPU stacks, JIT compilation, exceptions, events, timelines, and call trees.

In plain words
What is it for?
It analyzes an existing trace file for garbage collection, allocations, CPU-heavy methods, compilation cost, events, exceptions, timelines, and call relationships.
Why use it?
It turns a detailed performance recording into readable terminal, JSON, or SpeedScope results so developers can investigate where a .NET application spends time or memory.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions AGENTS.md.

This is managedcode/Orleans.SignalR's own configuration. It tells Codex how to work on Orleans.SignalR itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Orleans.SignalR configures →

Reuse

Borrowing it

Nothing to install: this file belongs to managedcode/Orleans.SignalR. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/managedcode/Orleans.SignalR/main/.codex/skills/pvanalyze/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/managedcode/Orleans.SignalR

Made for: Codex.

Wrote 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.

agentmods badge for pvanalyze

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/orleans.signalr/pvanalyze/github.svg)](https://agentmods.dev/skills/managedcode/orleans.signalr/pvanalyze)
Your own site
<a href="https://agentmods.dev/skills/managedcode/orleans.signalr/pvanalyze"><img src="https://agentmods.dev/badge/skills/managedcode/orleans.signalr/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.

agentmods 80×15 button for pvanalyze

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/orleans.signalr/pvanalyze"><img src="https://agentmods.dev/badge/skills/managedcode/orleans.signalr/pvanalyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,946 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00141 $0.01946
Opus 5.5 $0.00056 $0.00778
Sonnet 5.5 $0.00028 $0.00389
Haiku 4.5 $0.00014 $0.00195

Measured yesterday against content hash 03529bd8e293, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • pvanalyze — 100% identical, 0 lines differ
.codex/skills/pvanalyze/SKILL.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pvanalyze

Trigger On

  • the user mentions pvanalyze, PerfView-style CLI trace analysis, or cross-platform .nettrace inspection
  • the task starts from an existing .nettrace file and needs readable terminal or JSON output
  • an agent or CI workflow needs GC, JIT, CPU stack, allocation, event, exception, timeline, or call-tree summaries
  • SpeedScope export is useful but the source artifact is a .nettrace

Use dotnet-trace-collect or profiling first when the task is mostly about collecting the trace. Use pvanalyze once a trace artifact exists or when the user wants the specific command surface.

Workflow

  1. Confirm the trace path and whether it was collected with the events needed for the question.
  2. Run pvanalyze info <trace.nettrace> first to verify the file opens and contains the expected processes.
  3. Pick one focused analysis command:
    • gcstats for GC count, heap size, pause, and GC timeline questions
    • alloc for allocation-by-type questions
    • datas for Dynamic Adaptation To Application Sizes heap-count tuning
    • jitstats for JIT compilation cost
    • cpustacks for top CPU methods, module grouping, namespace grouping, or SpeedScope export
    • calltree for hot paths and caller/callee exploration
    • events for provider, event type, payload, PID, or TID filtering
    • exceptions for thrown exception summaries and details
    • timeline or snapshot when an agent needs time-bucketed context
  4. Prefer --format json when another tool or agent will consume the output.
  5. Add --from and --to only after the baseline command confirms the interesting time window.
  6. Use pvanalyze clean <trace-or-directory> when generated .pvanalyze.etlx cache files should be removed.

Current Upstream Notes

  • The upstream README still positions pvanalyze as a cross-platform .nettrace analyzer and explicitly says --help plus the README are the intended agent context rather than a separate upstream SKILL.md or AGENTS.md.
  • Keep this catalog skill focused on practical command selection and trace prerequisites. Do not add pvanalyze as a broad diagnostics replacement for trace collection, counters, dumps, or Microsoft-only tooling.

Read the full file on GitHub · 162 lines

Files

What ships with it

3 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.

Changes

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.

  1. yesterday First seen · 162 lines · 141 tokens per session scan A 03529bd8e293

Subscribe to this mod's changes

pvanalyze is a skill published in the GitHub repository managedcode/Orleans.SignalR (38 stars, last pushed 20d ago), licensed MIT. It adds 141 tokens to every session and 1,946 once invoked, about $0.0006 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-12-05.

Related

pvanalyze compared with skills from other repositories

pvanalyze next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pvanalyzemanagedcode/Orleans.SignalRSkill3820d agoMITA141Codex
migrate-xunit-to-xunit-v3dotnet/skillsSkill6.5ktodayMITA149Claude Code
migrate-dotnet8-to-dotnet9dotnet/skillsSkill6.5ktodayMITA176Claude Code
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA97Claude Code
template-instantiationdotnet/skillsSkill6.5ktodayMITA168Claude Code
template-validationdotnet/skillsSkill6.5ktodayMITA131Claude Code
template-comparisondotnet/skillsSkill6.5ktodayMITA123Claude Code