How shanraisshan/codex-cli-best-practice works
This repository is a Codex CLI practices guide with selected configuration examples, not the implementation of Codex itself. Its main user workflow is to consult a practice or workflow, configure Codex with the relevant project files, then use Codex features such as agents, skills, hooks, or MCP tools. The graph preserves the README’s major capability areas; relationships are documented at a high level because no source excerpts were provided.
Main entry points: best-practice Best practices · hooks.py Hook scripts · config.toml Config and profiles · AGENTS.md Project context
Components 17
Guides and workflows
- Best practices
best-practice - Workflow examples
orchestration-workflow/orchestration-workflow.md
Project setup
- Config and profiles
.codex/config.toml - Project context
AGENTS.md
Agent extensions
- Subagent configs
.codex/agents/weather-agent.toml - Weather skill
.agents/skills/weather-svg-creator/SKILL.md - Hook scripts
.codex/hooks/scripts/hooks.py - Hook configuration
.codex/hooks/config/hooks-config.json - MCP guidance
best-practice/codex-mcp.md
Codex capabilities
- Slash commands
README.md - Plugins and catalog
best-practice/codex-marketplace.md - Cross-session memory
best-practice/codex-memory.md - Execution rules
- Code review
README.md - Session lifecycle
README.md
Other components
- Engineer
- Codex CLI
Connections 22
- Engineer → Best practices: consults
README.md - Engineer → Workflow examples: follows
README.md - Best practices → Config and profiles: explains
README.md - Best practices → Project context: explains
README.md - Best practices → Subagent configs: explains
README.md - Best practices → Weather skill: explains
README.md - Best practices → Hook scripts: explains
README.md - Best practices → MCP guidance: documents
README.md - Engineer → Codex CLI: uses
README.md - Config and profiles → Codex CLI: configures
README.md - Project context → Codex CLI: guides
README.md - Subagent configs → Codex CLI: registers
README.md - Weather skill → Codex CLI: extends
README.md - Hook configuration → Hook scripts: configures
README.md - Hook scripts → Codex CLI: hooks into
README.md - MCP guidance → Codex CLI: documents tools
README.md - Engineer → Slash commands: invokes
README.md - Engineer → Plugins and catalog: browses
README.md - Engineer → Cross-session memory: manages
README.md - Engineer → Execution rules: checks
README.md - Engineer → Code review: requests
README.md - Engineer → Session lifecycle: manages
README.md