dotnext-library

dotnext-library is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 14 tokens per session (1,438 once invoked), scanned A, original, MIT.

A usage guide for DotNext, a .NET library suite for collections and concurrency-related code. It records the versions and existing uses in this repository.

In plain words
What is it for?
Use it when adding DotNext collections or planning new concurrency work in this .NET codebase.
Why use it?
It helps developers use the library consistently with the code already in the repository instead of guessing at supported APIs or patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding DotNext collections or planning new concurrency work in this .NET codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/dotnext-library
Install

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.

Any agent
npx skills add Arasz/ai-raccoon --skill dotnext-library
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for dotnext-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnext-library/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/dotnext-library)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/dotnext-library"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnext-library/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.

agentmods 80×15 button for dotnext-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/dotnext-library"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/dotnext-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.01438
Opus 5.5 $0.00006 $0.00575
Sonnet 5.5 $0.00003 $0.00288
Haiku 4.5 $0.00001 $0.00144

Measured yesterday against content hash 8be6487a5c28, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dotnext-library 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.

.ai-badger/skills/learned/software-development/dotnext-library/SKILL.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DotNext (.NEXT) — usage guide for this repo

DotNext (https://dotnet.github.io/dotNext/, GitHub dotnet/dotNext) is a high-performance .NET library suite aimed at near-zero-allocation, high-load scenarios. MIT-licensed, 100% managed. Repo pins: DotNext 6.6.0 + DotNext.Threading 6.6.0 (Directory.Packages.props), both .NET 10-compatible (6.x = active support line).

What the repo already uses

  • DotNext.Collections.Generic in McpServerSetup.cs and several smoke tests:
    • IReadOnlyList<T>.Singleton(item) / IReadOnlySet<T>.Singleton(item) — allocation-free single-element read-only list/set. This is the main usage so far.
  • The package refs were added 2026-08-06 (commit 6af28cd) — the library is available for new concurrency work but NOT yet used for locking.

Collections (DotNext.Collections.Generic)

  • list.Convert(mapper) — lazy read-only mapped view (list/collection/dictionary variants).
  • IReadOnlyList<T>.Singleton(x), IReadOnlySet<T>.Singleton(x) — single-element, no array alloc.
  • IReadOnlyList<T>.Repeat(item, n) — n-element view over one stored item.
  • collection.ToArray() — for ICollection/IReadOnlyCollection.
  • array.ToString(",") — collection-to-string with delimiter.
  • list.Slice(1..) — ListSegment (range slicing for List, like ArraySegment).
  • Set.Range(0L.Disclosed, 3L.Disclosed) — ordered numeric range sets.
  • IEnumerable<T>.Copy() — pool-rented MemoryOwner copy.
  • items.ForEach(handler) — functional iteration.

Async locking (DotNext.Threading)

Async locks are NON-REENTRANT, don't block the caller thread, and are allocation-free when uncontended. Never mix blocking locks (Monitor/ReaderWriterLockSlim/Lock) with async locks on the same object — they're unaware of each other. SemaphoreSlim is the one exception (has both blocking and async acquisition on the same object).

AsyncLock — unified facade

using DotNext.Threading;

var semaphore = new SemaphoreSlim(1, 1);
var syncLock = Lock.Semaphore(semaphore);        // blocking facade
var asyncLock = AsyncLock.Semaphore(semaphore);  // async facade — SAME object

using (await asyncLock.AcquireAsync(CancellationToken.None)) { }

Read the full file on GitHub · 135 lines

Changes

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.

  1. yesterday First seen · 135 lines · 14 tokens per session scan A 8be6487a5c28

Subscribe to this mod's changes

dotnext-library is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 1,438 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-12-05.

Related

dotnext-library compared with skills from other repositories

dotnext-library next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dotnext-libraryArasz/ai-raccoonSkill7todayMITA14Claude Code, Codex
http-client-migrationGen-Verse/PAST-BenchSkill404mo agoApache-2.0A14Claude Code, Codex
dotnet-pinvokerootcastleco/rei-skillsSkill115d agononeA119Claude Code, Codex
azure-eventgrid-dotnetrootcastleco/rei-skillsSkill115d agononeA80Claude Code, Codex
directory-build-organizationrootcastleco/rei-skillsSkill115d agononeA142Claude Code, Codex
avalonia-viewmodels-zafirorootcastleco/rei-skillsSkill115d agononeA26Claude Code, Codex
Cursor rules for Aspnet AbpAmariahAK/atlarix-skillsSkill02mo agoApache-2.0A7Claude Code, Codex