Agent skill

Discover Zig

by rand in rand/cc-polymath

Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming.

MITAuto-check passed

Install Discover Zig

skills CLI
$ npx skills add rand/cc-polymath --skill discover-zig -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rand/cc-polymath discover-zig --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rand/cc-polymath.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/discover-zig .claude/skills/discover-zig && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
discover-zig
GitHub stars
181
Token cost
~476 tokens
SKILL.md length
179 words
Files
1
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming.

  • Works in 6 steps: zig-build-system → zig-c-interop → zig-memory-management → …
  • SKILL.md covers When This Skill Activates, Available Skills, Progressive Loading and Usage Instructions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Discover Zig is an agent skill from rand/cc-polymath. Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming. Activates for Zig development tasks.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.

The repository describes itself as: Claude Code skills and workflows, optimized for context-efficiency and skill quality. Skills ranging from cloud infrastructure to design to advanced maths. The licence is MIT.

Example prompts

  • “/discover-zig”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. zig-build-system
  2. zig-c-interop
  3. zig-memory-management
  4. zig-package-management
  5. zig-project-setup
  6. zig-testing

What it can do on your machine

Read from SKILL.md and the folder at commit baa2df1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.

    From compatibility in the SKILL.md frontmatter.

Context cost

Discover Zig loads about 476 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 179 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~476

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rand/cc-polymath at commit baa2df1, republished under its MIT licence (© rand). 179 words, ~476 tokens.

