agent-device-lab
Prepare and check trusted macOS hosts for physical Android and iPhone tests with agent-device, ADB, and Xcode, or set up iPhone…
Inspect or switch the local Git and GitHub download guard using an already-installed compatible low-data command. Use for airplane mode, flight or metered connections, returning online, or requests to enable, disable, or automatically select low-data protection on this machine.
$ npx -y skills add vincentkoc/dotskills --skill github-airplane-mode --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/github-airplane-modeContext preview
The summary Claude sees to decide when to auto-load this skill.
Inspect or switch the local Git and GitHub download guard using an already-installed compatible low-data command. Use for airplane mode, flight or metered connections, returning online, or requests to enable, disable, or automatically select low-data protection on this machine.
name: github-airplane-mode description: Inspect or switch the local Git and GitHub download guard using an already-installed compatible low-data command. Use for airplane mode, flight or metered connections, returning online, or requests to enable, disable, or automatically select low-data protection on this machine. license: MIT metadata: source: "https://github.com/vincentkoc/dotskills"
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.
1. Resolve `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. 2. Inspect the current state with `env -u LOW_DATA_ALLOW_NETWORK low-data status`. 3. Apply only the requested mode. Interpret "I'm back", "return online", or "remove airplane mode" as `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.
command to change mode; do not delete the implementation or edit shell startup files to turn it off.
release, and artifact downloads. Normal commits, pushes, metadata/API requests, curl, package installs, and model traffic remain allowed.
PATH wrappers are not a network boundary. Never bypass them through absolute Git or GitHub CLI binaries, aliases, or custom hooks.
command. Never export that override globally.
sessions. A mode change is not process-control authority.
or remote repositories.
complete.
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 --> [*]We are moving from "prompt as text" to skill as runtime module. Each skill acts like a lightweight, containerized application for AI work: a stable interface, opinionated workflow, and bundled resources that can be installed, versioned, tested, and reused
Prepare and check trusted macOS hosts for physical Android and iPhone tests with agent-device, ADB, and Xcode, or set up iPhone…
Resolve canonical Git checkouts, index and verify codebase-memory-mcp graphs through the guarded CLI, open its browser viewer on…
Mine structured Codex /goal history locally or across a configured machine fleet, measure active goal time and resumed thread…
Recover Codex or Claude sessions from tmux panes, saved cockpit snapshots, session history, and recent agent logs without…
Interpret Crabpot and OpenClaw performance dashboard metrics, import-loop profiles, runtime profiles, and branch-to-branch perf…
Maintain and release the crawlkit Go library, preserving downstream compatibility for gitcrawl, slacrawl, discrawl, and notcrawl.