codex-cli-runtime

Invoke the Codex Companion runtime for Claude Code task execution.

Updated Sep 30, 2024
One-click install
npx skills add https://github.com/phillip-hirsch/dotfiles --skill codex-cli-runtime-phillip-hirsch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-cli-runtime
Source: https://github.com/phillip-hirsch/dotfiles/tree/main/.claude/plugins/cache/openai-codex/codex/1.0.4/skills/codex-cli-runtime
Command: npx skills add https://github.com/phillip-hirsch/dotfiles --skill codex-cli-runtime-phillip-hirsch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of invoking the Codex Companion runtime from Claude Code, providing an efficient way to manage internal helper contracts for Codex operations.

Core Features & Use Cases

  • Internal Helper Contract: Aids in calling the Codex Companion runtime for Claude Code operations.
  • Task Execution: Executes tasks using the node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" task "<raw arguments>" command.
  • Execution Rules: Defines specific rules for the codex:codex-rescue subagent's operation, including preferential use of the helper over other methods and restrictions on certain commands.
  • Command Selection: Offers detailed guidelines on how to select and use commands effectively, including handling options like --background, --wait, --model, --effort, and --resume.

Quick Start

Execute the task command within the codex:codex-rescue subagent to initiate a Codex operation.

Frequently Asked Questions about codex-cli-runtime

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

FAQPage Schema
How do I automate Codex Companion runtime calls from Claude Code?

Codex Companion runtime calls are automated by executing the task command with raw arguments via the codex-companion.mjs script, standardizing task execution and enforcing safety rules within the Claude Code environment.

What is a helper contract for Claude Code task execution?

A helper contract for Claude Code task execution provides a standardized interface to invoke the Codex Companion runtime, ensuring operations follow defined execution rules and safety restrictions.

How do I execute background tasks using the Codex Companion runtime?

Background tasks are executed by selecting specific command options within the codex-companion.mjs script, with the runtime supporting flags like --background, --wait, --model, --effort, and --resume for task execution.

Can I use the Codex Companion runtime outside of the Claude Code environment?

The Codex Companion runtime is specifically designed for use within the Claude Code environment, streamlining internal helper contract calls through the codex:codex-rescue subagent.

What are the execution rules for the codex:codex-rescue subagent?

The codex:codex-rescue subagent must preferentially use the helper contract over other methods to invoke the Codex Companion runtime, operating under specific restrictions regarding certain commands.