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 pledgeandgrow/pledge-skills --skill ziggit clone --depth 1 https://github.com/pledgeandgrow/pledge-skillsWrote 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/pledgeandgrow/pledge-skills/zig)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/zig"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/zig/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/pledgeandgrow/pledge-skills/zig"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/zig.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.00121 | $0.01769 |
| Opus 5.5 | $0.00048 | $0.00708 |
| Sonnet 5.5 | $0.00024 | $0.00354 |
| Haiku 4.5 | $0.00012 | $0.00177 |
Grade A, and why
zig-docs scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -L https://ziglang.org/download/0.16.0/zig-linux-x86_64-0.16.0.tar.xz | tar -xJ How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Zig Expert (v0.16.0)
Official Documentation: https://ziglang.org/documentation/0.16.0/
Quick Reference
| Topic | File |
|---|---|
| Primitive types, integers, floats, bool, values | values-types.md |
| Arrays, slices, sentinel-terminated, vectors | arrays-slices.md |
| Pointers, alignment, volatile, allowzero | pointers.md |
| Structs, default fields, extern, packed, tuples | structs.md |
| Enums, unions, tagged unions, non-exhaustive | enums-unions.md |
| if, switch, while, for, blocks, defer, unreachable | control-flow.md |
| Functions, inline fn, calling conventions, fn pointers | functions.md |
| Error sets, error unions, try, catch, error return traces | errors.md |
| Optionals, null, orelse, optional pointers | optionals.md |
| Type coercion, explicit casts, peer type resolution | casting.md |
| comptime, compile-time concepts, generic data structures | comptime.md |
| All builtin @functions reference | builtins.md |
| Memory management, allocators, ownership, lifetime | memory-allocators.md |
| Build modes, build.zig, compilation model, compile variables | build-system.md |
| C interop, @cImport, C types, exporting C libraries | c-interop.md |
| Standard library modules, data structures, I/O | std-library.md |
| Zig test, testing namespace, test output, leak detection | testing.md |
| Targets, cross-compilation, WebAssembly | targets-wasm.md |
| Style guide, naming conventions, keyword reference, grammar | style-guide.md |
| Inline assembly, global assembly, constraints, clobbers | assembly.md |
| opaque, result location semantics, zero bit types, atomics, async, containers | advanced-concepts.md |
Core Philosophy
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. Key principles:
- No hidden control flow — no hidden allocations, no hidden memory allocations
- No hidden memory allocations — no garbage collector, no runtime
- No preprocessor, no macros — comptime replaces macros
- No operator overloading — what you see is what you get
- Manual memory management — explicit allocators, no default allocator
- Compile-time metaprogramming — comptime code runs at compile time
- Safety by default — bounds checking, overflow detection in Debug mode
- C interop without FFI — direct C header import, no bindings needed
What ships with it
21 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.
- advanced-concepts.md 6.5 KB
- arrays-slices.md 3.7 KB
- assembly.md 3.7 KB
- build-system.md 5.1 KB
- builtins.md 12 KB
- c-interop.md 3.9 KB
- casting.md 4.2 KB
- comptime.md 4.4 KB
- control-flow.md 5.9 KB
- enums-unions.md 4.0 KB
- errors.md 3.8 KB
- functions.md 3.6 KB
- memory-allocators.md 4.8 KB
- optionals.md 2.4 KB
- pointers.md 3.9 KB
- std-library.md 8.6 KB
- structs.md 3.8 KB
- style-guide.md 6.2 KB
- targets-wasm.md 3.6 KB
- testing.md 4.1 KB
- values-types.md 9.5 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.
- 2mo ago First seen · 192 lines · 121 tokens per session scan A d3a12d09d771
zig-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (11 stars, last pushed 4mo ago), licensed MIT. It adds 121 tokens to every session and 1,769 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
zig-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| zig-docspledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 121 | Claude Code, Codex |
| zig-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | B | 76 | Claude Code |
| dev-browserMemTensor/MemOS | Skill | 13k | 3d ago | Apache-2.0 | A | 84 | Claude Code, Codex |
| zig-versionstristanisham/zvm | Skill | 1.1k | yesterday | MIT | C | 32 | Claude Code |
| rust-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 60 | Claude Code |
| bluebubblesSafeAI-Lab-X/ClawKeeper | Skill | 1.0k | yesterday | none | A | 38 | Claude Code, Codex |
| nim-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 73 | Claude Code |