mcpField
C
call-codex

call-codex

github.com/dotneetAgent workflows3409 installsUpdated 40w ago
Repository

About call-codex

A skill that checks whether codex is installed and, if available, submits a task through `codex exec`. It is for delegating tasks to codex from an agent workflow.

Key features

  1. 01Check for codex installation
  2. 02Submit tasks with `codex exec`
  3. 03Pass task descriptions through standard input

Use cases

  1. 01Delegate a task to codex
  2. 02Skip codex steps when it is not installed

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dotneet/claude-code-marketplace --skill call-codex

After installing, type/call-codexin Claude Code to confirm it loaded.

Details

From the project README

Call codex to perform a task

Call codex to perform a task.

Checking for the Existence of codex

# Check if codex is installed. Exit code 0 means success, 1 means failure.
# If not installed, skip the subsequent steps of the skill.
which codex
if [ $? -ne 0 ]; then
  echo "codex is not installed"
fi

Requesting a Task to codex

This task may take a long time. If the timeout value of the Bash tool can be set, please specify the maximum timeout value.

codex exec --sandbox danger-full-access <<EOT
{task_description}
EOT

Comments

Markdown supported