Use when the user asks to "collaborate with Codex", "consult with Codex", "consult with codex", "collaborate with codex", or explicitly requests Codex CLI-based analysis. For comprehensive codebase investigation, design consultation, or implementation advice via Codex. Use this skill instead of the Web-Search tool.
This skill enables collaboration with Codex, an AI coding agent, for planning, design consultation, and comprehensive analysis. Codex serves as a consultant and partner for complex tasks.
Enable collaboration with Codex AI coding agent to leverage its capabilities for planning, design consultation, implementation advice, and comprehensive codebase analysis.
When this skill is triggered, verify the current Codex CLI usage first, then execute the appropriate command:
Check current version and help:
codex --version
codex --help
This ensures compatibility with the current Codex installation and prevents version-dependent issues.
Execute the Codex CLI to consult with the AI coding agent:
codex exec "[PROMPT]"
When web search is needed for current information:
codex e --enable web_search_request "Search for the latest best practices for React state management in 2026 and summarize the key approaches"
When analyzing the entire codebase:
codex exec --cd /path/to/project "Analyze this entire codebase structure. Identify:
1. Main architectural patterns used
2. Key modules and their responsibilities
3. Potential code smells or technical debt
4. Areas for improvement
Provide a comprehensive summary with specific file references."
When seeking feedback on current code changes:
codex exec "I just made the following code changes:
[Describe what you changed - e.g., 'Added async/await to the data fetching function' or paste the diff]
My thoughts/concerns:
- [Share your thoughts - e.g., 'I\\'m worried this might introduce race conditions' or 'I think this improves readability but not sure about performance']
Please provide:
1. Your assessment of these changes
2. Any potential issues or concerns I should be aware of
3. Latest best practices for this type of implementation
4. Recommendations for improvements if applicable
Research current best practices if needed to give informed advice."
For architecture and design decisions:
codex exec "Review this implementation approach for [feature]. Consider:
- Scalability implications
- Security considerations
- Performance characteristics
- Maintainability concerns
Provide recommendations and alternative approaches if applicable."
Options may vary by version. Always check codex --help for current options:
--cd <DIR> - Set working directory (use --cd, not -C)codex --help before using options to ensure compatibilityweb_search_request feature when web search capability is needed (verify if live search is enabled)Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer