night-mode

by Shrithan Devaiah · ★ 0 · updated 2 days ago

Status lineGuardsCommandsPromptvalidates

0

Late at night Claude gets more careful and asks before deploys, force pushes and rm -rf

install night-mode

Install

git clone https://github.com/ShriD5/claude-mods
claude --plugin-dir ./claude-mods/night-mode

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.startcommand.runprompt.composeprompt.submittool.call
API calls
$.clock.every$.clock.now$.command.register$.env.get$.state.get$.state.set$.ui.ask$.ui.status$.ui.toast
Can see
every promptBash calls
Reach
level 1 of 3 other: $.state.getother: $.state.setreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/ShriD5/claude-mods
Path in repo
night-mode
Source commit
1203787 the exact code the scan read
Author
Shrithan Devaiah @ShriD5
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 ShriD5/claude-mods

chai-meter

ShriD5/claude-mods

A taxi meter for the session's cost in the status line, in dollars and cups of chai.

★ 0Status lineCommands

commit-coach

ShriD5/claude-mods

Rewrites lazy commit subjects into conventional commits from the staged diff, and strips AI attribution trailers

★ 0ToastsGuardsPrompt

main-guard

ShriD5/claude-mods

A red band when you are on main or in prod, and no force-push, reset --hard or unconfirmed push to a protected branch

★ 0BandsGuards

phone-approve

ShriD5/claude-mods

Approve or deny Claude Code's permission prompts from Telegram, with the terminal prompt as the fallback.

★ 0Status lineGuards

rubber-duck

ShriD5/claude-mods

A fast second opinion on every edit: a small model flags removed error handling, deleted tests, secrets and more

★ 0PanesGuardsCommands

secret-guard

ShriD5/claude-mods

Stops Claude from writing API keys, tokens, private keys and database passwords into files.

★ 0ToastsGuardsCommands

ship-log

ShriD5/claude-mods

/ship turns what you built this session into a build-in-public post for X or LinkedIn

★ 0CommandsPromptAutomation

standup

ShriD5/claude-mods

/standup writes yesterday's standup (since Friday on Mondays) from your git commits and copies it

★ 0CommandsAutomation

whoopgate

ShriD5/claude-mods

Live WHOOP heart rate in the status line; risky Bash commands are blocked while it is over your limit

★ 0Status lineGuardsCommands