Download SKILL.mdSave it as .claude/skills/discover-zig/SKILL.md (or your agent's skills folder).
name
discover-zig
description
Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming. Activates for Zig development tasks.
compatibility
Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.
license
MIT
metadata.author
rand
metadata.version
4.0

Zig Skills Discovery

Provides automatic access to comprehensive zig skills.

When This Skill Activates

This skill auto-activates when you're working with:

  • Zig
  • systems programming
  • comptime
  • allocators
  • C interop
  • build.zig
  • zon package manager

Available Skills

Quick Reference

The Zig category contains 6 skills:

  1. zig-build-system
  2. zig-c-interop
  3. zig-memory-management
  4. zig-package-management
  5. zig-project-setup
  6. zig-testing
Load Full Category Details

For complete descriptions and workflows:

Read ../zig/INDEX.md

This loads the full Zig category index with:

  • Detailed skill descriptions
  • Usage triggers for each skill
  • Common workflow combinations
  • Cross-references to related skills
Load Specific Skills

Load individual skills as needed:

Read ../zig/zig-build-system.md Read ../zig/zig-c-interop.md Read ../zig/zig-memory-management.md

Progressive Loading

This gateway skill enables progressive loading:

  • Level 1: Gateway loads automatically (you're here now)
  • Level 2: Load category INDEX.md for full overview
  • Level 3: Load specific skills as needed

Usage Instructions

  1. Auto-activation: This skill loads automatically when Claude Code detects zig work
  2. Browse skills: Run Read ../zig/INDEX.md for full category overview
  3. Load specific skills: Use bash commands above to load individual skills

Next Steps: Run Read ../zig/INDEX.md to see full category details.

© rand, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/discover-zig of rand/cc-polymath.

Open the folder on GitHubat commit baa2df1

Compare with similar skills

Discover Zig next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Discover Zig compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Discover Zig this skillrand/cc-polymath181—~476Automated safety check: PassMIT
Agent Resource Allocatorruvnet/ruflo74k2 repos~4.9kAutomated safety check: PassMIT
Zig Comptimemohitmishra786/low-level-dev-skills253—~2.1kAutomated safety check: PassMIT
Discover Pluginsruvnet/ruflo74k—~2kAutomated safety check: NotesMIT
Aas Discoversickn33/agentic-awesome-skills47k1 repos~523Automated safety check: PassMIT
Strict Programming Practicescode-yeongyu/oh-my-openagent70k—~9.5kAutomated safety check: PassCustom licence

Similar skills

  • Agent skill for resource-allocator - invoke with $agent-resource-allocator

    74k GitHub starsUsed in 2 repos~4.9k tokens
    Auto-check passed
  • Zig Comptime

    mohitmishra786/low-level-dev-skills

    Zig comptime skill for compile-time evaluation and metaprogramming.

    253 GitHub stars~2.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Discover Plugins

    ruvnet/ruflo

    Discover and recommend ruflo plugins based on your workflow, installed MCP tools, and current task

    74k GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Aas Discover

    sickn33/agentic-awesome-skills

    Discover AAS skills for an explicit task and compare their complete instructions without installing them.

    47k GitHub starsUsed in 1 repo~523 tokens
    Auto-check passed
  • Strict Programming Practices

    code-yeongyu/oh-my-openagent

    Applies strict, type-first coding rules for Python, Rust, TypeScript and Go, loading the matching language reference before the agent writes or edits any code.

    70k GitHub stars~9.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Referral Program

    alirezarezvani/claude-skills

    When the user wants to design, launch, or optimize a referral or affiliate program.

    28k GitHub stars~3.4k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed

More from rand/cc-polymath

All 26 skills in this repo
  • Anti Slop

    rand/cc-polymath

    Comprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design.

    181 GitHub stars~2.9k tokensUpdated 7 mo ago
    Auto-check passed
  • Typed Holes Refactor

    rand/cc-polymath

    Refactor codebases using Design by Typed Holes methodology - iterative, test-driven refactoring with formal hole resolution, constraint propagation, and continuous validation.

    181 GitHub stars~5.6k tokensUpdated 7 mo ago
    Auto-check passed
  • Discover Agentic

    rand/cc-polymath

    Automatically discover agentic workflow skills when building AI agents, implementing tool use patterns, managing context windows, decomposing complex tasks, or designing multi-step autonomous…

    181 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Elegant Design

    rand/cc-polymath

    Create world-class, accessible, responsive interfaces with sophisticated interactive elements including chat, terminals, code display, and streaming content.

    181 GitHub stars~2.7k tokensUpdated 7 mo ago
    Auto-check passed
  • Discover API

    rand/cc-polymath

    Automatically discover API design skills when working with REST APIs, GraphQL schemas, API authentication, OAuth, JWT, rate limiting, API versioning, error handling, or endpoint design.

    181 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Discover Database

    rand/cc-polymath

    Automatically discover database skills when working with SQL, PostgreSQL, MongoDB, Redis, database schema design, query optimization, migrations, connection pooling, ORMs, or database selection.

    181 GitHub stars~2k tokensUpdated 7 mo ago
    Auto-check passed

Questions about Discover Zig

What does Discover Zig do?

Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming. Discover Zig is an agent skill from rand/cc-polymath.zig, safety, C interop, memory management, or systems programming.

How do I install Discover Zig in Claude Code?

Run `npx skills add rand/cc-polymath --skill discover-zig -a claude-code`. Or copy the skill folder (skills/discover-zig in rand/cc-polymath) into .claude/skills/discover-zig in your project. Claude Code loads it when a task matches its description.

How do I install Discover Zig in Codex?

Run `npx skills add rand/cc-polymath --skill discover-zig -a codex`. Or copy the skill folder (skills/discover-zig in rand/cc-polymath) into .agents/skills/discover-zig in your project. Codex loads it when a task matches its description.

Can I use Discover Zig in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rand/cc-polymath --skill discover-zig -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/discover-zig, .gemini/skills/discover-zig, .github/skills/discover-zig and .opencode/skills/discover-zig in your project.

What does Discover Zig need to run?

SKILL.md names no scripts, command-line tools or credentials: Discover Zig is instructions for the agent only. Compatibility (from SKILL.md): Designed for Claude Code. Compatible with any agent supporting the Agent Skills format..

Does Discover Zig access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Discover Zig safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Discover Zig use?

Discover Zig is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Discover Zig use?

About 476 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Discover Zig?

Skills that share tags, products or a category with Discover Zig: Agent Resource Allocator (ruvnet/ruflo, 74k stars), Zig Comptime (mohitmishra786/low-level-dev-skills, 253 stars), Discover Plugins (ruvnet/ruflo, 74k stars) and Aas Discover (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Discover Zig?

rand (a GitHub user) maintains it in rand/cc-polymath, which has 181 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on February 28, 2026.

Source: rand/cc-polymath on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.