Claude Code Plus banner
AbdelrahmanHafez AbdelrahmanHafez

Claude Code Plus

Development community

Description

Enhancements for Claude Code CLI: smart piped command auto-approval, shell config fix, and 850+ pre-configured safe permissions

Installation

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

README

Claude Code Plus

[![npm version](https://img.shields.io/npm/v/claude-code-plus.svg)](https://www.npmjs.com/package/claude-code-plus) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Node.js Version](https://img.shields.io/node/v/claude-code-plus.svg)](https://nodejs.org)

Enhancements for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI that fix common pain points and add quality-of-life improvements.

Quick Install

npx claude-code-plus -y

Or run interactively to customize what gets installed:

npx claude-code-plus

Features

Smart Piped Command Handling

**The problem:** Claude Code's permission system uses prefix matching. If you allow `Bash(ls:*)` and `Bash(grep:*)`, running `ls | grep foo` still prompts for permission because the full string doesn't match any single prefix.

**The solution:** A PreToolUse hook that parses piped commands using `shfmt`, checks each component individually against your allowed permissions, and auto-approves if all parts match.

Related: [anthropics/claude-code#13340](https://github.com/anthropics/claude-code/issues/13340)

Shell Configuration Fix

**The problem:** Claude Code ignores the `$SHELL` environment variable and always uses the system default shell (`/bin/zsh` on macOS). This means you lose access to your PATH, aliases, and shell-specific configuration.

**The solution:** A shell alias that wraps the `claude` command to set `SHELL` correctly, plus `env.SHELL` configuration in settings.json.

Related: [anthropics/claude-code#7490](https://github.com/anthropics/claude-code/issues/7490)

850+ Safe Permissions

Pre-configured auto-approval for common read-only commands:

  • File & text: ls, cat, head, tail, grep, rg, fd, jq, yq
  • Git: git status, git diff, git log, git branch, git show (read-only)
  • GitHub CLI: gh pr list, gh issue view, gh repo view (read-o