AbdelrahmanHafez

Claude Code Plus — Development skill for Claude Code

Development community

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

How to install Claude Code Plus

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

What Claude Code Plus does

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

Alternatives in Development

  • Auto — Smart router - Single entry point with natural language intent detection 2.8k ★
  • Ccmanager — 940+ Session manager supporting 8 coding agents with smart auto-approval 946 ★
  • Claude Auto Resume — A shell script utility that automatically resumes Claude CLI tasks when usage limits are lifted 732 ★

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