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.svg" alt="Measured on agentmods" 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 | $0.00060 | $0.00885 |
| Sonnet 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 4d 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.
- 4d 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 (10 stars, last pushed 1mo ago), licensed MIT. It adds 121 tokens to every session and 1,769 once invoked, about $0.0006 per session on Opus 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.
Other skills, from other repositories
zig-expert
Expert knowledge in Zig systems programming, comptime metaprogramming, manual memory management, and C interoperability. Use when the user mentions systems programming, comptime, memory management, c interop, low level, or performance, or when the task involves Comptime Metaprogramming, C Interoperability…
dev-browser
Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website"…
dcg
Destructive Command Guard - High-performance Rust hook for Claude Code that blocks dangerous commands before execution. SIMD-accelerated, modular pack system, whitelist-first architecture. Essential safety layer for agent workflows.
rust-expert
Expert-level Rust development with ownership, lifetimes, async, error handling, and production-grade patterns. Use when the user mentions systems programming, memory safety, concurrency, or Cargo, or when the task involves Ownership and Borrowing, Type System, Async Programming, or Web Development.
zig-versions
Use when installing Zig, switching Zig versions, setting up ZLS, or resolving a Zig version mismatch - covers zvm (Zig Version Manager) for installing, pinning, and running specific Zig toolchains in a repository.
nim-expert
Expert knowledge in Nim language, metaprogramming, async/await, Python/C interoperability, and macro systems. Use when the user mentions metaprogramming, async, macros, Python interop, c interop, or compiled, or when the task involves Language Features, Async/Await, Interoperability, or Installation and Setup.