Agent skill

Microbenchmarking

by atherio-danp in atherio-danp/cde-dotnetcc

Create, run, configure, and interpret BenchmarkDotNet microbenchmarks in the .NET API — measure and compare approaches, runtime configs, or package versions.

No licenceAuto-check: notesTesting & QA

Install Microbenchmarking

skills CLI
$ npx skills add atherio-danp/cde-dotnetcc --skill microbenchmarking -a claude-code

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

GitHub CLI
$ gh skill install atherio-danp/cde-dotnetcc microbenchmarking --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/atherio-danp/cde-dotnetcc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/microbenchmarking .claude/skills/microbenchmarking && 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
microbenchmarking
GitHub stars
109
Token cost
~979 tokens
SKILL.md length
345 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

Create, run, configure, and interpret BenchmarkDotNet microbenchmarks in the .NET API — measure and compare approaches, runtime configs, or package versions.

  • Works in 3 steps: Plan — pick the use case (coverage suite… → Implement — [Benchmark] methods that… → Validate — --job Dry to confirm it…
  • Proving a performance change
  • SKILL.md covers Concepts, Cost-aware job presets, CLI and Writing workflow, plus 1 more section
  • Calls dotnet

What it does

Microbenchmarking is an agent skill from atherio-danp/cde-dotnetcc. Create, run, configure, and interpret BenchmarkDotNet microbenchmarks in the .NET API — measure and compare approaches, runtime configs, or package versions. Use when proving a performance change, comparing implementations, or validating a hot-path optimization. (Not for profiling or load testing.)

Its SKILL.md is about 980 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 Testing & QA, covering Load testing. It works with .NET. The repository describes itself as: Claude Code harness for .NET developers.

When your agent uses it

  • Proving a performance change
  • Comparing implementations
  • Validating a hot-path optimization

Example prompts

  • “/microbenchmarking”

Requirements

  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Bash, mcp__serena__initial_instructions, mcp__serena__get_symbols_overview, mcp__serena__find_symbol, mcp__serena__find_referencing_symbols, mcp__serena__find_declaration, mcp__serena__find_implementations, mcp__serena__search_for_pattern, mcp__serena__get_diagnostics_for_file, mcp__serena__list_dir, mcp__serena__find_file, mcp__serena__create_text_file, mcp__serena__replace_symbol_body, mcp__serena__insert_after_symbol, mcp__serena__insert_before_symbol, mcp__serena__replace_content, mcp__serena__rename_symbol, mcp__serena__safe_delete_symbol

Workflow steps

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

  1. Plan — pick the use case (coverage suite / investigation / change-validation / throwaway) and the
  2. Implement — [Benchmark] methods that return their result (so the JIT can't elide them); init in
  3. Validate — --job Dry to confirm it compiles/runs → one representative case at defaults → full suite.

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Bash
    • mcp__serena__initial_instructions
    • mcp__serena__get_symbols_overview
    • mcp__serena__find_symbol
    • mcp__serena__find_referencing_symbols
    • mcp__serena__find_declaration
    • mcp__serena__find_implementations

    …and 11 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    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

Microbenchmarking loads about 979 tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 345 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Glob, Grep, Bash, mcp__serena__initial_instructions, mcp__serena__get_symbols_overview, mcp__s

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 345 words (~979 tokens).

“Use this to turn a perf claim (often from dotnet-performance-review) into measured evidence. C# (.cs) benchmark files are written via Serena.”

— opening of SKILL.md by atherio-danp
name
microbenchmarking
allowed-tools
Read, Glob, Grep, Bash, mcp__serena__initial_instructions, mcp__serena__get_symbols_overview, mcp__serena__find_symbol, mcp__serena__find_referencing_symbols, mcp__serena__find_declaration, mcp__serena__find_implementations, mcp__serena__search_for_pattern, mcp__serena__get_diagnostics_for_file, mcp__serena__list_dir, mcp__serena__find_file, mcp__serena__create_text_file, mcp__serena__replace_symbol_body, mcp__serena__insert_after_symbol, mcp__serena__insert_before_symbol, mcp__serena__replace_content, mcp__serena__rename_symbol, mcp__serena__safe_delete_symbol

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/microbenchmarking of atherio-danp/cde-dotnetcc.

Open the folder on GitHubat commit c72a3f9

Compare with similar skills

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

Microbenchmarking compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Microbenchmarking this skillatherio-danp/cde-dotnetcc109—~979Automated safety check: NotesNone
Microbenchmarkingdotnet/skills5.6k3 repos~3.3kAutomated safety check: PassMIT
Microbenchmarkingrodri-oliveira-dev/Dapper-FluentMap453—~1.1kAutomated safety check: PassMIT
Code Reviewdotnet/macios2.9k—~1.7kAutomated safety check: PassCustom licence
Profilingmanagedcode/dotnet-skills486—~1.6kAutomated safety check: PassMIT
Evaluate PR Testsdotnet/maui23k—~2.9kAutomated safety check: PassMIT

Similar skills

  • Microbenchmarking

    dotnet/skills

    Official

    Activate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks.

    5.6k GitHub starsUsed in 3 repos~3.3k tokens
    Testing & QAAuto-check passed
  • Microbenchmarking

    rodri-oliveira-dev/Dapper-FluentMap

    Activate when BenchmarkDotNet is involved or when a .NET performance question requires controlled microbenchmark measurement.

    453 GitHub stars~1.1k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Code Review

    dotnet/macios

    Official

    Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios.

    2.9k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Profiling

    managedcode/dotnet-skills

    Use the free official .NET diagnostics CLI tools for profiling and runtime investigation in .NET repositories.

    486 GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Official

    Reviews the tests added in a pull request for fix coverage, quality, edge cases and test type, and recommends lighter test types where they would do.

    23k GitHub stars~2.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Official

    Statically pairs source files with test files to list code that no test references, using Roslyn for C# or tree-sitter for many languages, with no build.

    5.6k GitHub starsUsed in 1 repo~3.3k tokens
    Testing & QAAuto-check passed

More from atherio-danp/cde-dotnetcc

All 13 skills in this repo
  • MCP Csharp

    atherio-danp/cde-dotnetcc

    Create, debug, test, and publish MCP (Model Context Protocol) servers in C using the official ModelContextProtocol SDK — tools/prompts/resources, stdio vs HTTP transport, MapMcp hosting.

    109 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Otel Instrumentation

    atherio-danp/cde-dotnetcc

    Add or change OpenTelemetry tracing, metrics, and structured logging in the .NET API (apps/api) — OTLP exporter setup, custom ActivitySource spans, IMeterFactory metrics, log/trace correlation.

    109 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check: notes
  • Dotnet AI Stack

    atherio-danp/cde-dotnetcc

    Choose and wire AI features in the .NET backend — LLM calls, agentic tool-calling/multi-step workflows, RAG/vector search, structured output, streaming.

    109 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Dotnet Performance Review

    atherio-danp/cde-dotnetcc

    Scan .NET/C code for performance anti-patterns (async, memory/strings, collections/LINQ, regex, serialization, I/O) with tiered severity, reporting findings without editing.

    109 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check: notes
  • Efcore Patterns

    atherio-danp/cde-dotnetcc

    Add or change EF Core (Npgsql/PostgreSQL) persistence in the .NET backend — entities, EF configurations, repositories, queries, migrations.

    109 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check: notes
  • Efcore Query Performance

    atherio-danp/cde-dotnetcc

    Optimize EF Core (Npgsql/PostgreSQL) queries in the .NET API — fix N+1, choose tracking modes, use compiled queries, split queries, and avoid translation traps.

    109 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check: notes

Works with

Categories

Questions about Microbenchmarking

What does Microbenchmarking do?

Create, run, configure, and interpret BenchmarkDotNet microbenchmarks in the .NET API — measure and compare approaches, runtime configs, or package versions. Microbenchmarking is an agent skill from atherio-danp/cde-dotnetcc.NET API — measure and compare approaches, runtime configs, or package versions.

When should I use Microbenchmarking?

Microbenchmarking fits situations like: proving a performance change; comparing implementations; validating a hot-path optimization.

How do I install Microbenchmarking in Claude Code?

Run `npx skills add atherio-danp/cde-dotnetcc --skill microbenchmarking -a claude-code`. Or copy the skill folder (.claude/skills/microbenchmarking in atherio-danp/cde-dotnetcc) into .claude/skills/microbenchmarking in your project. Claude Code loads it when a task matches its description.

How do I install Microbenchmarking in Codex?

Run `npx skills add atherio-danp/cde-dotnetcc --skill microbenchmarking -a codex`. Or copy the skill folder (.claude/skills/microbenchmarking in atherio-danp/cde-dotnetcc) into .agents/skills/microbenchmarking in your project. Codex loads it when a task matches its description.

Can I use Microbenchmarking 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 atherio-danp/cde-dotnetcc --skill microbenchmarking -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microbenchmarking, .gemini/skills/microbenchmarking, .github/skills/microbenchmarking and .opencode/skills/microbenchmarking in your project.

What does Microbenchmarking need to run?

Going by SKILL.md and its folder, Microbenchmarking needs the command-line tools its instructions call (dotnet). Its frontmatter pre-approves these tools: Read, Glob, Grep, Bash, mcp__serena__initial_instructions, mcp__serena__get_symbols_overview, mcp__serena__find_symbol, mcp__serena__find_referencing_symbols, mcp__serena__find_declaration, mcp__serena__find_implementations, mcp__serena__search_for_pattern, mcp__serena__get_diagnostics_for_file, mcp__serena__list_dir, mcp__serena__find_file, mcp__serena__create_text_file, mcp__serena__replace_symbol_body, mcp__serena__insert_after_symbol, mcp__serena__insert_before_symbol, mcp__serena__replace_content, mcp__serena__rename_symbol, mcp__serena__safe_delete_symbol.

Does Microbenchmarking 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 Microbenchmarking safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Microbenchmarking use?

No licence was found for Microbenchmarking or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Microbenchmarking use?

About 979 tokens (SKILL.md is roughly 3.9k 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 Microbenchmarking?

Skills that share tags, products or a category with Microbenchmarking: Microbenchmarking (dotnet/skills, 5.6k stars), Microbenchmarking (rodri-oliveira-dev/Dapper-FluentMap, 453 stars), Code Review (dotnet/macios, 2.9k stars) and Profiling (managedcode/dotnet-skills, 486 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Microbenchmarking?

atherio-danp (a GitHub user) maintains it in atherio-danp/cde-dotnetcc, which has 109 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on July 26, 2026.

Source: atherio-danp/cde-dotnetcc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.