switchmod

by Shreyansh Patidar · ★ 0 · updated 3 days ago

PanesBandsReskinsGuardsCommandsPromptwarnings

0

SwitchMod: useful extras for Claude Code, each one a switch. A usage meter above the prompt, an output viewer for long results and images, secret hiding, a stop for repeated failures, a check before risky commands, a work log, and coordination between parallel chats. /switchmod turns each on or off.

install switchmod

Install

/plugin marketplace add ShreyanshPatidar/sangamind
/plugin install switchmod@sangamind

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startsession.endprompt.submitturn.startturn.completetool.callsession.appendsession.compactcommand.runui.renderui.close
API calls
$.clock.every$.clock.now$.command.register$.command.run$.config.list$.config.set$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.http.fetch$.process.run$.session.cwd$.session.id$.session.root$.session.surfaces$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.ask$.ui.close$.ui.copy$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
PaneToolResultUserMessageTurnDurationAbovePrompt
Can see
every promptevery tool callcompaction
Reach
level 3 of 3 networkruns processeswrites fileschanges configdrives Claudewrites the clipboardreads filesreads env varsreads settingspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/ShreyanshPatidar/sangamind
Path in repo
switchmod
Source commit
549891b the exact code the scan read
Author
Shreyansh Patidar @ShreyanshPatidar
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

Other mods in Panes, close to this one by stars.