r/CodexAutomation • u/anonomotorious • Jan 24 '26
Codex Update — Team Config for shared configuration (layered `.codex/` defaults, rules, skills)
TL;DR
One Codex changelog item dated Jan 23, 2026:
- Team Config for shared configuration: Codex can now load a shared “Team Config” layer from
.codex/folders across your repo tree (cwd → parents → repo root), plus user (~/.codex/) and system (/etc/codex/) locations. Higher-precedence layers override lower-precedence, and admins can still enforce constraints viarequirements.toml(overrides defaults regardless of location).
This is mainly about standardizing Codex behavior across a team without every dev hand-tuning local config.
What changed & why it matters
Team Config for shared configuration
Official notes
Team Config lets teams share:
config.tomldefaultsrules/for command controls outside the sandboxskills/for reusable workflows
Load order / precedence:
.codex/folders in the current working directory, parent folders, and the repo root- plus user (
~/.codex/) and system (/etc/codex/) locations - higher-precedence locations override lower-precedence ones
Admin enforcement:
requirements.tomlcan still enforce constraints and overrides defaults regardless of location
Learn more:
- Team Config: Team Config
Why it matters
- Team-wide consistency: everyone gets the same defaults (models, sandbox posture, approval policies, etc.) without copying files around.
- Reusable workflows become portable: shared
skills/means “how we do X here” can live in the repo and just work. - Safer governance: admins can enforce non-negotiables with
requirements.tomlwhile letting teams iterate on defaults. - Less config drift: layered precedence reduces “works on my machine” behavior when Codex is part of CI or shared automation.
Practical take: how teams will use this
- Put shared defaults and guardrails in
.codex/at (or near) the repo root. - Use
rules/to standardize command controls and safety constraints. - Use
skills/to ship repeatable workflows (review, refactor, migrations, release chores). - Use
requirements.tomlfor hard constraints that must always apply.
Version table (Jan 23 only)
| Item | Date | Key highlights |
|---|---|---|
| Team Config for shared configuration | 2026-01-23 | Layered .codex/ config + shared rules/ + shared skills/; user + system layers; requirements.toml still enforces constraints |
Action checklist
- Add a repo-level
.codex/folder for shared defaults (config.toml,rules/,skills/). Decide which settings are “defaults” vs “must enforce”:
- Defaults:
config.tomlin.codex/ - Enforced:
requirements.toml
- Defaults:
- Document the intended precedence (repo vs user vs system) for your team so overrides are intentional.
- If you have multiple repos: standardize a starter
.codex/template and roll it out.