Skip to content
Back to skills

Codex Docs

ASecurity

USE THIS SKILL WHEN working with OpenAI Codex CLI, Codex App, or Codex Cloud: configuration (config.toml), approval modes, sandbox, execution policy, skills, AGENTS.md, slash commands, non-interactive/exec mode, multi-agent, MCP servers, GitHub Action, IDE extension, enterprise setup, or Codex SDK. Triggers on: codex, codex exec, codex cli, AGENTS.md (OpenAI), config.toml codex, codex skills, codex sandbox, codex rules.

  • 10 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 26, 2026
ai-agentsgobashgitsecuritydocumentation

Works with

  • cli
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add wenerme/ai --skill codex-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenerme-codex-docs/badge)](https://www.skillsdirectory.com/skills/wenerme-codex-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-docs
description: "USE THIS SKILL WHEN working with OpenAI Codex CLI, Codex App, or Codex Cloud: configuration (config.toml), approval modes, sandbox, execution policy, skills, AGENTS.md, slash commands, non-interactive/exec mode, multi-agent, MCP servers, GitHub Action, IDE extension, enterprise setup, or Codex SDK. Triggers on: codex, codex exec, codex cli, AGENTS.md (OpenAI), config.toml codex, codex skills, codex sandbox, codex rules."
---

# 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

Files in this skill

  • SKILL.md3.8 KB
  • references/agent-approvals-security.md29.5 KB
  • references/amazon-bedrock.md18.1 KB
  • references/app-server.md81.6 KB
  • references/app.md8.2 KB
  • references/app/automations.md11.9 KB
  • references/app/browser.md6.6 KB
  • references/app/chrome-extension.md6.8 KB
  • references/app/commands.md17.7 KB
  • references/app/computer-use.md9 KB
  • references/app/features.md17.7 KB
  • references/app/local-environments.md2.3 KB
  • references/app/review.md4.2 KB
  • references/app/settings.md6.2 KB
  • references/app/troubleshooting.md5.5 KB
  • references/app/windows.md9.6 KB
  • references/app/worktrees.md11.9 KB
  • references/appshots.md3 KB
  • references/auth.md10.4 KB
  • references/auth/ci-cd-auth.md8.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.