Usage of OpenAI

Summary

  • OpenAI/Codex usage in this vault is mainly about slash commands, skills, and a small set of config files.

Key Points

  • In this vault, AGENTS.md controls agent behavior and SKILL.md files define reusable workflows.
  • In API projects, key files are requirements.txt or pyproject.toml, env files (env or .env), app entry files, and README.md.
  • Never hardcode API keys; keep them in environment variables (OPENAI_API_KEY).
  • Keep prompts and model settings in dedicated config/prompt files for maintainability.
  • Slash command availability can vary by Codex version and surface (CLI, app, IDE extension).

Examples

  • Show all available slash commands in your current client: Type / in the input box, or type ? for shortcuts.
  • Core commands commonly available in Codex: /init, /status, /approvals, /model, /mcp, /mode, /clear, /diff, /skills.
  • About experimental: It is often a mode/value (for example a thinking display option) rather than a standalone slash command, depending on version.
  • Skill usage pattern: /skills to list skills, then invoke a specific skill with $skill-name.
  • AI/OpenAI/index
  • AI/OpenAI/Slash Commands Reference
  • AI/OpenAI/Introduction
  • Templates/Topic Template
  • AGENTS