# Wenerme AI Codex Docs

> OpenAI Codex Documentation

- Skill: `tomevault-io/wenerme-ai-codex-docs` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/wenerme-ai-codex-docs`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/wenerme-ai-codex-docs/raw
- Safety review: pending (external: skill-scanner PASS, skillspector WARNING)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/wenerme-ai-codex-docs

---


# OpenAI Codex Documentation

Reference for [OpenAI Codex](https://developers.openai.com/codex/overview) — AI coding agent available as CLI, desktop app, cloud, and IDE extension.

- [Docs](https://developers.openai.com/codex/overview) | [GitHub](https://github.com/openai/codex) | [Changelog](https://developers.openai.com/codex/changelog)

CRITICAL: grep `references/` for detailed docs before answering.

## Quick Start

```bash
# Install
npm install -g @openai/codex

# Interactive mode
codex "Explain this codebase"

# Non-interactive (CI/scripts)
codex exec "Fix all lint errors"
codex exec --json "List all TODO comments"
```

## Key Concepts

| Concept | Description |
|---------|-------------|
| **Approval modes** | Auto, Read-only, Full Access — control what Codex can do |
| **Sandbox** | Filesystem/network isolation for safe execution |
| **Rules** | Starlark-based execution policies (`.codex/rules/`) |
| **Skills** | Task-specific capabilities (`.agents/skills/`) |
| **AGENTS.md** | Custom system prompts per repo/directory |
| **config.toml** | User/project config (`~/.codex/config.toml`) |
| **MCP** | Model Context Protocol server integration |
| **Multi-agent** | Spawn sub-agents for parallel work |

## Key Topics

### CLI
- `references/cli/features.md` — Interactive mode, sessions, model selection
- `references/cli/reference.md` — CLI command reference
- `references/cli/slash-commands.md` — `/model`, `/review`, `/plan`, `/permissions`, etc.
- `references/noninteractive.md` — `codex exec` for CI/scripts

### Configuration
- `references/config-basic.md` — config.toml basics
- `references/config-advanced.md` — Advanced configuration
- `references/config-reference.md` — Full config reference
- `references/config-sample.md` — Sample config file

### Security & Sandbox
- `references/concepts/sandboxing.md` — Sandbox modes
- `references/rules.md` — Execution policy rules (Starlark)
- `references/agent-approvals-security.md` — Approval system
- `references/security/` — Security setup, threat model, FAQ

### Customization
- `references/skills.md` — Agent Skills system
- `references/guides/agents-md.md` — AGENTS.md custom prompts
- `references/custom-prompts.md` — Custom prompts (deprecated, use skills)
- `references/prompting.md` — Prompting best practices

### App & IDE
- `references/app/` — Codex desktop app (features, automations, worktrees)
- `references/ide/` — VS Code extension (features, commands, settings)
- `references/cloud/` — Codex Cloud environments

### Integrations
- `references/mcp.md` — MCP server configuration
- `references/integrations/github.md` — GitHub integration
- `references/integrations/linear.md` — Linear integration
- `references/integrations/slack.md` — Slack integration
- `references/github-action.md` — GitHub Action for CI

### Enterprise
- `references/enterprise/admin-setup.md` — Admin setup
- `references/enterprise/managed-configuration.md` — Managed config
- `references/enterprise/governance.md` — Governance policies

## References

- `references/` — 64 doc files from developers.openai.com/codex
- `references/cli/` — CLI features, reference, slash commands
- `references/app/` — Desktop app docs
- `references/ide/` — IDE extension docs
- `references/security/` — Security & sandbox docs
- `references/enterprise/` — Enterprise administration

---
> Source: [wenerme/ai](https://github.com/wenerme/ai) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-23 -->

