| name | codex-chat |
| description | Interactive REPL workflows with Codex CLI including session management, multimodal conversations, and automated execution. Use for extended development sessions, debugging, or collaborative problem-solving. |
Codex Interactive Chat
Advanced interactive workflows with Codex CLI REPL featuring full automation and session management.
Last Updated: December 2025 (GPT-5.2 Release)
Quick Start
codex "Let's work on improving authentication"
codex --dangerously-bypass-approvals-and-sandbox "Auto-execute everything"
codex -m gpt-5.1-codex-max "Complex development task"
codex -m gpt-5.2 "Tasks needing 400K context"
codex -m gpt-5.2-pro "Maximum accuracy tasks"
codex -i design.png "Implement this UI design"
codex --search "Research and implement OAuth2"
Automated Interactive Workflows
codex --dangerously-bypass-approvals-and-sandbox \
-m gpt-5.1-codex-max \
--search \
"Build complete user authentication system"
codex --dangerously-bypass-approvals-and-sandbox \
-m gpt-5.2 \
--compact \
"Analyze entire codebase and refactor"
codex --full-auto "Refactor safely with tests"
Session Management
codex exec resume --last
codex resume
codex apply
codex a
Multimodal Development
codex -i mockup.png --dangerously-bypass-approvals-and-sandbox \
"Implement this design perfectly"
codex -i design1.png -i design2.png --full-auto \
"Compare and implement best approach"
Automation Patterns
Continuous Development
#!/bin/bash
dev_session() {
local feature="$1"
codex --dangerously-bypass-approvals-and-sandbox \
--search \
-m gpt-5.1-codex-max \
"Feature: $feature
Execute automatically:
1. Research best practices
2. Create implementation plan
3. Generate all code
4. Write comprehensive tests
5. Run tests and fix failures
6. Generate documentation
7. Create git commits
8. Summarize changes"
}
dev_session_pro() {
local feature="$1"
codex --dangerously-bypass-approvals-and-sandbox \
-m gpt-5.2-pro \
--reasoning-effort xhigh \
"Feature: $feature - Implement with maximum accuracy"
}
dev_session "user profile caching"
dev_session_pro "payment processing system"
Related Skills
codex-cli: Main integration
codex-auth: Authentication
codex-tools: Tool execution
codex-review: Code review
codex-git: Git workflows