Switches a local Git/GitHub download guard between on, off, and auto modes for airplane mode or metered connections. Inspects current policy without modifying the guard itself.
Ships in github-airplane-mode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Switch an already-installed local Git and GitHub download guard.
Keep the guard installed and active sessions intact. This skill does not bundle
or install low-data, Git/GitHub wrappers, or a native connection-cost detector.
Operate only on the current machine. Require an already-installed compatible
low-data command before running any recipe.
command -v low-data and inspect its file or symlink target. Verify
its trusted local source and the mode, status, and exit semantics below.
Stop if it is missing, shadowed, unfamiliar, or incompatible; report the
prerequisite instead of downloading or replacing it.env -u LOW_DATA_ALLOW_NETWORK low-data status.off, not removal of the reusable guard.# Inspect without a per-command override masking the saved policy.
env -u LOW_DATA_ALLOW_NETWORK low-data status
# Force protection for a flight or metered connection.
env -u LOW_DATA_ALLOW_NETWORK low-data on
# Explicitly disable protection after returning online.
env -u LOW_DATA_ALLOW_NETWORK low-data off
# Follow the native connection-cost detector.
env -u LOW_DATA_ALLOW_NETWORK low-data auto
Require these semantics: on forces protection; off explicitly disables it;
auto protects constrained or expensive connections and fails closed when
native status is unavailable. An unmetered connection is unprotected in auto.
After any change, run both checks with the override unset:
env -u LOW_DATA_ALLOW_NETWORK low-data status
if env -u LOW_DATA_ALLOW_NETWORK low-data active; then
printf 'active_exit=0 (protected)\n'
else
active_exit=$?
printf 'active_exit=%s\n' "$active_exit"
fi
Require active exit 0 for on and exit 1 for off. For auto, report the
detected reason and the matching active state. Treat any other exit as a failed
check. Do not claim success from the mode-setting command alone.
LOW_DATA_ALLOW_NETWORK=1 command ... only for one explicitly approved
command. Never export that override globally.status, on, off, or auto.low-data command and its trusted source.status and active exit-code proof.stateDiagram-v2
[*] --> VerifyInstalledCommand
VerifyInstalledCommand --> ReportBlocked: missing or incompatible
VerifyInstalledCommand --> ReadCurrentState: compatible
ReadCurrentState --> ReportState: status only
ReadCurrentState --> SetRequestedMode: on, off, or auto requested
SetRequestedMode --> CheckStatusAndActive
CheckStatusAndActive --> ReportState: mode and active result agree
CheckStatusAndActive --> ReportBlocked: unexpected exit or mismatch
ReportState --> [*]
ReportBlocked --> [*]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/github-airplane-mode:github-airplane-modefrom github-airplane-mode
npx claudepluginhub vincentkoc/dotskills --plugin github-airplane-modeOther plugins' skills for the same job