Agent skill

Syzlang Ioctl Basics

by benchflow-ai in benchflow-ai/skillsbench

Syzkaller syzlang syntax basics for describing ioctl syscalls

Apache-2.0Auto-check passed

Install Syzlang Ioctl Basics

skills CLI
$ npx skills add benchflow-ai/skillsbench --skill syzlang-ioctl-basics -a claude-code

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

GitHub CLI
$ gh skill install benchflow-ai/skillsbench syzlang-ioctl-basics --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/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks/syzkaller-ppdev-syzlang/environment/skills/syzlang-ioctl-basics .claude/skills/syzlang-ioctl-basics && 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
syzlang-ioctl-basics
GitHub stars
1.8k
Token cost
~532 tokens
SKILL.md length
149 words
Files
1
Skills in repo
189
Repo updated
First seen
Licence
Apache-2.0

At a glance

Syzkaller syzlang syntax basics for describing ioctl syscalls

  • Works in 4 steps: Check existing files for patterns (e.g.,… → Run make descriptions after edits to… → Some constants only exist on certain… → …
  • SKILL.md covers Syscall Syntax, Common Type Patterns, Ioctl Patterns and Struct Definitions, plus 4 more sections
  • Calls make

What it does

Syzlang Ioctl Basics is an agent skill from benchflow-ai/skillsbench. Syzkaller syzlang syntax basics for describing ioctl syscalls

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is Apache-2.0.

Example prompts

  • “/syzlang-ioctl-basics”

Workflow steps

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

  1. Check existing files for patterns (e.g., sys/linux/socket.txt)
  2. Run make descriptions after edits to validate syntax
  3. Some constants only exist on certain architectures
  4. Use ptr[in, ...] for input, ptr[out, ...] for output

What it can do on your machine

Read from SKILL.md and the folder at commit 9a1f4dd. 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

    Shell commands in SKILL.md call:

    • make

    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.

Context cost

Syzlang Ioctl Basics loads about 532 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 149 words of instructions outside code blocks.

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

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 benchflow-ai/skillsbench at commit 9a1f4dd, republished under its Apache-2.0 licence (© benchflow-ai). 149 words, ~532 tokens.

Download SKILL.mdSave it as .claude/skills/syzlang-ioctl-basics/SKILL.md (or your agent's skills folder).
name
syzlang-ioctl-basics
description
Syzkaller syzlang syntax basics for describing ioctl syscalls

Syzlang Ioctl Basics

Syzkaller's description language (syzlang) describes syscalls for fuzzing. Description files are located at /opt/syzkaller/sys/linux/*.txt.

Syscall Syntax

Basic form:

syscall_name(arg1 type1, arg2 type2, ...) return_type

Specialized syscalls use $ suffix:

syscall$VARIANT(args...) return_type

Common Type Patterns

PatternMeaning
const[VALUE]Fixed constant value
flags[flag_set, type]Bitfield from flag set
ptr[direction, type]Pointer (in, out, inout)
intptr[min:max]Integer pointer with range
int8, int16, int32Fixed-size integers
int16be, int32beBig-endian integers
array[type]Variable-length array
array[type, count]Fixed-length array

Ioctl Patterns

For ioctls with output:

ioctl$CMD(fd fd_type, cmd const[CMD], arg ptr[out, int32])

For ioctls with input:

ioctl$CMD(fd fd_type, cmd const[CMD], arg ptr[in, struct_type])

For simple value ioctls:

ioctl$CMD(fd fd_type, cmd const[CMD], arg intptr[0:1])

For ioctls using ifreq structure (from socket.txt):

ioctl$CMD(fd fd_type, cmd const[CMD], arg ptr[in, ifreq_t[flags[flag_set, int16]]])

Struct Definitions

Structs must have typed fields:

struct_name {
    field1    type1
    field2    type2
}

Flag Sets

Define reusable flag sets:

flag_set_name = FLAG1, FLAG2, FLAG3

Then use with flags[flag_set_name, int16].

Resources

File descriptor resources:

resource resource_name[fd]

Read/Write Syscalls

For specialized read/write:

read$suffix(fd fd_type, buf ptr[out, buffer_type], count len[buf])
write$suffix(fd fd_type, buf ptr[in, buffer_type], count len[buf])

Tips

  1. Check existing files for patterns (e.g., sys/linux/socket.txt)
  2. Run make descriptions after edits to validate syntax
  3. Some constants only exist on certain architectures
  4. Use ptr[in, ...] for input, ptr[out, ...] for output

© benchflow-ai, Apache-2.0. 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 tasks/syzkaller-ppdev-syzlang/environment/skills/syzlang-ioctl-basics of benchflow-ai/skillsbench.

Open the folder on GitHubat commit 9a1f4dd

Compare with similar skills

Syzlang Ioctl Basics 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.

Syzlang Ioctl Basics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Syzlang Ioctl Basics this skillbenchflow-ai/skillsbench1.8k—~532Automated safety check: PassApache-2.0
Basicbergside/awesome-design-skills3.1k1 repos~969Automated safety check: PassMIT
N8n Expression Syntaxdavila7/claude-code-templates33k4 repos~2.4kAutomated safety check: PassMIT
Makepad Basicssickn33/agentic-awesome-skills47k2 repos~1.2kAutomated safety check: PassMIT
Bigquery Basicsdavila7/claude-code-templates33k—~1.1kAutomated safety check: PassMIT
Gke Basicsdavila7/claude-code-templates33k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Basic

    bergside/awesome-design-skills

    Print-inspired visual language for books, magazines, and reports with editorial grids and expressive typography.

    3.1k GitHub starsUsed in 1 repo~969 tokens
    Frontend & DesignAuto-check passed
  • N8n Expression Syntax

    davila7/claude-code-templates

    Validate n8n expression syntax and fix common errors. An agent skill from davila7/claude-code-templates.

    33k GitHub starsUsed in 4 repos~2.4k tokens
    Productivity & AutomationAuto-check passed
  • Makepad Basics

    sickn33/agentic-awesome-skills

    CRITICAL: Use for Makepad getting started and app structure.

    47k GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Bigquery Basics

    davila7/claude-code-templates

    Manages datasets, tables, and jobs in BigQuery, and integrates with BigQuery ML and Gemini for advanced data analytics and AI-driven insights.

    33k GitHub stars~1.1k tokensUpdated today
    DatabasesAuto-check passed
  • Gke Basics

    davila7/claude-code-templates

    Plans, creates, and configures production-ready Google Kubernetes Engine (GKE) clusters using the golden path Autopilot configuration.

    33k GitHub stars~1.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Alloydb Basics

    davila7/claude-code-templates

    Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB MCP tools for automated database operations including AI-powered search and vector capabilities.

    33k GitHub stars~611 tokensUpdated today
    DatabasesAuto-check passed

More from benchflow-ai/skillsbench

All 189 skills in this repo
  • Lean4 Memories

    benchflow-ai/skillsbench

    This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…

    1.8k GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Senior Data Engineer

    benchflow-ai/skillsbench

    World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.

    1.8k GitHub stars~5.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Ac Branch Pi Model

    benchflow-ai/skillsbench

    AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.

    1.8k GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Civ6lib

    benchflow-ai/skillsbench

    Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • D3 Visualization

    benchflow-ai/skillsbench

    Build deterministic, verifiable data visualizations with D3.js (v6).

    1.8k GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Dc Power Flow

    benchflow-ai/skillsbench

    DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~717 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Syzlang Ioctl Basics

What does Syzlang Ioctl Basics do?

Syzkaller syzlang syntax basics for describing ioctl syscalls. Syzlang Ioctl Basics is an agent skill from benchflow-ai/skillsbench.

How do I install Syzlang Ioctl Basics in Claude Code?

Run `npx skills add benchflow-ai/skillsbench --skill syzlang-ioctl-basics -a claude-code`. Or copy the skill folder (tasks/syzkaller-ppdev-syzlang/environment/skills/syzlang-ioctl-basics in benchflow-ai/skillsbench) into .claude/skills/syzlang-ioctl-basics in your project. Claude Code loads it when a task matches its description.

How do I install Syzlang Ioctl Basics in Codex?

Run `npx skills add benchflow-ai/skillsbench --skill syzlang-ioctl-basics -a codex`. Or copy the skill folder (tasks/syzkaller-ppdev-syzlang/environment/skills/syzlang-ioctl-basics in benchflow-ai/skillsbench) into .agents/skills/syzlang-ioctl-basics in your project. Codex loads it when a task matches its description.

Can I use Syzlang Ioctl Basics 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 benchflow-ai/skillsbench --skill syzlang-ioctl-basics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/syzlang-ioctl-basics, .gemini/skills/syzlang-ioctl-basics, .github/skills/syzlang-ioctl-basics and .opencode/skills/syzlang-ioctl-basics in your project.

What does Syzlang Ioctl Basics need to run?

Going by SKILL.md and its folder, Syzlang Ioctl Basics needs the command-line tools its instructions call (make).

Does Syzlang Ioctl Basics 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 Syzlang Ioctl Basics 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 Syzlang Ioctl Basics use?

Syzlang Ioctl Basics is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Syzlang Ioctl Basics use?

About 532 tokens (SKILL.md is roughly 2.1k 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 Syzlang Ioctl Basics?

Skills that share tags, products or a category with Syzlang Ioctl Basics: Basic (bergside/awesome-design-skills, 3.1k stars), N8n Expression Syntax (davila7/claude-code-templates, 33k stars), Makepad Basics (sickn33/agentic-awesome-skills, 47k stars) and Bigquery Basics (davila7/claude-code-templates, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Syzlang Ioctl Basics?

benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,835 GitHub stars. The repository holds 189 skills in this directory. The repository was last updated on July 23, 2026.

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