Companion Screensaver

Toggle screensaver mode (random pet on each statusline refresh)

Your task

Toggle the screensaver mode in ~/.claude/plugins/cc-companion/config.json.

  1. Read ~/.claude/plugins/cc-companion/config.json
  2. If screensaver is true: set it to false (or remove it). Also remove screensaverInterval and screensaverMode if present. Tell the user "Screensaver off — your custom pet is back."
  3. If screensaver is missing or false: ask the user step by step:
    • First: Mode — "random" (random pets) or "collection" (cycle through saved collection)?
    • Then: Refresh interval in minutes (default 5, 0 = every refresh) Set screensaver to true, screensaverMode to the chosen mode, and screensaverInterval to the chosen value. Tell the user "Screensaver on — [random pets / collection cycle] every N minutes."