ensuring-cross-platform

ensuring-cross-platform is a skill for Claude Code, Codex from Cristhianzl/claude-skills-czl. It costs 87 tokens per session (2,161 once invoked), scanned A, original, MIT.

Engineering guidance for making code, tests, and Docker builds behave consistently on Linux, macOS, and native Windows.

In plain words
What is it for?
Writing or reviewing cross-platform filesystem and subprocess code, handling operating-system differences, and checking builds and tests across supported platforms.
Why use it?
It helps prevent software from working only on one developer's computer because of differences in paths, shells, filesystems, encoding, time, or native dependencies.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing or reviewing cross-platform filesystem and subprocess code, handling operating-system differences, and checking builds and tests across supported platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cristhianzl/claude-skills-czl/ensuring-cross-platform
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 Cristhianzl/claude-skills-czl --skill ensuring-cross-platform
Clone the repo
git clone --depth 1 https://github.com/Cristhianzl/claude-skills-czl

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 ensuring-cross-platform

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cristhianzl/claude-skills-czl/ensuring-cross-platform"><img src="https://agentmods.dev/badge/skills/cristhianzl/claude-skills-czl/ensuring-cross-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,161 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00087 $0.02161
Opus 5 $0.00044 $0.01081
Sonnet 5 $0.00017 $0.00432
Haiku 4.5 $0.00009 $0.00216

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

Security

Grade A, and why

ensuring-cross-platform 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 12d 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.

3. **Am I calling any external tool I am not declaring as a dependency?** — `git`, `make`, `curl`, `tar`, `unzip`, anything assumed on `PATH`.
configs/agnostic/skills/ensuring-cross-platform/SKILL.md · 127 lines

How it starts

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

Ensuring Cross-Platform Behavior

A feature is not "done" because it works on the developer's machine. It is done when it produces identical, correct behavior on every supported platform — verified by tests that run on every supported platform.

This skill is the single source of truth for platform agnosticism. Other skills (developing-features, developing-features-tdd, fixing-bugs, writing-tests, reviewing-code, documenting-features) reference this one and apply its principles to their respective phases.

Read first (always)

List learnings/ and read every file relevant to the current task. Project-specific platform constraints, supported-OS lists, or known traps live there and override the defaults below. If a learning conflicts with this file, the learning wins — mention it to the user.

Default supported platforms

Until the project says otherwise, assume the defensive case:

Platform Architectures Notes
Linux x86_64, arm64 Glibc distros (Ubuntu 22.04+, Debian 12+, RHEL 9+)
macOS x86_64, arm64 macOS 13+
Windows x86_64 Windows 10 (22H2) / 11 — native, not WSL
Docker linux/amd64, linux/arm64 Linux containers; host OS may be any of the above

If the project's real target is narrower (e.g., Linux only), the user must say so explicitly. WSL is not a substitute for native Windows support unless the user documents that exception.

Pre-implementation platform check

Before writing any code that touches the filesystem, the shell, the environment, or external processes, answer:

  1. Which platforms must this run on? (See the table above or the project's override.)
  2. Am I making any POSIX assumption that is not guaranteed on Windows? — path separator, line endings, encoding, fork, signals, file permissions, atomic rename.
  3. Am I calling any external tool I am not declaring as a dependency?git, make, curl, tar, unzip, anything assumed on PATH.
  4. What is the failure mode on the platform I am NOT testing on right now? — "It probably works" is not an answer.
  5. Is this code in a hot path that varies per OS? — filesystem watching, process spawning, GUI, GPU. If yes, design the abstraction first (see references/platform-specific-code.md).

Read the full file on GitHub · 127 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. 12d ago First seen · 127 lines · 87 tokens per session scan A 419bbfbc5d68

Subscribe to this mod's changes

ensuring-cross-platform is a skill published in the GitHub repository Cristhianzl/claude-skills-czl (5 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session and 2,161 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

analytics-strategy

Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy. Use this skill whenever the user wants to plan analytics, design dashboards, build event taxonomies, define KPIs, set up tracking, or audit existing measurement.…

rampstackco/claude-skills · 126 tokens

content-strategy

Develop a content strategy covering editorial positioning, content pillars, formats, calendar, governance, and topical authority planning. Use this skill whenever the user wants to plan a content program, define content pillars, build an editorial calendar, structure topic clusters, set up content governance, or align…

rampstackco/claude-skills · 120 tokens

incident-response

Manage active production incidents through detection, triage, mitigation, communication, and resolution with structured roles and decision-making. Use this skill whenever the user has an active incident, a production issue, a service outage, a security incident, or needs to plan incident response procedures. Triggers…

rampstackco/claude-skills · 117 tokens

stakeholder-communication

Communicate effectively with stakeholders across functions and seniority levels. Use this skill when writing status updates, preparing executive reviews, sharing technical decisions with non-technical audiences, managing up, communicating bad news, or designing the communication cadence for a project. Triggers on…

rampstackco/claude-skills · 103 tokens

review-work

Post-implementation gate review: run manual QA on the real surface yourself, then launch ONE gate reviewer (never a panel) to audit goal, constraints, code quality, security, missed context, and QA evidence. Use before a PR handoff or when the user explicitly asks to review completed work.

code-yeongyu/oh-my-openagent · 63 tokens

agb-begriff-vorformuliert-305

Für AGB Begriff Vorformuliert 305: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: agb-begriff-vorformuliert-305.

Klotzkette/claude-fuer-deutsches-recht · 68 tokens