Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wentorai avatar

Codex Cli

  • 9 installs
  • 849 repo stars
  • Updated August 1, 2026
  • wentorai/research-claw

Helps with ai & agent building tasks during AI-assisted development.

About

codex-cli is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • codex-cli
  • AI & Agent Building
  • AI-coding skill

Codex Cli by the numbers

  • 9 all-time installs (skills.sh)
  • Ranked #12,152 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wentorai/research-claw --skill codex-cli

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs9
repo stars849
Last updatedAugust 1, 2026
Repositorywentorai/research-claw

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Codex CLI (OpenAI)

Terminal-based AI coding agent by OpenAI. Reads, edits, and runs code locally in a sandboxed environment. Built in Rust.

Detect Installation

which codex  # should return a path
codex --version

Install

npm i -g @openai/codex

Requires an OpenAI API key or ChatGPT account (prompted on first run).

Non-Interactive Usage (exec)

For programmatic invocation from Research-Claw, use codex exec:

# Basic non-interactive execution
codex exec "Refactor the auth module to use JWT tokens"

# Pipe from stdin
echo "Fix the failing test in src/utils.test.ts" | codex exec -

# Full-auto mode (workspace writes + minimal approvals)
codex exec --full-auto "Add error handling to all API routes"

# Skip all approvals (dangerous — use only in sandboxed environments)
codex exec -a never -s workspace-write "Update dependencies and fix breaking changes"

# Save final response to file
codex exec -o result.md "Explain the architecture of this project"

Key Flags

FlagDescription
-m, --model <model>Override model (e.g. gpt-5-codex)
-a, --ask-for-approval <mode>untrusted / on-request / never
-s, --sandbox <policy>read-only / workspace-write / danger-full-access
--full-autoShortcut: workspace-write sandbox + on-request approvals
--add-dir <path>Grant write access to additional directories
-C, --cd <path>Set working directory for the agent
-i, --image <path>Attach image files (comma-separated)
-o, --output-last-message <path>Write final response to file
--jsonPrint newline-delimited JSON events
--ephemeralDon't persist session to disk
--skip-git-repo-checkAllow running outside a git repository
--ossUse local OSS model via Ollama

Research-Claw exec Patterns

# Delegate a complex coding task
exec("codex exec --full-auto -C /path/to/project 'Implement the feature described in TODO.md'")

# Read-only analysis
exec("codex exec -s read-only -o /tmp/analysis.md -C /path/to/project 'Analyze code quality and list issues'")

# With model selection
exec("codex exec -m gpt-5-codex --full-auto 'Fix all TypeScript type errors'")

Docs

  • CLI reference: https://developers.openai.com/codex/cli/reference
  • SDK (programmatic): https://developers.openai.com/codex/sdk

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.