Agent skill

Corvus Benchmarks

by corvus-dotnet in corvus-dotnet/Corvus.JsonSchema

Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages.

Apache-2.0Auto-check passedDevelopment

Install Corvus Benchmarks

skills CLI
$ npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-benchmarks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install corvus-dotnet/Corvus.JsonSchema corvus-benchmarks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/corvus-dotnet/Corvus.JsonSchema.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/corvus-benchmarks .claude/skills/corvus-benchmarks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
corvus-benchmarks
GitHub stars
199
Token cost
~1.2k tokens
SKILL.md length
302 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
Apache-2.0

At a glance

Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages.

  • Works in 5 steps: Always clean Job-* directories before… → Never pipe BDN output through truncating… → filter '*' must be single-quoted in… → …
  • : running benchmarks
  • SKILL.md covers B/ vs C/ Convention, Running Benchmarks, Result Locations and Regenerating C/ Models, plus 4 more sections
  • Calls dotnet and node

What it does

Corvus Benchmarks is an agent skill from corvus-dotnet/Corvus.JsonSchema. Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages. Covers the B/ (frozen baseline) vs C/ (current) directory convention, stale Job- cleanup, --buildTimeout, result file polling, regenerating C/ models after codegen changes, and JSONata/JMESPath/JsonLogic/JSONPath benchmarks. USE FOR: running benchmarks, interpreting results, regenerating benchmark models, troubleshooting BDN issues, adding new benchmark schemas. DO NOT USE FOR: general .NET performance analysis…

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Project scaffolding and Forms and validation. It works with .NET. The repository describes itself as: Support for Json Schema validation and entity generation. The licence is Apache-2.0.

When your agent uses it

  • : running benchmarks
  • Interpreting results
  • Regenerating benchmark models
  • Troubleshooting BDN issues

Example prompts

  • “/corvus-benchmarks”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Always clean Job-* directories before running. Stale ones cause file locks; BDN silently drops benchmarks.
  2. Never pipe BDN output through truncating commands (Select-Object -First N). This kills the host process.
  3. filter '*' must be single-quoted in PowerShell to prevent glob expansion.
  4. buildTimeout 1200 is required — source generators make default 120s too short.
  5. Detect completion by polling for result files, not by waiting on shell output

What it can do on your machine

Read from SKILL.md and the folder at commit b9e3040. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Corvus Benchmarks loads about 1.2k tokens when it runs. Until then it costs about 146 tokens; SKILL.md has 302 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~146
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from corvus-dotnet/Corvus.JsonSchema at commit b9e3040, republished under its Apache-2.0 licence (© corvus-dotnet). 302 words, ~1,240 tokens.

