一键导入
codex-cli
Run OpenAI Codex CLI for autonomous software engineering tasks via non-interactive `codex exec` with chat-friendly outputs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run OpenAI Codex CLI for autonomous software engineering tasks via non-interactive `codex exec` with chat-friendly outputs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use the Cursor CLI (agent) for software engineering tasks. Includes installation, auth, commands, terminal-based automation, and best practices for AI coding workflows.
Run Google Gemini CLI for autonomous coding and general tasks via headless mode with chat-friendly outputs.
GitHub operations via gh CLI — list issues, create branches, create PRs, clone repos.
Search, read, send, and manage Gmail emails via Google API
Interact with Railway deployments — check status, view logs, redeploy services, and manage environment variables.
Query system resources — CPU, memory, disk, processes, and network interfaces.
| name | codex-cli |
| version | 1.1.0 |
| description | Run OpenAI Codex CLI for autonomous software engineering tasks via non-interactive `codex exec` with chat-friendly outputs. |
Run OpenAI Codex CLI (codex) from Viber for autonomous coding tasks. This skill uses codex exec (non-interactive), which works reliably from Node/AI SDK tool calls and web UI chat workflows.
Install Codex CLI globally:
pnpm add -g @openai/codex
Then authenticate:
codex login
codex --version
codex_run — Runs Codex CLI with a prompt, returns:
summary (status, cwd, mode, exit code)stdoutTail and stderrTail (chat-friendly tail output)output (truncated combined output for deeper follow-up)ok, summary, error, exitCode, command) for robust assistant follow-up.prompt (required): task for Codexcwd (optional): target working directory (must exist)waitSeconds (optional): timeout in seconds (default 90, minimum 10)approvalMode (optional):
full-auto (default): --full-autoauto-edit: writable workspace modesuggest: read-only suggestionsmodel (optional): override model (for example gpt-5-codex)Use this skill when user intent is:
Examples:
codex_run({
prompt: "Fix failing tests in src/skills/codex-cli.test.ts",
cwd: "/workspace/openviber",
approvalMode: "auto-edit",
})
codex_run({
prompt: "Review this repo and propose a migration plan",
approvalMode: "suggest",
waitSeconds: 120,
})
After calling codex_run:
summary first.stdoutTail / stderrTail.error + command to explain next action.approvalMode, model, or cwd.For real-world flows (for example multi-step repo analysis or issue-fix planning), use opt-in live tests:
OPENVIBER_RUN_LIVE_CLI_TESTS=1 pnpm test src/skills/codex-cli.integration.test.ts
OPENVIBER_RUN_LIVE_CLI_COMPLEX_TESTS=1 pnpm test src/skills/codex-cli.integration.test.ts
Notes:
suggest mode (read-only) by default for safety.codex login has not been completed in the environment.summary, error, tails) for UI resilience checks.