codex

Construct Codex CLI commands with model and sandbox configuration.

18|3|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/ondrej-svec/heart-of-gold-toolkit --skill codex-ondrej-svec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex
Source: https://github.com/ondrej-svec/heart-of-gold-toolkit/tree/main/plugins/guide/skills/codex
Command: npx skills add https://github.com/ondrej-svec/heart-of-gold-toolkit --skill codex-ondrej-svec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codex CLI usage often requires manual stitching of commands, model choices, and safety configurations. This Skill provides a guided workflow to streamline Codex interactions.

Core Features & Use Cases

  • Guided model selection and sandbox configuration for codex exec and resume commands.
  • Structured command assembly with flags like -m/--model, --config, -C, and redirection for quiet operation.
  • Use Case: You need to run a Codex session to analyze code, refactor, or edit files across a repo with a consistent interface.

Quick Start

Ask me to run a Codex task by choosing a model and prompting codex exec with your request.

Frequently Asked Questions about codex

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

FAQPage Schema
How do I automate code refactoring with Codex CLI?

Automate code refactoring with Codex CLI by using a guided workflow to assemble commands, select models, and configure sandbox mode for safe, automated edits across a repository.

What is sandbox mode used for in Codex CLI automated editing?

Sandbox mode in Codex CLI automated editing isolates execution environments during code analysis and refactoring, ensuring that automated file edits operate safely within defined boundaries.

How do I construct a Codex exec command for code analysis?

Construct a Codex exec command for code analysis by specifying required flags like -m/--model and --config, suppressing thinking tokens for quiet operation, and redirecting output cleanly.

Does the Codex CLI workflow enforce required flags for code analysis tasks?

Yes, the Codex CLI workflow enforces required flags for code analysis tasks, providing safe defaults like suppressing thinking tokens and ensuring structured command assembly for consistent execution.

What is the best way to resume a Codex CLI session after an automated edit?

The best way to resume a Codex CLI session after an automated edit is to use the structured resume workflow, which ensures a clean state and proper configuration continuity for subsequent tasks.

Why suppress thinking tokens when running Codex CLI for code refactoring?

Suppressing thinking tokens when running Codex CLI for code refactoring provides quiet operation, reducing verbose output and ensuring cleaner logs during automated editing and analysis workflows.