/developer-kit-tools:codexfrom developer-kit-tools
Delegates complex code generation, refactoring, and architectural analysis tasks to OpenAI's Codex CLI. Use when the user explicitly requests Codex for advanced programming work.
Ships in developer-kit-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Delegate specific complex development tasks to OpenAI's Codex CLI when the user explicitly requests Codex, especially for tasks requiring advanced code generation capabilities.
This skill provides a safe and consistent workflow to:
codex exec or codex review in non-interactive mode for deterministic outputsThis skill complements existing capabilities by delegating complex programming tasks to Codex when requested, leveraging OpenAI's GPT-5.3-codex models for advanced code generation and analysis.
Use this skill when:
Typical trigger phrases:
Verify tool availability before delegation:
codex --version
If unavailable, inform the user and stop execution until Codex CLI is installed.
references/cli-command-reference.mdcodex exec) for reproducible runs.danger-full-access sandbox or never approval policy without explicit user consent.codex review over codex exec.Before running Codex:
If scope is ambiguous, ask for clarification first.
Choose the appropriate model based on task complexity:
| Model | Best For | Characteristics |
|---|---|---|
| gpt-5.3-codex | Complex code generation, architectural design, advanced refactoring | Highest quality, slower, most expensive |
| o3 | Complex reasoning, distributed systems, algorithm design | Deep reasoning, analysis-heavy tasks |
| o4-mini | Quick iterations, boilerplate generation, unit tests | Fast, cost-effective, good for simple tasks |
Selection tips:
o4-mini for quick iterations and prototypinggpt-5.3-codex for production-quality code and complex refactoringo3 for tasks requiring deep reasoning or system designgpt-5.3-codex if uncertain (highest quality)Build a precise English prompt from the user request.
Prompt quality checklist:
Example transformation:
Preferred baseline command:
codex exec "<english-prompt>"
Supported options:
-m, --model <model-id> for model selection (e.g., gpt-5.3-codex, o4-mini, o3)-a, --ask-for-approval <policy> for approval policy:
untrusted: Only run trusted commands without approvalon-request: Model decides when to ask (recommended for development)never: Never ask for approval (use with caution)-s, --sandbox <mode> for sandbox policy:
read-only: No writes, no network (safest for analysis)workspace-write: Allow writes in workspace, no network (default for development)danger-full-access: Disable sandbox (⚠️ extremely dangerous)-C, --cd <DIR> to set working directory-i, --image <FILE> for multimodal input (repeatable)--search to enable live web search--full-auto as convenience alias for -a on-request -s workspace-writeSafety guidance:
read-only sandbox for analysis-only tasksworkspace-write sandbox for code generation/refactoringon-request approval for development tasksnever approval only with explicit user consent for automated tasksdanger-full-access without explicit user approval and external sandboxingcodex resume --last to continue from previous sessionsUse the dedicated review command:
codex review "<english-prompt>"
The review command includes optimizations for code analysis and supports the same flags as codex exec.
Run the selected command via Bash and capture stdout/stderr.
Examples:
# Default non-interactive delegation
codex exec "Refactor this authentication module to use JWT with proper error handling"
# Explicit model and safe settings
codex exec "Review this codebase for security vulnerabilities. Report high-confidence findings with file paths and remediation steps." -m gpt-5.3-codex -a on-request -s read-only
# Code review with workspace write
codex review "Analyze this pull request for potential bugs, performance issues, and code quality concerns. Provide specific line references." -a on-request -s workspace-write
# Complex refactoring with working directory
codex exec -C ./src "Refactor these service classes to use dependency injection. Maintain all existing interfaces." -a on-request -s workspace-write
# With web search for latest best practices
codex exec --search "Implement OAuth2 authorization code flow using the latest security best practices and modern libraries"
# Multimodal analysis
codex exec -i screenshot.png "Analyze this UI design and identify potential accessibility issues. Suggest specific improvements with code examples."
# Full automation (use with caution)
codex exec --full-auto "Generate unit tests for all service methods with >80% coverage"
When reporting Codex output:
Use this structure when returning delegated results:
## Codex Delegation Result
### Task
[delegated task summary]
### Command
`codex exec ...`
### Key Findings
- Finding 1
- Finding 2
### Generated Code/Changes
[summary of code generated or changes proposed]
### Suggested Next Actions
1. Action 1
2. Action 2
### Notes
- Output language from Codex: English
- Sandbox mode: [mode used]
- Requires user approval before applying code changes
codex exec "Refactor this OrderService class to follow SOLID principles. Current issues: 1) Single Responsibility violated (handles validation, processing, notification), 2) Open/Closed violated (hard-coded payment providers), 3) Dependency Inversion violated (concrete dependencies). Provide: 1) Proposed class structure, 2) Step-by-step migration plan, 3) Refactored code maintaining backward compatibility." -m gpt-5.3-codex -a on-request -s workspace-write
codex exec "Perform a comprehensive security analysis of this authentication module. Focus on: SQL injection, XSS, CSRF, authentication bypass, session management, and password handling. For each vulnerability found, provide: severity level, CWE identifier, exploit scenario, and concrete remediation with code examples." -a on-request -s read-only
codex exec --search "Design and implement a RESTful API for user management following REST best practices. Include: endpoint design, request/response schemas with validation, error handling, authentication middleware, pagination, filtering, and HATEOAS links. Use the latest industry standards and provide OpenAPI 3.0 specification."
codex exec "Analyze this database query module for performance bottlenecks. Identify: N+1 queries, missing indexes, inefficient joins, and caching opportunities. Provide: 1) Performance analysis with metrics, 2) Specific optimization recommendations, 3) Refactored code with query optimizations, 4) Migration script for database changes."
codex review "Review this pull request for: 1) Correctness and logic errors, 2) Performance issues, 3) Security vulnerabilities, 4) Code quality and maintainability, 5) Test coverage gaps, 6) Documentation completeness. Provide specific line references and actionable feedback." -a on-request -s read-only
codex exec -i design-mockup.png -i current-implementation.png "Compare the design mockup with the current implementation. Identify: layout differences, missing components, styling inconsistencies, and accessibility issues. Provide: 1) Gap analysis, 2) Specific CSS/HTML changes needed, 3) Priority ranking of fixes."
read-only for analysis, workspace-write for developmentgpt-5.3-codex for complex tasks, o4-mini for faster iterationscodex review for review tasks over codex exec--search for tasks requiring latest best practices or library versions-i for UI/UX analysis, diagram understanding, or visual debuggingdanger-full-access mode removes ALL security restrictions and should NEVER be used without external sandboxing (e.g., containers, VMs)never policy can execute destructive commands without confirmationdanger-full-access) block network access by defaultWhat SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/copilot-cliProvides GitHub Copilot CLI task delegation in non-interactive mode with multi-model support (Claude, GPT, Gemini), permission controls, output sharing, and session resume. Use when users ask to hand work to Copilot, compare models, or run Copilot programmatically from Claude Code./geminiProvides Gemini CLI delegation workflows for large-context analysis and complex reasoning using Gemini 3.0 Flash and Gemini 3.0 Pro models, including English prompt formulation, execution flags, and safe result handling. Use when the user explicitly asks to use Gemini for tasks such as broad codebase analysis, fast iterations with Gemini 3 Flash, or deep architectural reasoning with Gemini 3 Pro. Triggers on "use gemini", "delegate to gemini", "run gemini cli", "ask gemini", "use gemini for this task", "use gemini 3 flash", "use gemini 3 pro"./notebooklmEnables interaction with Google NotebookLM for advanced RAG (Retrieval-Augmented Generation) capabilities via the notebooklm-mcp-cli tool. Use when querying project documentation stored in NotebookLM, managing research notebooks and sources, retrieving AI-synthesized information, generating audio podcasts or reports from notebooks, or performing contextual queries against curated knowledge bases. Triggers on "notebooklm", "nlm", "notebook query", "research notebook", "query documentation in notebooklm"./qwen-coderProvides Qwen Coder CLI delegation workflows for coding tasks using Qwen2.5-Coder and QwQ models, including English prompt formulation, execution flags, and safe result handling. Use when the user explicitly asks to use Qwen for tasks such as code generation, refactoring, debugging, or architectural analysis. Triggers on "use qwen", "use qwen coder", "delegate to qwen", "ask qwen", "second opinion from qwen", "qwen opinion", "continue with qwen", "qwen session"./sonarqube-mcpProvides SonarQube and SonarCloud integration patterns via the Model Context Protocol (MCP) server. Enables quality gate monitoring, issue discovery and triaging, pre-push code analysis, and rule education directly in the agent workflow. Use when the user wants to check quality gates, search for Sonar issues, analyze code snippets before committing, or understand SonarQube rules. Triggers on "sonarqube", "sonarcloud", "quality gate", "sonar issues", "analyze with sonar", "check sonar", "sonar rule", "pre-push analysis".npx claudepluginhub giuseppe-trisciuoglio/developer-kit --plugin developer-kit-toolsOther plugins' skills for the same job