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 alexei-led/cc-thingz --skill writing-csharpgit clone --depth 1 https://github.com/alexei-led/cc-thingzWrote 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/alexei-led/cc-thingz/writing-csharp)<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/writing-csharp"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-csharp/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/alexei-led/cc-thingz/writing-csharp"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-csharp.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.00095 | $0.00662 |
| Opus 5.5 | $0.00038 | $0.00265 |
| Sonnet 5.5 | $0.00019 | $0.00132 |
| Haiku 4.5 | $0.00010 | $0.00066 |
Grade A, and why
writing-csharp 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 2mo 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 — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C# /.NET Development
Check the nearest *.csproj, Directory.Build.props, global.json, and CI for TargetFramework(s), LangVersion, nullable context, and analyzer policy before using newer syntax. Without an explicit LangVersion, the C# version follows the TFM (net8.0 defaults to C# 12; net6.0 defaults to C# 10, which lacks primary constructors and collection expressions). Project conventions win over these defaults, and raising LangVersion or the TFM to unlock syntax is a separate decision — ask first, don't do it on your own.
Defaults
- BCL and existing NuGet packages first. Keep the app's existing choices: controllers vs minimal APIs, DI container, ORM, test framework.
- Nullable reference types stay on. Model absence with
?; handle a missing result explicitly (e.g. returnNotFound/Problem) instead of!. Never suppress a warning; fix it at the source. - Async end to end: no
.Result,.Wait(), orGetAwaiter().GetResult(). PassCancellationTokenthrough cancellable boundaries, including EF calls. - Never let a singleton capture a scoped service (e.g. a
DbContext); useIServiceScopeFactoryorIDbContextFactorywhen a singleton needs scoped data. - Validate request DTOs and message payloads at the handler before mapping to domain types; model binding alone is not validation. Return response DTOs from API boundaries, not entities.
- Bind and validate options at startup (
ValidateOnStart); inject typed options instead of reading config ad hoc. - Background services honor the stopping token; replace
Thread.Sleepwith a cancellable wait (Task.Delaywith the token, orPeriodicTimer).
CLIs
- Existing CLI stack first; the BCL is enough for small tools. Add
System.CommandLineor Spectre.Console only when the command surface justifies it. - Keep
Program.csthin: test the command handler, or aRun(args, stdout, stderr)seam, and assert exit code and output withdotnet test --filter, including a non-zero exit and a stderr message on bad input.
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.
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.
- 2mo ago Changed · -3 lines · -4 tokens per session 6f32e08b4ac2
- 2mo ago Changed · -29 lines fbea5f396872
- 3mo ago First seen · 67 lines · 99 tokens per session scan A 2aea31005a07
writing-csharp is a skill published in the GitHub repository alexei-led/cc-thingz (37 stars, last pushed yesterday), licensed MIT. It adds 95 tokens to every session and 662 once invoked, about $0.0004 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.
writing-csharp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| writing-csharpalexei-led/cc-thingz | Skill | 37 | yesterday | MIT | A | 95 | Claude Code, Codex |
| refactoring-csharpCodeAlive-AI/ai-driven-development | Skill | 194 | 2d ago | MIT | A | 60 | Claude Code |
| agent-csharp-reviewerKunanonJ/ai-skills-hub | Skill | 5 | 2mo ago | MIT | A | 45 | Claude Code, Codex |
| dotnet-backend-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 181 | Claude Code |
| analyzing-dotnet-performancedotnet/skills | Skill | 6.4k | today | MIT | A | 64 | Claude Code |
| coding-standardshashgraph-online/awesome-codex-plugins | Skill | 1.6k | today | Apache-2.0 | A | 28 | Claude Code, Codex |
| code-review-csharppnp/copilot-prompts | Skill | 913 | yesterday | MIT | A | 66 | Claude Code, Codex |