Add `$` Alias to Codex CLI
Overview
Codex CLI is currently invoked with the codex 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 Codex CLI, 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": {
"codex": "bin/codex.js",
"$": "bin/codex.js"
}
Adding this line to package.json enables the alias. Registration has been verified on Ubuntu and macOS; Windows (via WSL 2) should behave identically.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