Add `$` Alias to Claude Code
Overview
Claude Code is currently invoked with the claude command. This proposal registers the commonly copied shell‑prompt symbol $ as an additional alias and wraps each invocation with an AI‑powered layer that confirms execution and explains the command in natural language.
Background & Motivation
Blog posts and tutorials often include commands like $ git …. Pasting them verbatim causes the leading $ to be interpreted as an unknown command, resulting in errors.

By mapping $ to Claude Code, we can, before execution:
- Show a plain‑English explanation of the command.
- Require explicit confirmation before the command runs.

Expected Benefits
- Users understand what a command does as they run it.
- Prevents accidental execution when snippets are pasted.
Implementation
"bin": {
"claude": "~~~",
"$": "~~~"
}
Adding this line to package.json enables the alias. Registration has been verified on Ubuntu and macOS; Windows (via WSL) should behave identically.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