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 Arasz/ai-raccoon --skill dotnet-logger-message-designgit clone --depth 1 https://github.com/Arasz/ai-raccoonWrote 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/arasz/ai-raccoon/dotnet-logger-message-design)<a href="https://agentmods.dev/skills/arasz/ai-raccoon/dotnet-logger-message-design"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnet-logger-message-design/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/arasz/ai-raccoon/dotnet-logger-message-design"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnet-logger-message-design.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.00086 | $0.01407 |
| Opus 5.5 | $0.00034 | $0.00563 |
| Sonnet 5.5 | $0.00017 | $0.00281 |
| Haiku 4.5 | $0.00009 | $0.00141 |
Grade A, and why
dotnet-logger-message-design 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.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
dotnet-logger-message-design
Design and test [LoggerMessage] logging that stays inside the high-performance invariant (nested static partial Log, explicit EventIds, no string interpolation at call sites) while actually delivering what the help text/docs promise.
Trigger
- Adding a new log line to a service that uses the nested
Logclass pattern. - A finding like "feature promises to log X but logs only counts" — designing the detail-logging fix.
- Writing tests that assert log records (EventId, level, message contents).
Design rules
[LoggerMessage]templates cannot format collections. AnIReadOnlyList<string>parameter renders as its type name. Pre-join at the call site:string.Join(", ", reasons)— that is a parameter build, NOT interpolation, so it satisfies the no-interpolation invariant. One small allocation, fine off the hot path.- EventIds: allocate from the class's next free id in its own range (event ids are scoped per logger category — cross-class reuse is benign, same-category collisions are not). One EventId per (message shape, level) pair; if the same shape is logged at two levels, write two
[LoggerMessage]methods. - Per-item detail logs: one structured message per item, not one giant aggregated string — each item becomes filterable/greppable in structured sinks. Gate detail logging by mode/level when the ops line should stay counts-only; volume math decides the level (e.g. a 30-min interval loop can afford Information; a per-request loop cannot).
- Don't widen records to feed logs. Before designing "log the score", check the record exposes it. Adding a field to a record an MCP tool / API serializes directly ripples into the wire contract (additive JSON, but still a contract change needing tool tests + docs). Prefer logging the existing explanatory data (e.g. a reasons list encodes the score breakdown) and the rank position.
- Reuse existing truncation. If the domain layer already truncates a preview (e.g. 300 chars) for the API response, log that field as-is — don't add a second, smaller truncation constant just for logs.
- Promise surfaces decide implement-vs-correct-docs. When help text / README / class doc comments all promise behavior X but the code logs counts only, count the promising surfaces: with N surfaces promising X and one missing implementation, implementing X is usually cheaper and more honest than correcting N surfaces. Re-verify every cited file:line in the finding first — findings mis-cite (a finding may cite a docs line that never promised the behavior; the promise often lives in CLI help, README, and the class doc comment instead).
What ships with it
1 file 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.
- yesterday First seen · 50 lines · 86 tokens per session scan A 05bc5e9ef16c
dotnet-logger-message-design is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 86 tokens to every session and 1,407 once invoked, about $0.0003 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.
dotnet-logger-message-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dotnet-logger-message-designArasz/ai-raccoon | Skill | 7 | today | MIT | A | 86 | Claude Code, Codex |
| http-client-migrationGen-Verse/PAST-Bench | Skill | 40 | 4mo ago | Apache-2.0 | A | 14 | Claude Code, Codex |
| dotnet-pinvokerootcastleco/rei-skills | Skill | 11 | 5d ago | none | A | 119 | Claude Code, Codex |
| azure-eventgrid-dotnetrootcastleco/rei-skills | Skill | 11 | 5d ago | none | A | 80 | Claude Code, Codex |
| directory-build-organizationrootcastleco/rei-skills | Skill | 11 | 5d ago | none | A | 142 | Claude Code, Codex |
| avalonia-viewmodels-zafirorootcastleco/rei-skills | Skill | 11 | 5d ago | none | A | 26 | Claude Code, Codex |
| Cursor rules for Aspnet AbpAmariahAK/atlarix-skills | Skill | 0 | 2mo ago | Apache-2.0 | A | 7 | Claude Code, Codex |