swear-slap
Reviewed
at commit c612435
Swear in a prompt and a pixel-art hand slaps the band above it instead of sending the message, then puts a polite version back in your prompt box, with a…
0 upvotes
Log in to upvote or save- Made by
- Parag Pandya
- Pinned commit
-
c612435de6f0a086bc2b427e15b6575dec6cb1b3 - What we checked
-
Checks each prompt you type against a built-in swear list. When it finds one, it does not send the message to Claude, plays a cartoon slap animation and sound, adds 50 cents to a local swear jar and puts a politer version of your text back in the prompt box. Start a message with ~ to skip the check. It makes no network calls.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers /slap and detects the platform), command.run (/slap on, off, jar, reset, sound), prompt.submit and ui.render for the band above the prompt. prompt.submit only looks at prompts from a person (composer, phone bridge, or a plugin passing user text), skips code blocks and pasted content, and on a match drops the message, rewrites the prompt box through $.prompt.fill and updates counters in $.store; on any error the message goes through unchanged. Sound: $.audio.play on macOS, a fixed PowerShell snippet on Windows, a fixed sh snippet with mktemp, base64 -d, paplay or aplay and rm on Linux, each fed the bundled slap.wav (embedded as base64; it decodes to a RIFF WAVE header) on stdin, or a terminal bell through $.ui.notify. $.env.get reads OS, DISPLAY and WAYLAND_DISPLAY only. The animation code (art.ts) is pure drawing math. No network, no model calls, no npm dependencies.
- 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
Swear at Claude and a cartoon hand slaps your screen. The message is never sent, so it costs nothing, and a polite version goes back in your prompt box. Nothing to install.
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/swear-slap/)