Skip to content

Repository files navigation

Codex CLI Operator Handbook

A multilingual, fork-first field guide for running Codex CLI with clear instructions, safer defaults, reusable skills, reviewed hooks, and repeatable release checks.

Codex CLILanguageDocsREADME languagesSecurity

Codex CLI operator handbook mascot

🌐 Languages:Deutsch | Español | English | Português (Brasil) | Türkçe | Français
Türkçe full guide | Release checklist | Research notes

English English welcome

A public operator handbook for using Codex CLI with durable instructions, safer automation, reusable skills, hooks, MCPs, and repeatable release checks.

Start here:Quick start gives the fastest path into the handbook.

Türkçe Türkçe karşılama

Codex CLI'yi rastgele komutlarla değil, daha kontrollü ve tekrar edilebilir bir çalışma düzeniyle kullanmak isteyenler için topladığım saha notları. Prompt, skill, hook, MCP ve release tarafında işime yarayan pratikleri tek yerde tutuyor.

Buradan başla: Türkçe rehber README.tr.md; hızlı genel bakış için bu sayfadaki özet yeterli.

This public fork is maintained as an independent Codex best-practices repository. It keeps upstream MIT license attribution, but the handbook, multilingual onboarding, validation, security notes, release flow, and fork-facing identity are owned here.

Start Here

NeedOpen
First 5 minutesQuick start
Turkish onboardingREADME.tr.md
Which Codex surface to useCodex surface map
Current source decisionsdocs/RESEARCH_NOTES.md
Release and publish gatedocs/RELEASE_CHECKLIST.md
Public readiness checklistdocs/PUBLIC_READINESS.md
Local validationnpm run validate

Companion Project

This repo is the companion handbook for the broader Codex setup ecosystem:

RepoRole
codex-enterprise-starterInstallable starter kit for setting up a reusable Codex working environment
codex-cli-best-practicePublic handbook for operating, extending, validating, and releasing Codex workflows safely

Use the starter when you want a ready setup. Use this handbook when you want to understand the surfaces, safety model, validation path, and maintenance rules behind that setup.

English English

What This Repository Is

This repo is a practical operating handbook for Codex CLI users who want repeatable engineering workflows instead of one-off prompts. It explains where to put durable instructions, how to keep automation reviewable, how to package reusable skills, and how to verify a public release without leaking local state.

It is intentionally a documentation and configuration reference, not an application codebase.

Quick Start

npm run validate
codex

Try the included agent-to-skill demo:

Fetch the current weather for Istanbul in Celsius and create the SVG weather card output using the repo.

Expected outputs:

  • orchestration-workflow/weather.svg
  • orchestration-workflow/output.md (ignored because it is generated)

Codex Surface Map

SurfaceUse it forRepo example
PromptOne-off task constraintsCurrent user request
AGENTS.mdDurable project rules and verification commandsAGENTS.md
.codex/config.tomlProject defaults, sandboxing, approvals, MCP, hooks, agents.codex/config.toml
SkillReusable workflow with progressive disclosure.agents/skills/weather-svg-creator/SKILL.md
SubagentExplicit specialist role for bounded work.codex/agents/weather-agent.toml
MCPLive docs, private tools, external contextbest-practice/codex-mcp.md
HookReviewed lifecycle automation, never the only security boundarybest-practice/codex-hooks.md
Release checklistManual publish gatesdocs/RELEASE_CHECKLIST.md

Repository Map

AreaPathPurpose
WelcomeREADME.mdEnglish-first public entry point with multilingual bridge
Turkish guideREADME.tr.mdFull Turkish onboarding and maintenance guide
Agent rulesAGENTS.md, CLAUDE.mdCodex and Claude-compatible operating guidance
Codex config.codex/Project defaults, agents, hooks, hook scripts, examples
Skills.agents/skills/Reusable Codex workflows
Best practicesbest-practice/Focused Codex surface guides
Examplesexamples/Profile and CI examples
Docsdocs/FAQ, roadmap, research notes, release notes, readiness checks
Validationscripts/validate-docs.mjsDependency-free repository guard
GitHub.github/Docs guard workflow, issue template, release form, PR template

Safety Defaults

  • Keep secrets in environment variables or trusted local config, never in repo docs.
  • Treat sandboxing and approvals as separate controls.
  • Keep broad filesystem or network access out of shared examples.
  • Use hooks as guardrails, not as the primary enforcement boundary.
  • Keep local overrides in ignored files such as AGENTS.override.md, .codex/config.local.toml, and .codex/hooks/config/*.local.json.
  • Run gitleaks detect --redact --no-banner --verbose before tags and releases.

Validation

npm run validate
git diff --check
gitleaks detect --redact --no-banner --verbose

The validator checks required files, README identity markers, local markdown links, common mojibake sequences, JSON syntax, committed local-only paths, stale Codex keys, and generated hook-log leaks.

Release Flow

Use docs/RELEASE_CHECKLIST.md before publishing. The short version:

npm run validate
git diff --check
gitleaks detect --redact --no-banner --verbose
git status --short

Then commit intentionally, push the branch, tag the release, create the GitHub Release from the matching release notes, and verify the public page, links, Actions run, and release asset state.

Turkce Turkce

Bu Repo Ne?

Bu fork, Codex CLI kullananlar için iki dilli bir operator rehberi. Amacı sadece ayar dosyası örneği vermek değil; prompt, AGENTS.md, config, skill, subagent, MCP, hook ve release checklist arasında doğru kararı vermeyi öğretmek.

Hızlı Başlangıç

npm run validate
codex

Demo için Codex'e şunu yaz:

Istanbul icin guncel hava durumunu Celsius olarak getir ve repo icindeki SVG hava kartini olustur.

Nereden Başlamalı?

İşDosya
Repo mantığını öğrenREADME.md
Türkçe rehberREADME.tr.md
Kalıcı talimatlarAGENTS.md
Codex ayarları.codex/config.toml
Skill yazımıdocs/SKILLS.md, best-practice/codex-skills.md
Hook kullanımıbest-practice/codex-hooks.md, .codex/hooks/HOOKS-README.md
Windows notlarıdocs/WINDOWS.md
Release hazırlığıdocs/RELEASE_CHECKLIST.md
Public hazır mı?docs/PUBLIC_READINESS.md

Kısa Güvenlik Notu

Token, cookie, private key, lokal auth dosyası, kişisel hook config'i veya log dosyası commitlenmez. Release öncesi validation, diff check ve Gitleaks birlikte çalıştırılır.

Credits And License

This is an independent fork edition. The original MIT license lineage is preserved in LICENSE. Fork-specific handbook content, Turkish onboarding, release discipline, validation workflow, and public-readiness docs are maintained in this repository.

About

Multilingual Codex CLI operator handbook for prompts, AGENTS.md, config, skills, MCP, hooks, Windows, validation, and release hygiene.

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages