Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ANcpLua/ancplua-claude-plugins/plugin install nuget-opensrcWrote 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/commands/ancplua/ancplua-claude-plugins/nuget-opensrc)<a href="https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/nuget-opensrc"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/nuget-opensrc/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/commands/ancplua/ancplua-claude-plugins/nuget-opensrc"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/nuget-opensrc.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.00016 | $0.00512 |
| Opus 5.5 | $0.00006 | $0.00205 |
| Sonnet 5.5 | $0.00003 | $0.00102 |
| Haiku 4.5 | $0.00002 | $0.00051 |
Grade A, and why
nuget-opensrc 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.
What it actually says
/nuget-opensrc
Resolve a NuGet package → GitHub repo + commit → fetch with opensrc.
Without this wrapper, opensrc path dotnet/aspnetcore returns the default branch (main) which drifts daily. With this wrapper, you grep the exact commit the package on NuGet was built from.
Execution
"${CLAUDE_PLUGIN_ROOT}/bin/nuget-opensrc" path $ARGUMENTS
Examples
# Latest published version
/nuget-opensrc Microsoft.Extensions.Logging
# Specific version (commit-pinned to what that version shipped)
/nuget-opensrc [email protected]
# Inspect metadata without fetching
"${CLAUDE_PLUGIN_ROOT}/bin/nuget-opensrc" info Newtonsoft.Json
Typical follow-up
After the command prints a path, grep into it:
rg "JwtBearerEvents" "$("${CLAUDE_PLUGIN_ROOT}/bin/nuget-opensrc" path Microsoft.AspNetCore.Authentication.JwtBearer)"
When this fails
| Error | Meaning | Action |
|---|---|---|
no <repository> metadata |
Publisher omitted the <repository> tag in nuspec |
Source not accessible via this path — try opensrc path <owner/repo> directly if you know the repo |
repository.url is not github.com |
Package is on GitLab / Azure DevOps / etc. | Not supported (opensrc is GitHub-only) |
version not found |
Version doesn't exist in either NuGet feed (semver1 + gz-semver2 both checked) | Check spelling, drop @version for latest |
SemVer2-only versions (dotted prerelease like 9.0.0-preview.9.24556.5, or +-build-metadata versions) are resolved transparently — the wrapper falls through from registration5-semver1 to registration5-gz-semver2 when needed.
The wrapper never falls back to projectUrl — that field lies for Microsoft packages (points at https://dot.net/). Failures are surfaced explicitly so you don't silently get wrong source.
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.
- 1mo ago First seen · 51 lines · 16 tokens per session scan A b2a2f67cc50e
nuget-opensrc is a command published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 512 once invoked, about $0.0001 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-10-01.
nuget-opensrc compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nuget-opensrcANcpLua/ancplua-claude-plugins | Command | 6 | 2d ago | MIT | A | 16 | Claude Code |
| scriptsAmaniDawn/DGame | Command | 178 | 2d ago | MIT | A | 0 | Claude Code |
| abp-background-workersmss123/ABP-ai-skills | Command | 6 | 11d ago | GPL-3.0 | A | 0 | Claude Code |
| testpeterblazejewicz/claude-plugins | Command | 8 | 5mo ago | MIT | A | 30 | Claude Code |
| azure-graph-dotnet:deploy-azureTheLobbi/Claude-m | Command | 19 | 1mo ago | none | A | 57 | Claude Code |
| csharp-exercise-clearaleksei-perchukov/coding-exercise-generator-ide-plugin | Command | 5 | 6mo ago | none | A | 15 | Claude Code |
| checklistgithub/spec-kit | Command | 149k | today | MIT | A | 13 | Claude Code |