M1nu0x0

Claude Safe Zsh — Design skill for Claude Code

Design community

Makes the Bash tool's zsh read Claude's bash-style commands like bash: unmatched globs, word splitting, = words.

How to install Claude Safe Zsh

This entry records only its repository, not the path inside it, so there is no exact command to give. Open M1nu0x0/claude-safe-zsh and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Safe Zsh does

Makes the Bash tool's zsh read Claude's bash-style commands like bash: unmatched globs, word splitting, = words. Workaround for anthropics/claude-code#103027. KR/EN/JP README

Alternatives in Design

  • App Onboarding Questionnaire — A Claude Code skill that designs and builds high-converting questionnaire-style app onboarding flows — modelle 751 ★
  • Hn Rewrite — Read {{arg1}} (either a file path or GitHub issue URL) and rewrite it in a technical, matter-of-fact style sui 570 ★
  • Bolder — Amplify personality — raises layout variance and motion, strengthens typography and one signature detail, with 418 ★

README

claude-safe-zsh

[![release](https://img.shields.io/github/v/release/M1nu0x0/claude-safe-zsh)](https://github.com/M1nu0x0/claude-safe-zsh/releases) [![CI](https://github.com/M1nu0x0/claude-safe-zsh/actions/workflows/ci.yml/badge.svg)](https://github.com/M1nu0x0/claude-safe-zsh/actions/workflows/ci.yml) [![license](https://img.shields.io/github/license/M1nu0x0/claude-safe-zsh)](LICENSE) [![anthropics/claude-code#103027](https://img.shields.io/github/issues/detail/state/anthropics/claude-code/103027?label=anthropics%2Fclaude-code%23103027)](https://github.com/anthropics/claude-code/issues/103027)

**한국어** | [English](README.en.md) | [日本語](README.ja.md)

Claude Code의 Bash 도구 셸이 zsh일 때, Claude가 bash 문법으로 쓴 명령을 zsh도 bash처럼 해석하게 해 주는 Claude Code 플러그인입니다.

macOS에서는 로그인 셸이 zsh라서 Bash 도구도 zsh로 명령을 실행합니다. 그런데 Claude는 bash 문법으로 명령을 쓰기 때문에, 매치 없는 glob, 따옴표 없는 변수, `=`로 시작하는 단어에서 명령이 멈추거나 조용히 다르게 동작합니다. 이 플러그인은 세션이 시작될 때 Bash 도구의 zsh에 `no_nomatch`, `sh_word_split`, `no_equals` 세 옵션을 켭니다.

**[Website](https://m1nu0x0.github.io/claude-safe-zsh/ko/) · [Releases](https://github.com/M1nu0x0/claude-safe-zsh/releases) · [Changelog](CHANGELOG.md)**

Claude가 쓴 명령 zsh 기본값 이 플러그인
grep -rn TODO src --include=*.ts (eval):1: no matches found: --include=*.ts, grep이 실행되지 않음 grep이 *.ts 패턴을 받아 실행
echo =====; ls (eval):1: ==== not found, 뒤 명령도 멈춤 =====을 찍고 ls까지 실행
T="a.py b.py"; pytest $T $T가 한 단어로 넘어가 a.py b.py라는 파일 하나를 찾음 a.py, b.py 두 인자로 나뉨

만든 이유

[anthropics/claude-code#103027](https://github.com/anthropics/claude-code/issues/103027) (*Claude keeps writing bash syntax under zsh*) 때문입니다.

이 이슈의 작성자는 2026년 7월 28일부터 10월 17일까지 자신의 transcript를 세어, Bash 도구 호출 61,040번 중 2,570번에서 zsh 오류가 났다고 보고했습니다. 9월 하순 이후로는 1,000번당 51번꼴로 늘었고, 그중 76%는 명령이 0으로 끝나서 오류가 출력 중간에 묻혔습니다. Claude가 zsh 탓이라고 알아챈 경우는 약 3%뿐이었습니다. 가장 많은 세 가지가 매치 없는 glob(`--include=*.ts`, `ls libs/*/README.md`)과 `=` 단어(`echo ====`)였고, 따옴표 없는 변수는 대부분 조용히 실패해서 셀 수 있었던 것