zsh-safe

by HolyGrail · ★ 15 · updated 2 days ago

GuardsAutomationvalidates

0

Lets Bash commands written for bash run under zsh: unmatched globs, leading =, and a missing timeout

install zsh-safe

Install

/plugin marketplace add HolyGrail/claude-mods
/plugin install zsh-safe@claude-mods

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.starttool.call
API calls
$.env.get$.env.set
Can see
Bash calls
Reach
level 2 of 3 sets env varsreads env vars

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/HolyGrail/claude-mods
Path in repo
plugins/zsh-safe
Author
@HolyGrail
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

蜘蛛糸まな🕸️ / HolyGrail@HolyGrail

デスクトップアプリでもこういうの表示できるようになったの便利だ https://github.com/HolyGrail/claude-mods/tree/main/plugins/usage-meter

More from HolyGrail/claude-mods

notice-board

HolyGrail/claude-mods

Shares notices with every session in the same repository, or on the machine

★ 151 postsBandsCommandsPrompt

pr-relay

HolyGrail/claude-mods

Watches the session's pull request and wakes the session when it is merged or Codex reviews it

★ 151 postsBandsStatus lineGuards

usage-meter

HolyGrail/claude-mods

Shows context, 5-hour and weekly limit usage above the prompt

★ 151 postsBands