Agent Skills
› NeverSight/learn-skills.dev
› codex-chat
codex-chat
GitHub提供Codex CLI的交互式REPL工作流,支持会话管理、多模态对话及自动化执行。适用于扩展开发会话、调试和协作解决问题,涵盖从快速启动到连续开发的多种模式。
Trigger Scenarios
需要与Codex进行交互式的代码开发或调试
希望自动化执行完整的开发任务流程
需要恢复之前的Codex会话
基于图像或多模态输入进行UI实现
Install
npx skills add NeverSight/learn-skills.dev --skill codex-chat -g -y
SKILL.md
Frontmatter
{
"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
# Start interactive session
codex "Let's work on improving authentication"
# With full automation
codex --dangerously-bypass-approvals-and-sandbox "Auto-execute everything"
# With specific model (December 2025)
codex -m gpt-5.1-codex-max "Complex development task" # Default, best for coding
codex -m gpt-5.2 "Tasks needing 400K context"
codex -m gpt-5.2-pro "Maximum accuracy tasks"
# With images
codex -i design.png "Implement this UI design"
# With web search
codex --search "Research and implement OAuth2"
Automated Interactive Workflows
# Full auto development session (December 2025)
codex --dangerously-bypass-approvals-and-sandbox \
-m gpt-5.1-codex-max \
--search \
"Build complete user authentication system"
# With GPT-5.2 for long-context tasks
codex --dangerously-bypass-approvals-and-sandbox \
-m gpt-5.2 \
--compact \
"Analyze entire codebase and refactor"
# Sandboxed automation
codex --full-auto "Refactor safely with tests"
Session Management
# Resume last session
codex exec resume --last
# Pick session to resume
codex resume
# Apply latest changes from session
codex apply
# or
codex a
Multimodal Development
# With single image
codex -i mockup.png --dangerously-bypass-approvals-and-sandbox \
"Implement this design perfectly"
# With multiple images
codex -i design1.png -i design2.png --full-auto \
"Compare and implement best approach"
Automation Patterns
Continuous Development
#!/bin/bash
# Automated feature development session (December 2025)
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"
}
# For complex tasks requiring high accuracy
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"
}
# Usage
dev_session "user profile caching"
dev_session_pro "payment processing system"
Related Skills
codex-cli: Main integrationcodex-auth: Authenticationcodex-tools: Tool executioncodex-review: Code reviewcodex-git: Git workflows
Version History
- e0220ca Current 2026-07-05 23:09


