refusal-card

by Faik Emre Partal · ★ 4 · updated 4 days ago

Bandswarnings

0

When the model's safeguards flag your request and the turn stops, a card above the prompt shows what you asked and one press that puts a /feedback report of a false positive in the prompt box. Nothing is sent until you press Enter there yourself (Turkish with MODZ_LANG=tr).

install refusal-card

Install

/plugin marketplace add partalemre/MODZ
/plugin install refusal-card@modz

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.startturn.startturn.completeui.render
API calls
$.config.list$.env.get$.prompt.fill$.prompt.read$.ui.invalidate$.ui.log$.ui.resolve$.ui.toast
Draws
AbovePrompt
Reach
level 1 of 3 writes the prompt boxreads env varsreads settingsreads the prompt boxdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/partalemre/MODZ
Path in repo
mods/refusal-card
Source commit
db87d94 the exact code the scan read
Author
Faik Emre Partal @partalemre
License
MIT
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.

More from partalemre/MODZ

replay-theater

partalemre/MODZ

Replay Theater: step through the file edits of the last turn, or of any earlier turn and past session read from the saved conversations, with what each step does, the plan step it served and the changed lines in color.

★ 4PanesBandsGuards

savvy-progress

partalemre/MODZ

A progress band above the prompt and the Agents pane: each subagent gets a crab and a card with its status, progress, cost and time, a timeline and a quiet-agent warning. Progress comes only from what was observed.

★ 4PanesBandsReskins

secret-guard

partalemre/MODZ

Catches secret keys (passwords, API keys, tokens) before they are written into a file or saved in a version, and stops the secrets file (.env) from being saved with your work. A card shows each key half-hidden and asks you to move it to the secrets file, allow it once, or cancel. Keys you paste into the chat reach Claude only as stand-ins, and /rec hides keys on screen while you record...

★ 4Status lineReskinsGuards

session-budget

partalemre/MODZ

A spending cap for one chat (a share of the 5-hour usage allowance, or dollars): a note at 80%, and at 100% it asks Continue anyway or Stop before your next message goes

★ 4BandsReskinsGuards

skins

partalemre/MODZ

Looks (skins) for Claude Code's chat: styled tool rows, reply lines and busy words, and living ASCII scenes above your message box. /skin swaps them live.

★ 4PanesBandsReskins

terminal-browser

partalemre/MODZ

A browser that runs in the terminal, inside Claude Code: preview sites and HTML documents, and let the agent drive the built-in browser. Terminal only; it draws nothing on the desktop.

★ 4PanesGuardsCommands

test-badge

partalemre/MODZ

After Claude changes your code, runs the project's tests and its style-rule check (lint) on their own and shows the result in one line (tests 41/42 · style rules: 2 errors · 4s ago), with a panel that lists each failing test and where it is. It also follows the automatic checks GitHub runs on your open change request (pull request), through the gh tool.

★ 4PanesBandsStatus line

wrapped

partalemre/MODZ

Your year with Claude Code as a story and a video, from your own transcripts: persona, which agents did the work, month by month. /wrapped; Hide names masks project and file names before you share. Uses no model tokens.

★ 4PanesCommands

blast-radius

partalemre/MODZ

Stops a command that could lose your work before it runs: deleting files (rm -rf), throwing away unsaved changes or saved versions (git reset, checkout, clean, branch -D), overwriting the shared copy (force push), writing over files, changing or dropping a database, or removing what docker, terraform or kubectl run. It shows exactly what would be lost, then you pick Run anyway or Keep my work...

★ 4PanesBandsGuards

cache-tax

partalemre/MODZ

Keeps the chat ready (the one-hour prompt cache) during breaks, so your next message does not make Claude read the whole chat again at full price. After a long break or a model change it holds your message on a card with the estimated cost. Keeping the chat ready sends small requests that cost tokens. Requires Claude Code 2.1.287+.

★ 4BandsStatus lineCommands

checkpoint

partalemre/MODZ

Quietly saves a restore point before each turn's first file change; /checkpoints lists the turns and undoes one after you confirm

★ 4PanesGuardsCommands

done-ping

partalemre/MODZ

A notification when a long turn (your message and its answer) finishes or Claude waits on you (a permission or a question): the desktop app's own notification where it can, else a macOS banner with the project, what happened and a short detail

★ 4BandsGuardsCommands

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