codex

Invokes the Codex CLI to execute code-related tasks with --trace mode.

24|5|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/myrtlepn/gran-maestro --skill codex-myrtlepn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/myrtlepn/gran-maestro/tree/main/skills/codex
Command: npx skills add https://github.com/myrtlepn/gran-maestro --skill codex-myrtlepn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mst.py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a streamlined interface to execute code-related tasks using the Codex CLI, acting as a central point for code generation, analysis, and execution within workflows.

Core Features & Use Cases

  • Code Execution: Runs commands via the Codex CLI for various coding operations.
  • Workflow Integration: Serves as a single entry point for the Gran Maestro request workflow, including trace mode for detailed logging.
  • Use Case: When you need to refactor a piece of code or generate boilerplate based on a specific prompt, you can use this skill to invoke Codex directly.

Quick Start

Use the codex skill to analyze the architecture of this project.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate code execution and trace documentation for a project workflow?

To automate code execution and trace documentation, use the Codex CLI with `--trace` mode to capture prompt sourcing, directory validation, and model resolution, generating automated logs of your workflow.

Can I use the Codex CLI to refactor code and generate boilerplate from a prompt?

Yes, you can use the Codex CLI to refactor code and generate boilerplate by invoking it directly with your specific prompt, serving as a unified entry point for code generation and analysis tasks.

What is trace mode in code execution workflows and when do I need it?

Trace mode in code execution workflows is an automated documentation protocol that captures detailed logs of command execution and exit codes, needed when you require transparent logging of automated code tasks.

Does the Codex CLI workflow handle directory validation and model resolution before running commands?

Yes, the Codex CLI workflow handles directory validation and model resolution internally before executing commands, ensuring the environment is correctly configured and the appropriate model is selected for the task.

What are the limitations of using an automated CLI entry point for code generation?

Limitations of using an automated CLI entry point for code generation include strict dependency on specific scripts like `mst.py` and the necessity of correct directory validation, which can halt execution if prerequisites are unmet.

How do I set up a unified entry point for code analysis using command line tools?

To set up a unified entry point for code analysis, configure the Codex CLI to handle prompt sourcing and execution, centralizing code-related commands and trace outputs through a single workflow interface.