palych-toggle
Reviewed
at commit 67c6591
A band above the prompt: the Palych switch for this conversation and usage figures; /palych-tab hides or shows it.
0 upvotes
Log in to upvote or save- Made by
- ponomr
- Pinned commit
-
67c65915cd9c77640cbf0a7823376008a6eea701 - What we checked
-
Adds a band above the prompt with an on/off switch for the separate Palych plugin in this conversation, plus 5-hour, 7-day and context usage figures; /palych-tab hides or shows it. When the switch is off it adds a short note to your prompts telling Claude to stop applying Palych rules. It makes no network calls and writes no files.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers the palych-tab command, reads the Palych plugin mode, starts two clock timers: theme check every 2 s, usage refresh every minute), command.run for palych-tab, prompt.submit (skips commands and meta prompts; a typed Palych control phrase only updates the switch; otherwise adds a fixed one-line note to e.context when the switch is off, or once after it is switched back on), ui.render for AbovePrompt (switch drawn as inline SVG, usage bars), session.measure and classic.SessionStart (context and rate-limit figures from the session). Reads through $.fs.read only ~/.local/state/palych/claude-code/state.json (the Palych plugin saved mode, session id hashed with a local sha256) and the Claude desktop app config.json (only userThemeMode) found via APPDATA or HOME. Runs $.process.run with fixed arguments only: reg query for the Windows light/dark setting, or defaults read -g AppleInterfaceStyle on macOS. Reads env APPDATA, HOME, USERPROFILE, TERM_PROGRAM and USAGE_BAND_ICONS. State is session atoms only; nothing is written to disk. No fetch, eval or dynamic code. UI text is in Russian. The Palych plugin itself is a separate package and was not reviewed.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/palych-toggle/)