Codex Claude Danger Launcher
Install persistent shell shortcuts for codex and claude so users do not need to remember the long flags.
Boundary
This skill owns one recurring job:
- install, inspect, update, or remove shell shortcuts for:
codex --dangerously-bypass-approvals-and-sandboxclaude --dangerously-skip-permissions
This skill does not own:
- general dotfile management
- Homebrew or package installation
- broader shell prompt/theme setup
- changing Codex or Claude binaries themselves
Default Approach
Use the deterministic installer script:
bash scripts/install_shortcuts.sh install
The script:
- detects the shell from
SHELL - picks the matching rc file:
~/.zshrcforzsh~/.bashrcforbash
- appends managed shell functions, not plain aliases
- keeps the install idempotent
- supports
statusanduninstall
Use shell functions rather than aliases so extra args still pass through cleanly:
codex() {
command codex --dangerously-bypass-approvals-and-sandbox "$@"
}
Workflow
- Confirm the user wants the dangerous shortcuts.
- Run the installer script with
install,status, oruninstall. - Report:
- which rc file was changed
- whether a backup was created
- the command to reload the shell, usually
source ~/.zshrcorsource ~/.bashrc
- Suggest verification:
type codextype claude
Commands
bash scripts/install_shortcuts.sh install
bash scripts/install_shortcuts.sh status
bash scripts/install_shortcuts.sh uninstall
For exact rc-file rules and managed block details, read references/shell-behavior.md.