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-system-commandlinegit 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-system-commandline)<a href="https://agentmods.dev/skills/arasz/ai-raccoon/dotnet-system-commandline"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnet-system-commandline/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-system-commandline"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnet-system-commandline.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.00091 | $0.04324 |
| Opus 5.5 | $0.00036 | $0.01730 |
| Sonnet 5.5 | $0.00018 | $0.00865 |
| Haiku 4.5 | $0.00009 | $0.00432 |
Grade A, and why
dotnet-system-commandline scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
## Research technique: primary-source facts via curl How it starts
The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
.NET CLI argument parsing
Choosing and implementing CLI args for .NET console apps and global dotnet tools
(PackAsTool). State verified 2026-08-04 against primary sources; full worked example:
the repo's CLI-args design doc (docs/plans/cli-args-parsing.md).
Parser landscape (as of 2026-08)
| Option | Status | Verdict |
|---|---|---|
| System.CommandLine 2.0.x | GA Nov 2025, 2.0.10 current, MIT, net8.0 asset (zero deps), used by dotnet CLI, trim-friendly | default choice for flat option sets |
| Spectre.Console.Cli | 0.55.0 stable, still 1.0.0-alpha; very active | good, but a command framework (DI, nested commands) — overkill for ~10 flat options |
| Microsoft.Extensions.Configuration.CommandLine + EnvironmentVariables | ship in the ASP.NET Core shared framework (zero new packages); CreateBuilder(args) already layers CLI > env > appsettings |
key-value ONLY — not a parser: unknown --keys silently stored, no --help/validation, trailing valueless --key dropped, --key --other consumes next token as value |
| Cocona | archived 2024 | do not adopt |
| McMaster.Extensions.CommandLineUtils | maintained, minimal | third-party, thinner than the official parser |
| hand-rolled | — | rejected wherever 'official NuGet over hand-rolled' applies |
Maintaining an existing Cocona tool (verified 2026-08-05, the reference tool)
Cocona is archived — don't adopt it for new work — but tools already built on it need these behaviors (Cocona 2.2.0, observed on a real CLI):
- Exceptions escaping a command handler do NOT propagate to your code: Cocona's
internal
HandleExceptionAndExitMiddlewarecatches them, prints the FULL exception (ex.ToString(), stack trace included) to stderr, and returns exit code 1. Atry/catcharoundconsoleApp.Run()in Program.cs never fires — it is dead code. - Setting
Environment.ExitCodeinside a handler is clobbered: the dispatcher writes the exit code from the handler result (0 on success). - Working pattern for clean errors + exit codes: make the handler lambdas return
Task<int>— Cocona uses an int-returning handler's value as the process exit code. Wrap each command:static async Task<int> RunAndReportErrors(Func<Task> action){ try { await action(); return 0; } catch (Exception ex) { Console.Error.WriteLine($"Error: {ex.Message}"); return 1; } }. CoconaAppOptions(2.2.0) has NO exception-handler hook (verified by reflection) — no built-in message-only error mode; the wrapper above is the way.
What ships with it
8 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.
- references/config-verb-trees.md 4.8 KB
- references/nuget-evidence-research.md 4.9 KB
- references/system-commandline-2.0.10-ga-api.md 11 KB
- references/system-commandline-2.0.10-option-validation.md 4.0 KB
- references/system-commandline-2.0.10-subcommand-options.md 3.3 KB
- references/system-commandline-bool-flags-and-prescan.md 2.1 KB
- templates/system-commandline-idiom-probe/Program.cs 2.9 KB
- templates/system-commandline-idiom-probe/system-commandline-idiom-probe.csproj 566 B
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 · 246 lines · 91 tokens per session scan A 60f910c17862
dotnet-system-commandline is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 4,324 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.
dotnet-system-commandline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dotnet-system-commandlineArasz/ai-raccoon | Skill | 7 | today | MIT | A | 91 | 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 |