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 agentmods add skills/whit3rabbit/claude-zig-skill/zig-programmingnpx skills add whit3rabbit/claude-zig-skill --skill zig-programminggit clone --depth 1 https://github.com/whit3rabbit/claude-zig-skillWhat 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 | $0.00062 | $0.03266 |
| Opus 5 | $0.00031 | $0.01633 |
| Sonnet 5 | $0.00012 | $0.00653 |
| Haiku 4.5 | $0.00006 | $0.00327 |
Grade A, and why
zig-programming 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 2d 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 — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Zig Programming Language Skill
This skill provides expertise in Zig, a general-purpose programming language focused on robustness, optimality, and maintainability. The skill includes version-specific documentation (0.2.0 through master), automatic version detection, code templates, and comprehensive reference materials organized for progressive disclosure.
Table of Contents
- Bundled Resources
- References - Progressive disclosure documentation
- Recipes - 223 tested recipes organized by topic
- Templates - Starting points for common tasks
- Examples - Practical code samples
- Scripts - Automation tools
- Workflows
- Version Awareness
- Best Practices
Bundled Resources
References - Progressive Loading Guide
Important: References are version-specific. Use scripts/get_references.py to get the correct reference path for the detected Zig version, or load from references/latest/ (symlink to current stable: 0.15.2).
Load documentation progressively based on task complexity. Use this decision tree:
New to Zig? Start with fundamentals in order:
references/latest/core-language.md→ Basic syntax, types, operatorsreferences/latest/control-flow.md→ If, while, for, switchreferences/latest/functions-errors.md→ Functions and error handlingreferences/latest/quick-reference.md→ Syntax quick lookup
Solving specific problems? Jump directly to:
- Error handling →
latest/functions-errors.md+latest/patterns-error-testing.md - Memory/allocators →
latest/memory-management.md+latest/patterns-memory-comptime.md - Data structures →
latest/arrays-slices.md,latest/structs-methods.md,latest/enums-unions.md,latest/pointers-references.md - Struct/array/enum patterns →
latest/patterns-data-structures.md - Stdlib lookup → grep
latest/stdlib-builtins.md(large file, 68KB) - C interop →
latest/c-interop.md+latest/patterns-integration.md - Build system →
latest/build-system.md+latest/patterns-integration.md
What ships with it
60 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.
- .claude-plugin/plugin.json 654 B
- assets/templates/basic-program.zig 446 B
- assets/templates/build.zig 1.2 KB
- assets/templates/c-interop-module.zig 8.9 KB
- assets/templates/cli-application.zig 4.8 KB
- assets/templates/cross-version/build-adaptive.zig 6.9 KB
- assets/templates/library-module.zig 6.3 KB
- assets/templates/test.zig 1.6 KB
- examples/build_example/build.zig 2.3 KB
- examples/build_example/README.md 3.6 KB
- examples/build_example/src/main.zig 4.5 KB
- examples/build_example/src/math_utils.zig 2.5 KB
- examples/build_example/src/string_utils.zig 4.2 KB
- examples/c_interop.zig 7.9 KB
- examples/comptime_example.zig 10 KB
- examples/error_handling.zig 8.6 KB
- examples/memory_management.zig 7.8 KB
- examples/string_manipulation.zig 4.8 KB
- README.md 9.4 KB
- recipes/build-system.md 427 KB
- recipes/c-interop.md 121 KB
- recipes/comptime-metaprogramming.md 687 KB
- recipes/concurrency.md 118 KB
- recipes/data-encoding.md 266 KB
- recipes/data-structures.md 444 KB
- recipes/files-io.md 528 KB
- recipes/functions.md 261 KB
- recipes/fundamentals.md 290 KB
- recipes/iterators.md 237 KB
- recipes/memory-allocators.md 178 KB
- recipes/networking.md 522 KB
- recipes/recipes-index.json 169 KB
- recipes/strings-text.md 359 KB
- recipes/structs-objects.md 550 KB
- recipes/testing-debugging.md 335 KB
- recipes/webassembly.md 94 KB
- references/latest/arrays-slices.md 14 KB
- references/latest/build-system.md 14 KB
- references/latest/c-interop.md 19 KB
- references/latest/comptime.md 27 KB
- references/latest/control-flow.md 33 KB
- references/latest/core-language.md 39 KB
- references/latest/data-structures.md 73 KB
- references/latest/enums-unions.md 16 KB
- references/latest/functions-errors.md 57 KB
- references/latest/memory-management.md 22 KB
- references/latest/patterns-data-structures.md 29 KB
- references/latest/patterns-error-testing.md 31 KB
- references/latest/patterns-integration.md 20 KB
- references/latest/patterns-memory-comptime.md 22 KB
- references/latest/pointers-references.md 17 KB
- references/latest/quick-reference.md 8.8 KB
- references/latest/stdlib-builtins.md 66 KB
- references/latest/structs-methods.md 22 KB
- references/latest/testing-quality.md 55 KB
- references/latest/version-differences.md 1.8 KB
- references/v0.10.1/build-system.md 51 B
- references/v0.10.1/c-interop.md 76 B
- references/v0.10.1/comptime.md 84 B
- references/v0.10.1/control-flow.md 28 KB
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.
- 2d ago First seen · 304 lines · 62 tokens per session scan A 7bc0530b6a08
zig-programming is a skill published in the GitHub repository whit3rabbit/claude-zig-skill (23 stars, last pushed 8mo ago), licensed MIT. It adds 62 tokens to every session and 3,266 once invoked, about $0.0003 per session on Opus 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-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…