setup-git-lite
Installation
SKILL.md
Manage Claude Code's built-in includeGitInstructions token consumption.
Subcommand routing
Parse the first argument from $ARGUMENTS:
| Subcommand | Risk | AI-allowed | Behavior |
|---|---|---|---|
install |
🔴 destructive | ❌ user-only | Modifies ~/.claude/settings.json + shell profile. Requires explicit <command-name>cc-token-saver:setup-git-lite</command-name> tag with <command-args>install</command-args> |
revert |
🔴 destructive | ❌ user-only | Aggressive cleanup. Same gating as install |
status |
🟢 safe | ✅ allowed | Read-only diagnostic |
dismiss-banner |
🟢 safe | ✅ allowed | Suppresses the recommendation banner (preferences.json flag) |
undismiss-banner |
🟢 safe | ✅ allowed | Re-enables the banner |
help |
🟢 safe | ✅ allowed | Prints usage |
| (empty) | 🟢 safe | ✅ allowed | Run status, then append one-line usage hint: "Subcommands: install, revert, status, dismiss-banner, undismiss-banner, help" |
Invocation guard — enforce for destructive subcommands only
If the subcommand is install or revert: