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 managedcode/dotnet-skills --skill managedcode-mimetypesgit clone --depth 1 https://github.com/managedcode/dotnet-skillsWrote 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/managedcode/dotnet-skills/managedcode-mimetypes)<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/managedcode-mimetypes"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/managedcode-mimetypes/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/managedcode/dotnet-skills/managedcode-mimetypes"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/managedcode-mimetypes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00118 | $0.01216 |
| Opus 5.5 | $0.00047 | $0.00486 |
| Sonnet 5.5 | $0.00024 | $0.00243 |
| Haiku 4.5 | $0.00012 | $0.00122 |
Grade A, and why
managedcode-mimetypes 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 — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ManagedCode.MimeTypes
Trigger On
- integrating
ManagedCode.MimeTypesinto upload or download flows - mapping file extensions to content types in APIs or background processing
- reviewing content-type handling for files, blobs, or attachments
- documenting a reusable MIME-type decision point in a .NET application
Install
dotnet add package ManagedCode.MimeTypes --version 10.1.1
Use PackageReference when the repository centralizes dependency versions:
<PackageReference Include="ManagedCode.MimeTypes" Version="10.1.1" />
The current package targets .NET 8, 9, and 10. Keep the version in the repository's existing central package-management file when one is present.
Workflow
- Identify where the application needs stable MIME-type decisions:
- upload validation
- download response headers
- storage metadata
- attachment processing
- Centralize content-type mapping instead of scattering ad-hoc string tables across the codebase.
- Use one library boundary for extension and MIME lookups.
- Validate the extensions and media types that matter to the product.
- Document any product-specific overrides separately from the library defaults.
Read MIME Metadata
Map file names, URLs, and compound extensions through the generated catalog:
using ManagedCode.MimeTypes;
var reportType = MimeHelper.GetMimeType("report.pdf");
var archiveType = MimeHelper.GetMimeType("archive.tar.gz");
var imageType = MimeHelper.GetMimeType("https://cdn.example.test/avatar.png?v=2");
var jpegExtensions = MimeHelper.GetExtensions("image/jpeg");
Use registry metadata when the application needs provenance or registration details:
if (MimeHelper.TryGetMimeTypeInfoByExtension("report.pdf", out var info))
{
Console.WriteLine($"{info.Mime} registered={info.IsIanaRegistered}");
}
Write Application Mappings
Register product-specific mappings at startup and remove them only when the owning application lifecycle requires it:
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.
- 2mo ago Changed · +6 lines f06a7ce583a5
- 2mo ago First seen · 121 lines · 118 tokens per session scan A 1e1fe3b3bb81
managedcode-mimetypes is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 118 tokens to every session and 1,216 once invoked, about $0.0005 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-09-03.
managedcode-mimetypes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| managedcode-mimetypesmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 118 | Claude Code, Codex |
| clean-architecture-dotnetSebastienDegodez/copilot-instructions | Skill | 199 | 23d ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| generate-microcks-openapi-samplesSebastienDegodez/copilot-instructions | Skill | 199 | 23d ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| nav-authnavikt/copilot | Skill | 65 | yesterday | MIT | A | 28 | Claude Code, Codex |
| kafkanavikt/copilot | Skill | 65 | yesterday | MIT | A | 26 | Claude Code, Codex |
| spring-boot-scaffoldnavikt/copilot | Skill | 65 | yesterday | MIT | A | 32 | Claude Code, Codex |
| ktor-scaffoldnavikt/copilot | Skill | 65 | yesterday | MIT | A | 30 | Claude Code, Codex |