Download SKILL.mdSave it as .claude/skills/corvus-benchmarks/SKILL.md (or your agent's skills folder).
name
corvus-benchmarks
description
Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages. Covers the B/ (frozen baseline) vs C/ (current) directory convention, stale Job-* cleanup, --buildTimeout, result file polling, regenerating C/ models after codegen changes, and JSONata/JMESPath/JsonLogic/JSONPath benchmarks. USE FOR: running benchmarks, interpreting results, regenerating benchmark models, troubleshooting BDN issues, adding new benchmark schemas. DO NOT USE FOR: general .NET performance analysis (use the analyzing-dotnet-performance skill).

BenchmarkDotNet Benchmarks

B/ vs C/ Convention

Each benchmark model project has two subdirectories:

DirectoryPurposeNamespaceRoot type
B/Frozen baseline — NEVER regenerateCorvus.<Name>Benchmark.BaselineSchema
C/Current — regenerate after codegen changesCorvus.<Name>Benchmark.Current<Name>Schema

37+ benchmark model projects follow this pattern with no exceptions.

Running Benchmarks

Step-by-Step Procedure
powershell
# 1. Build in Release
dotnet build Corvus.Text.Json.slnx -c Release -v q

# 2. Run correctness tests first
dotnet test --solution Corvus.Text.Json.slnx -c Release -f net10.0 --filter "TestCategory!=failing&TestCategory!=outerloop"

# 3. CRITICAL — Clean stale Job-* directories
$benchDir = "benchmarks\Corvus.Text.Json.Benchmarks"
Remove-Item "$benchDir\bin\Release\net10.0\Job-*" -Recurse -Force -ErrorAction SilentlyContinue
Remove-Item "$benchDir\BenchmarkDotNet.Artifacts\results\*" -Force -ErrorAction SilentlyContinue

# 4. Run benchmarks
cd $benchDir
dotnet run -c Release -f net10.0 -- --filter '*' --buildTimeout 1200
Critical Rules
  1. Always clean Job-* directories before running. Stale ones cause file locks; BDN silently drops benchmarks.
  2. Never pipe BDN output through truncating commands (Select-Object -First N). This kills the host process.
  3. --filter '*' must be single-quoted in PowerShell to prevent glob expansion.
  4. --buildTimeout 1200 is required — source generators make default 120s too short.
  5. Detect completion by polling for result files, not by waiting on shell output:
    powershell
    Get-ChildItem "$benchDir\BenchmarkDotNet.Artifacts\results\*-report-default.md"

Result Locations

Results are at benchmarks/<Project>/BenchmarkDotNet.Artifacts/results/ (not the repo root):

  • *-report-default.md — markdown reports (one per benchmark class)
  • *-report-full.json — JSON reports

Regenerating C/ Models

After code generator changes, regenerate all C/ directories:

powershell
# Clean C/ first
Remove-Item -Recurse -Force benchmarks\Corvus.Text.Json.<Name>BenchmarkModels\C\*

# Regenerate
dotnet run --project src\Corvus.Json.CodeGenerator -f net10.0 -c Release -- `
    <schema-path> `
    --rootNamespace Corvus.<Name>Benchmark.Current `
    --outputRootTypeName <Name>Schema `
    --outputPath benchmarks\Corvus.Text.Json.<Name>BenchmarkModels\C `
    --engine V5

JSONata/JMESPath/JsonLogic/JSONPath Benchmarks

ProjectBenchmarksBuild timeout
Corvus.Text.Json.Jsonata.Benchmarks62 (20 CG + 20 RT + 22 Native)15 min in Program.cs
Corvus.Text.Json.JMESPath.BenchmarksJMESPath comparisonIn Program.cs
Corvus.Text.Json.JsonLogic.BenchmarksJsonLogic comparisonIn Program.cs
Corvus.Text.Json.JsonPath.BenchmarksJSONPath RT + CG vs JsonEverythingIn Program.cs

Other Benchmark Projects

ProjectWhat it benchmarks
Corvus.Text.Json.Yaml.BenchmarksYAML conversion performance
Corvus.Numerics.BenchmarksBigNumber arithmetic performance
Corvus.Json.Validator.BenchmarksDynamic validator performance
Corvus.Text.Json.CodeGeneration.BenchmarksCode generation pipeline performance
Corvus.Text.Json.Benchmarks.ValidationStandalone evaluator validation benchmarks

JSONata method naming: Corvus_<Cat> (RT), Corvus_CodeGen_<Cat> (CG), Native_<Cat> (baseline). This naming convention is specific to the JSONata benchmarks.

Generate comparison table: node benchmarks/bench_table.js

Troubleshooting

SymptomCauseFix
Fewer benchmarks than expectedStale Job-* dirsClean and re-run
BDN build exits code 1File lock from prior runClean Job-* dirs
No source-generated methodsSource generator didn't runBuild in Release, check obj/
Results in wrong directoryLooking at repo rootCheck benchmarks/.../BenchmarkDotNet.Artifacts/results/

Cross-References

  • For build commands, see corvus-build-and-test
  • For codegen (to regenerate C/), see corvus-codegen
  • Full guide: docs/BenchmarkGuide.md

© corvus-dotnet, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/corvus-benchmarks of corvus-dotnet/Corvus.JsonSchema.

Open the folder on GitHubat commit b9e3040

Compare with similar skills

Corvus Benchmarks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Corvus Benchmarks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Corvus Benchmarks this skillcorvus-dotnet/Corvus.JsonSchema199—~1.2kAutomated safety check: PassApache-2.0
Scaffoldcodewithmukesh/dotnet-claude-kit751—~1.7kAutomated safety check: PassMIT
Revit Toolkit AnalyzersNice3point/RevitToolkit176—~3.8kAutomated safety check: PassMIT
Revit Toolkit InternalsNice3point/RevitToolkit176—~2.5kAutomated safety check: PassMIT
Create Migrationfullstackhero/dotnet-starter-kit6.8k—~757Automated safety check: PassMIT
Improve Skill Qualitydotnet/skills5.6k1 repos~3.6kAutomated safety check: PassMIT

Similar skills

  • Scaffold

    codewithmukesh/dotnet-claude-kit

    Architecture-aware feature scaffolding for .NET 10 projects.

    751 GitHub stars~1.7k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Revit Toolkit Analyzers

    Nice3point/RevitToolkit

    Author and extend the Roslyn tooling bundled in the Nice3point.Revit.Toolkit package: the incremental source generator that emits external-event boilerplate, the analyzers and code fixers that…

    176 GitHub stars~3.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Revit Toolkit Internals

    Nice3point/RevitToolkit

    Uphold the design contract of the Nice3point.Revit.Toolkit runtime library, that wraps the raw Revit add-in API.

    176 GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Create Migration

    fullstackhero/dotnet-starter-kit

    Create and apply an EF Core migration for a module's DbContext the FSH way (central Migrations project, per-module folder, correct --context).

    6.8k GitHub stars~757 tokensUpdated 8 days ago
    DevelopmentAuto-check passed
  • Official

    Diagnoses and fixes skills in the dotnet/skills repository that lose to their own baseline, fail to activate, time out, or return "no credible improvement".

    5.6k GitHub starsUsed in 1 repo~3.6k tokens
    DevelopmentAuto-check passed
  • Official

    Create a new ASP.NET Core web application or web site using Blazor.

    5.6k GitHub starsUsed in 1 repo~3k tokens
    DevelopmentAuto-check passed

More from corvus-dotnet/Corvus.JsonSchema

All 26 skills in this repo
  • Corvus Analyzers

    corvus-dotnet/Corvus.JsonSchema

    Understand and work with the Roslyn analyzers shipped with Corvus.Text.Json.

    199 GitHub stars~876 tokensUpdated today
    Auto-check passed
  • Corvus Bowtie Testing

    corvus-dotnet/Corvus.JsonSchema

    Test Corvus.JsonSchema against the JSON Schema Test Suite using Bowtie, the cross-implementation meta-validator.

    199 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Corvus Buffer And Pooling

    corvus-dotnet/Corvus.JsonSchema

    Write allocation-efficient buffer code in Corvus.JsonSchema using the codebase's established three-tier pooling pattern: stackalloc → ArrayPool → ThreadStatic caches.

    199 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Corvus Bytes To Bytes

    corvus-dotnet/Corvus.JsonSchema

    Eliminate hand-rolled POCO record<-document string seams — types/paths that materialize a managed string (or List<string/Dictionary) between a bytes SOURCE (a parsed UTF-8 body, a DB column, a…

    199 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Corvus Codegen

    corvus-dotnet/Corvus.JsonSchema

    Generate strongly-typed C from JSON Schema using the Roslyn source generator or the corvusjson CLI tool.

    199 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Corvus Ctj Handler Implementation

    corvus-dotnet/Corvus.JsonSchema

    Implement OpenAPI server handlers using Corvus.Text.Json generated types.

    199 GitHub stars~4.4k tokensUpdated today
    Auto-check passed

Works with

Questions about Corvus Benchmarks

What does Corvus Benchmarks do?

Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages. JsonSchema. Run, interpret, and maintain BenchmarkDotNet benchmarks for JSON Schema validation and query languages.

When should I use Corvus Benchmarks?

Corvus Benchmarks fits situations like: : running benchmarks; interpreting results; regenerating benchmark models; troubleshooting BDN issues.

How do I install Corvus Benchmarks in Claude Code?

Run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-benchmarks -a claude-code`. Or copy the skill folder (.github/skills/corvus-benchmarks in corvus-dotnet/Corvus.JsonSchema) into .claude/skills/corvus-benchmarks in your project. Claude Code loads it when a task matches its description.

How do I install Corvus Benchmarks in Codex?

Run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-benchmarks -a codex`. Or copy the skill folder (.github/skills/corvus-benchmarks in corvus-dotnet/Corvus.JsonSchema) into .agents/skills/corvus-benchmarks in your project. Codex loads it when a task matches its description.

Can I use Corvus Benchmarks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add corvus-dotnet/Corvus.JsonSchema --skill corvus-benchmarks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/corvus-benchmarks, .gemini/skills/corvus-benchmarks, .github/skills/corvus-benchmarks and .opencode/skills/corvus-benchmarks in your project.

What does Corvus Benchmarks need to run?

Going by SKILL.md and its folder, Corvus Benchmarks needs the command-line tools its instructions call (dotnet and node).

Does Corvus Benchmarks access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Corvus Benchmarks safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Corvus Benchmarks use?

Corvus Benchmarks is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Corvus Benchmarks use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Corvus Benchmarks?

Skills that share tags, products or a category with Corvus Benchmarks: Scaffold (codewithmukesh/dotnet-claude-kit, 751 stars), Revit Toolkit Analyzers (Nice3point/RevitToolkit, 176 stars), Revit Toolkit Internals (Nice3point/RevitToolkit, 176 stars) and Create Migration (fullstackhero/dotnet-starter-kit, 6.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Corvus Benchmarks?

corvus-dotnet (a GitHub organization) maintains it in corvus-dotnet/Corvus.JsonSchema, which has 199 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 8, 2026.

Source: corvus-dotnet/Corvus.JsonSchema on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.