GitEasy: Skill for Claude Code

.claude/skills/air-gap-discipline/SKILL.md

air-gap-discipline is a skill for Claude Code from greenmtnsun/GitEasy. It costs 79 tokens per session (972 once invoked), scanned B, original, MPL-2.0.

A coding guideline for scripts that must work across personal machines, continuous-integration systems, and customer environments. It keeps code independent of its environment and prevents machine names, network details, and other local information from being included.

In plain words
What is it for?
It is for authoring or changing code under the specified scripts directory while keeping that code portable and free of local machine metadata.
Why use it?
It removes hard-coded environment checks and reduces the risk of exposing private system details in source code.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths.

This is greenmtnsun/GitEasy's own configuration. It tells Claude Code how to work on GitEasy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything GitEasy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to greenmtnsun/GitEasy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/greenmtnsun/GitEasy/main/.claude/skills/air-gap-discipline/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/greenmtnsun/GitEasy

Made for: Claude Code.

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 air-gap-discipline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/greenmtnsun/giteasy/air-gap-discipline"><img src="https://agentmods.dev/badge/skills/greenmtnsun/giteasy/air-gap-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 972 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00079 $0.00972
Opus 5.5 $0.00032 $0.00389
Sonnet 5.5 $0.00016 $0.00194
Haiku 4.5 $0.00008 $0.00097

Measured today against content hash d4add0f6577e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

air-gap-discipline scanned grade B 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 today.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

> See also: `software-creation` for the broader discipline. `module-suite` for cross-product strategy. The `air-gap-sentinel` hook (in `~/.claude/settings.json`) is the safety net.
.claude/skills/air-gap-discipline/SKILL.md · 63 lines

How it starts

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

See also: software-creation for the broader discipline. module-suite for cross-product strategy. The air-gap-sentinel hook (in ~/.claude/settings.json) is the safety net.

Air-gap discipline

Suite source ships across multiple environments — Keith's personal machine, CI runners, future enterprise customers, eventually paid distribution. Code does not know which environment it is in. That single rule drives the rest.

The three rules

1. Environment blindness

Code does not test for environment. No if ($env:COMPUTERNAME -eq 'KEITHWORK'). No "if I am on the build server, do X." Configuration that varies by environment lives in:

  • the user $PROFILE (per-user override)
  • the configuration registry (per-module — see ModuleWorkshop DR-011)
  • explicit parameters at invocation

If a function genuinely needs to behave differently in two environments, that behavior is a parameter, not an $env: check.

2. Zero metadata leakage

The following do not appear in source files:

  • Machine names (KEITHWORK01, BUILDSRV02, anything that names a real host)
  • Domain prefixes (WORKDOMAIN\username, \\WORKDOMAIN\share)
  • IPv4 addresses outside loopback (127.x.x.x), the reserved 0.0.0.0/8 block (RFC 1122), the limited broadcast 255.255.255.255, link-local (169.254.x.x), or the RFC 5737 documentation ranges (192.0.2.x, 198.51.100.x, 203.0.113.x)
  • Internal URLs that name a specific organization
  • Service-account names tied to one environment
  • UNC paths beyond placeholders

When example data is needed, use generic placeholders: \\SERVER01\share, 192.0.2.1 (TEST-NET-1, RFC 5737 — explicitly reserved for documentation), example.com, [email protected].

3. Standalone integrity

Each module is independently runnable. No cross-module imports of code; integration goes through the JSON schema (see module-suite skill). Modules share patterns (DNA), not code.

When this skill triggers

  • New file or edit under C:\Sysadmin\Scripts\
  • Code review of a module being prepared for distribution
  • Schema or rendering changes that may surface environment-specific data
  • Pre-release audit (pairs with release-audit once that skill lands)

Read the full file on GitHub · 63 lines

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. today First seen · 63 lines · 79 tokens per session scan B d4add0f6577e

Subscribe to this mod's changes

air-gap-discipline is a skill published in the GitHub repository greenmtnsun/GitEasy (1 stars, last pushed yesterday), licensed MPL-2.0. It adds 79 tokens to every session and 972 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

air-gap-discipline compared with skills from other repositories

air-gap-discipline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
air-gap-disciplinegreenmtnsun/GitEasySkill1yesterdayMPL-2.0B79Claude Code
imagegenopenai/codexSkill136ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill80kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code