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>claude-code-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: