codex-exec

Execute code generation and image creation tasks via the OpenAI Codex CLI.

7|1|Updated May 30, 2026
One-click install
npx skills add https://github.com/yamadashy/skills --skill codex-exec-yamadashy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-exec
Source: https://github.com/yamadashy/skills/tree/main/skills/codex-exec
Command: npx skills add https://github.com/yamadashy/skills --skill codex-exec-yamadashy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the delegation of complex tasks that require the use of the OpenAI Codex CLI, such as image generation and editing, which can be cumbersome for manual execution.

Core Features & Use Cases

  • Sub-agent Execution: Execute tasks via the Codex CLI, such as code generation and image creation.
  • Image Generation: Use GPT-Image-2 for advanced image generation and editing directly from the CLI.
  • Use Case: When you need to generate an image for a report and want to ensure it's created efficiently with the right specifications, the codex-exec Skill can handle this with ease.

Quick Start

Generate an image of a mountain landscape and save it as 'assets/hero.png' in the current directory.

Frequently Asked Questions about codex-exec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate image generation tasks using the OpenAI Codex CLI?

Automating image generation with the OpenAI Codex CLI involves delegating your prompts to a sub-agent. This process uses GPT-Image-2 to create and edit images directly, saving outputs like 'hero.png' to your assets directory efficiently.

Can I execute AI code generation tasks without manual CLI input?

Yes, you can execute AI code generation tasks without manual input by delegating them as sub-agent tasks. This automation streamlines complex operations by letting the CLI handle the code generation process based on your initial specifications.

What is the best way to generate images for reports using AI code generation tools?

The best way to generate images for reports is to delegate the task to an AI CLI sub-agent. By specifying the desired subject and output path, the tool uses GPT-Image-2 to create the image with the correct specifications automatically.

Do I need to install additional dependencies to run Codex CLI tasks?

No additional dependencies are required to run Codex CLI tasks. The skill operates independently using bundled scripts and assets, allowing you to delegate complex AI operations immediately without managing external libraries.

Why use a sub-agent for advanced image creation instead of standard CLI commands?

Using a sub-agent for advanced image creation ensures tasks are executed efficiently with precise specifications. It streamlines cumbersome manual operations, handling the GPT-Image-2 generation and file saving process automatically.