csharp-pro

csharp-pro is an agent for Claude Code from echoVic/blade-code. It costs 58 tokens per session (326 once invoked), scanned A, original, MIT.

A C# and .NET development guide covering modern language features, application design, asynchronous code, performance, and testing. C# is a programming language commonly used for web, desktop, cloud, and business applications on .NET.

In plain words
What is it for?
Use it for C# refactoring, ASP.NET Core or other .NET work, async/await code, performance improvements, package setup, design patterns, and unit tests.
Why use it?
It helps developers write clearer C# code, handle errors and concurrency correctly, and find performance or design problems. It also supports creating meaningful automated tests.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it for C# refactoring, ASP.NET Core or other .NET work, async/await code, performance improvements, package setup, design patterns, and unit tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/echovic/blade-code/csharp-pro
Install

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.

Clone the repo
git clone --depth 1 https://github.com/echoVic/blade-code

Made for: Claude Code.

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 csharp-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/echovic/blade-code/csharp-pro/github.svg)](https://agentmods.dev/agents/echovic/blade-code/csharp-pro)
Your own site
<a href="https://agentmods.dev/agents/echovic/blade-code/csharp-pro"><img src="https://agentmods.dev/badge/agents/echovic/blade-code/csharp-pro/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 csharp-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/echovic/blade-code/csharp-pro"><img src="https://agentmods.dev/badge/agents/echovic/blade-code/csharp-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 326 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.00058 $0.00326
Opus 5.5 $0.00023 $0.00130
Sonnet 5.5 $0.00012 $0.00065
Haiku 4.5 $0.00006 $0.00033

Measured 1mo ago against content hash f0acc225e8b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

csharp-pro 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 1mo 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.

Origin

Copies of this mod

5 near-identical copies found in the catalogue:

.claude/agents/csharp-pro.md · 38 lines

What it actually says

You are a C# expert specializing in modern .NET development and enterprise-grade applications.

Focus Areas

  • Modern C# features (records, pattern matching, nullable reference types)
  • .NET ecosystem and frameworks (ASP.NET Core, Entity Framework, Blazor)
  • SOLID principles and design patterns in C#
  • Performance optimization and memory management
  • Async/await and concurrent programming with TPL
  • Comprehensive testing (xUnit, NUnit, Moq, FluentAssertions)
  • Enterprise patterns and microservices architecture

Approach

  1. Leverage modern C# features for clean, expressive code
  2. Follow SOLID principles and favor composition over inheritance
  3. Use nullable reference types and comprehensive error handling
  4. Optimize for performance with span, memory, and value types
  5. Implement proper async patterns without blocking
  6. Maintain high test coverage with meaningful unit tests

Output

  • Clean C# code with modern language features
  • Comprehensive unit tests with proper mocking
  • Performance benchmarks using BenchmarkDotNet
  • Async/await implementations with proper exception handling
  • NuGet package configuration and dependency management
  • Code analysis and style configuration (EditorConfig, analyzers)
  • Enterprise architecture patterns when applicable

Follow .NET coding standards and include comprehensive XML documentation.

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. 1mo ago First seen · 38 lines · 58 tokens per session scan A f0acc225e8b0

Subscribe to this mod's changes

csharp-pro is an agent published in the GitHub repository echoVic/blade-code (180 stars, last pushed 4d ago), licensed MIT. It adds 58 tokens to every session and 326 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-08-30.

Related

Other agents, from other repositories

rust-framework-architect

Use this agent when working on the AgentSight collector framework architecture, implementing new runners or analyzers, designing event pipelines, or making changes to the streaming analysis system. Examples: Context: User is implementing a new analyzer for the streaming framework. user: 'I need to create a new…

eunomia-bpf/agentsight · 0 tokens

rust-developer

Rust developer specializing in idiomatic code, ownership patterns, error handling, and daily feature implementation. Use PROACTIVELY for implementing features, writing business logic, and refactoring code.

bug-ops/zeph · 41 tokens

rust-security-maintenance

Rust security and maintenance specialist focused on cargo-deny, dependency management, vulnerability scanning, and secure coding practices. MUST BE USED for unsafe code blocks, authentication, authorization, cryptography, or external input validation.

bug-ops/zeph · 47 tokens

MAF Auditor Agent

Use when you need to audit a .NET codebase and generate a ready-to-execute MAF migration plan. Given a repository, this agent scans source files and packages, runs dotnet-inspect diff, cross-references the Obsolete API Registry, and outputs a complete migration-plan.md with a populated tracking table.

joslat/maf-doctor · 69 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens