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 tianzhiying/Unity-perf --skill csharp-zero-gcgit clone --depth 1 https://github.com/tianzhiying/Unity-perfWrote 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/tianzhiying/unity-perf/csharp-zero-gc)<a href="https://agentmods.dev/skills/tianzhiying/unity-perf/csharp-zero-gc"><img src="https://agentmods.dev/badge/skills/tianzhiying/unity-perf/csharp-zero-gc/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/tianzhiying/unity-perf/csharp-zero-gc"><img src="https://agentmods.dev/badge/skills/tianzhiying/unity-perf/csharp-zero-gc.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.00074 | $0.05587 |
| Opus 5.5 | $0.00030 | $0.02235 |
| Sonnet 5.5 | $0.00015 | $0.01117 |
| Haiku 4.5 | $0.00007 | $0.00559 |
Grade A, and why
csharp-zero-gc 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 3mo 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C# zero-GC engineering plans
Zero GC is not a pile of tricks; it is an engineering commitment: which paths are promised allocation-free, how that is accepted, and how it is still zero six months from now. This skill pins down three things — the target, the acceptance definition, and the guardrail requirement. How you get there is yours to design: the allocation-free techniques you know, the newer language features (Span, ref struct, params collections, interceptors, source generators, and whatever is newer), and the library ecosystem are all more complete and more current than any list here. Zero GC without guardrails gets eaten away by everyday commits, so preventing regressions matters as much as getting to zero.
1. Target tiers
Declare the commitment before you start. The following are non-negotiable acceptance criteria.
| Tier | Commitment | Applies to | Acceptance definition |
|---|---|---|---|
| L1 Peak controlled | Allocation is concentrated in the loading phase; runtime peak stays within the device's memory budget | The floor for every project | PerfDog PSS peak passes; steps in the Mono Reserved curve appear only on loading frames |
| L2 Zero B/frame on hot paths | Combat, main loop, UI refresh, and network send/receive allocate 0 GC bytes within a frame | The target for the vast majority of games; standard | Profiler GC Alloc column stays at 0 B; CI allocation assertions all green |
| L3 Zero B throughout | No code path allocates after the loading screen; GC can be turned off | Lockstep, competitive, VR — genres with zero tolerance for spikes | Over an N-minute soak, the delta in GC.CollectionCount is 0; memory stays flat during the GC-off window |
Declare the tier before starting work: L2 and L3 differ by an order of magnitude in cost (L3 requires third-party libraries and SDKs to be allocation-free too, which constrains your options). For most projects the right answer is L2 plus localized L3 (for example, the lockstep simulation frame).
What ships with it
3 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.
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.
- 3mo ago First seen · 112 lines · 74 tokens per session scan A 4a080f080a06
csharp-zero-gc is a skill published in the GitHub repository tianzhiying/Unity-perf (3 stars, last pushed 3mo ago), licensed MIT. It adds 74 tokens to every session and 5,587 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-08-31.
csharp-zero-gc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| csharp-zero-gctianzhiying/Unity-perf | Skill | 3 | 3mo ago | MIT | A | 74 | Claude Code |
| bootstrap-solutiongaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 38 | Claude Code |
| build-csharp-projectgaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 37 | Claude Code |
| unity-scriptingIdoCohen560/claude-unity-game-studio | Skill | 30 | 4mo ago | MIT | A | 78 | Claude Code |
| better-authsecondsky/claude-skills | Skill | 257 | yesterday | MIT | A | 53 | Claude Code |
| hono-routingsecondsky/claude-skills | Skill | 257 | yesterday | MIT | A | 41 | Claude Code |
| bun-bundlersecondsky/claude-skills | Skill | 257 | yesterday | MIT | A | 90 | Claude Code |