Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/whit3rabbit/claude-zig-skillnpx agentmods add skills/whit3rabbit/claude-zig-skill/zig-programmingWrote 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/whit3rabbit/claude-zig-skill/zig-programming)<a href="https://agentmods.dev/skills/whit3rabbit/claude-zig-skill/zig-programming"><img src="https://agentmods.dev/badge/skills/whit3rabbit/claude-zig-skill/zig-programming/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/whit3rabbit/claude-zig-skill/zig-programming"><img src="https://agentmods.dev/badge/skills/whit3rabbit/claude-zig-skill/zig-programming.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.00062 | $0.03266 |
| Opus 5.5 | $0.00025 | $0.01306 |
| Sonnet 5.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 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 — 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.
- 3mo 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 (22 stars, last pushed 11mo ago), licensed MIT. It adds 62 tokens to every session and 3,266 once invoked, about $0.0002 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-30.
zig-programming compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| zig-programmingwhit3rabbit/claude-zig-skill | Skill | 22 | 11mo ago | MIT | A | 62 | Claude Code |
| erlang-otp-behaviorsbenchflow-ai/skillsbench | Skill | 1.9k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| axiom-concurrencyCharlesWiltgen/Axiom | Skill | 1.3k | yesterday | MIT | A | 49 | Claude Code |
| haskell-prormyndharis/antigravity-skills | Skill | 2.2k | 2d ago | MIT | A | 37 | Claude Code, Codex |
| tddcodewithmukesh/dotnet-claude-kit | Skill | 853 | 29d ago | MIT | A | 81 | Claude Code |
| compiler-optimizations-deepmohitmishra786/low-level-dev-skills | Skill | 310 | 13d ago | MIT | A | 74 | Claude Code, Codex |
| go-ws-module-skilljiushiwon/wg-skills | Skill | 154 | 9d ago | Apache-2.0 | A | 131 | Claude Code, Codex |