zig

zig is a skill for Claude Code from vinnie357/claude-skills. It costs 33 tokens per session (1,268 once invoked), scanned A, original, MIT.

A guide to the Zig programming language and its development workflow. It covers writing Zig code, starting projects, changing between Zig versions, and finding more focused Zig guides.

In plain words
What is it for?
Use it when writing Zig, setting up a project, migrating between Zig versions, or choosing a focused Zig topic guide.
Why use it?
It helps developers get oriented in Zig and account for changes in this pre-1.0 language.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the zig plugin — 3 skills shipped together

Good fit Use it when writing Zig, setting up a project, migrating between Zig versions, or choosing a focused Zig topic guide.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinnie357/claude-skills/zig
Install

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.

Any agent
npx skills add vinnie357/claude-skills --skill zig
Clone the repo
git clone --depth 1 https://github.com/vinnie357/claude-skills

Made for: Claude Code.

Or install zig, the plugin that ships this one along with the rest of its 3 skills.

Wrote 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.

agentmods badge for zig

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinnie357/claude-skills/zig/github.svg)](https://agentmods.dev/skills/vinnie357/claude-skills/zig)
Your own site
<a href="https://agentmods.dev/skills/vinnie357/claude-skills/zig"><img src="https://agentmods.dev/badge/skills/vinnie357/claude-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.

agentmods 80×15 button for zig

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinnie357/claude-skills/zig"><img src="https://agentmods.dev/badge/skills/vinnie357/claude-skills/zig.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01268
Opus 5.5 $0.00013 $0.00507
Sonnet 5.5 $0.00007 $0.00254
Haiku 4.5 $0.00003 $0.00127

Measured 1mo ago against content hash 3e636feac3d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

zig 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 1mo 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.

plugins/languages/zig/skills/zig/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Zig Programming Language

Entry point for Zig development. Provides an overview, version awareness, and routes to focused skills.

Anti-fabrication

This skill follows core:anti-fabrication. Zig is pre-1.0 with every minor release breaking std and build APIs, so version-migration claims are the highest-risk content in this plugin. Verified against zig 0.16.0 (locally installed, claude-skills-204) by compiling the documented snippets: references/migration-0.16.md's claim that std.c.arc4random_buf is BSD/Darwin-only was refuted by its own citation (lib/std/c.zig covers Linux/Android too) and corrected to a compile-probed target table, and references/version-history.md's listing of fmt.bufPrintZ under "Renamed" was corrected — it is still present, deprecated in favor of bufPrintSentinel. Re-verify against a locally installed zig version before asserting a std API claim this skill doesn't cover — see plugins/languages/zig/skills/sources.md for the full per-claim record.

Available Skills

This plugin provides focused skills for specific Zig topics:

  • zig:language - Core language: comptime, error handling, data types, slices, defer
  • zig:build - Build system: build.zig, cross-compilation, dependencies, CI
  • zig:allocators - Memory management: allocator types, patterns, leak detection
  • zig:testing - Built-in test framework, test allocator, build integration
  • zig:c-interop - C interoperability: @cImport, type mappings, translate-c, linking
  • zig:troubleshooting - Common errors, debugging, runtime panics, memory issues

Version Awareness

Zig is pre-1.0: every minor release carries breaking changes. Run zig version first and match guidance to the installed toolchain. This plugin documents 0.16.0 (current stable, released 2026-04-13); 0.15.x and 0.14.x notes are retained for migration. Check https://ziglang.org/download/index.json for the release list — GitHub tags lag behind (they stop at 0.15.2).

When borrowing an upstream example, compare it with that project's source and compiler manifest at a pinned commit. Report any disagreement with general or official documentation and follow the consuming project's existing pin; do not silently change its toolchain. For example, Ghostty commit 44f2a44 records Zig 0.16.0 even when Ghostty's official build documentation still describes 0.15.2.

Read the full file on GitHub · 86 lines

Files

What ships with it

5 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.

Changes

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.

  1. 1mo ago Changed · +8 lines 3e636feac3d6
  2. 2mo ago First seen · 78 lines · 33 tokens per session scan A 11251d67e6ac

Subscribe to this mod's changes

zig is a skill published in the GitHub repository vinnie357/claude-skills (27 stars, last pushed 14d ago), licensed MIT. It adds 33 tokens to every session and 1,268 once invoked, about $0.0001 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-09-03.

Related

zig compared with skills from other repositories

zig next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
zigvinnie357/claude-skillsSkill2714d agoMITA33Claude Code
omh-rustrlaope/oh-my-hermesSkill5.3ktodayMITA74Claude Code, Codex
erlang-otp-behaviorsbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A52Claude Code, Codex
axiom-concurrencyCharlesWiltgen/AxiomSkill1.3kyesterdayMITA49Claude Code
tddcodewithmukesh/dotnet-claude-kitSkill8115d agoMITA81Claude Code
haskell-prormyndharis/antigravity-skillsSkill2.0k2d agoMITA37Claude Code, Codex
precisemicroprediction/preciseSkill3388d agoMITA76Claude Code, Codex