compiler-zsdcc

compiler-zsdcc is a skill for Claude Code, Codex from z88dk/z88dk. It costs 101 tokens per session (3,089 once invoked), scanned C, original, no licence file.

A z88dk setup for compiling C programs with the SDCC compiler, a compiler that turns C code into machine code for supported Z80-family systems.

In plain words
What is it for?
Use it when building with `zcc -compiler=sdcc`, selecting the SDCC C library, or changing the SDCC version used by the project.
Why use it?
It helps when a z88dk project must use SDCC instead of its other C compilers, including the matching source and patches.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cp /tmp/zsdcc-full.patch ../../src/zsdcc/sdcc-z88dk.patch.

Good fit Use it when building with zcc -compiler=sdcc, selecting the SDCC C library, or changing the SDCC version used by the project.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/z88dk/z88dk
agentmods
npx agentmods add skills/z88dk/z88dk/compiler-zsdcc

Made for: Claude Code, Codex.

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 compiler-zsdcc

README.md
[![agentmods](https://agentmods.dev/badge/skills/z88dk/z88dk/compiler-zsdcc.svg)](https://agentmods.dev/skills/z88dk/z88dk/compiler-zsdcc)
Your own site
<a href="https://agentmods.dev/skills/z88dk/z88dk/compiler-zsdcc"><img src="https://agentmods.dev/badge/skills/z88dk/z88dk/compiler-zsdcc.svg" alt="Measured on agentmods" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,089 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00101 $0.03089
Opus 5 $0.00051 $0.01545
Sonnet 5 $0.00020 $0.00618
Haiku 4.5 $0.00010 $0.00309

Measured 8d ago against content hash aa9194abd20b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

compiler-zsdcc scanned grade C 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 8d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf src/sdcc-build
.agents/skills/compiler-zsdcc/SKILL.md · 230 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 8d ago First seen · 230 lines · 101 tokens per session scan C aa9194abd20b

Subscribe to this mod's changes

compiler-zsdcc is a skill published in the GitHub repository z88dk/z88dk (1,135 stars, last pushed yesterday), with no licence file. It adds 101 tokens to every session and 3,089 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sega-master-system-devkitsms

Program, build, debug, and port Sega Master System (and Game Gear / SG-1000) homebrew games in C with devkitSMS (SMSlib + PSGlib) and the SDCC Z80 compiler. Use whenever the user writes, compiles, fixes, optimizes, or ports an SMS/Master System or Game Gear game or demo: the SDCC + devkitSMS toolchain; producing a…

haroldo-ok/sega-master-system-skill-for-claude · 293 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

platform-detection

Identify a .NET project's test platform, framework, command mode, and SDK-style vs classic project system. Use only for "which test platform/framework?", "VSTest or MTP?", or "what runner does this project use?", including bridge settings, UseVSTest opt-outs, and incompatible or conflicting VSTest/MTP configuration.…

dotnet/skills · 146 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

omh-rust

This is a Hermes-native rust workflow skill.

rlaope/oh-my-hermes · 69 tokens