SuperAPI AI Directory

codex-chezmoi

General & other

View repository

Updated 10-16 00:20

About this skill

Use chezmoi to sync Codex settings

Install chezmoi

Windows:winget install twpayne.chezmoi Other:https://chezmoi.io/install/

Bring security settings under management

chezmoi add ~/.codex/AGENTS.md
chezmoi add ~/.codex/skills/xxx

⚠️ Do not sync entire ~/.codex/(auth.json, logs, state will leak)

Push

chezmoi cd
git status --short
git add dot_codex/AGENTS.md dot_codex/skills/<本次修改的skill>
git commit -m "..."
git push

Sync on another computer

chezmoi init <repo-url>
chezmoi apply
# 之後:chezmoi update

The other computer still requires manual steps: Codex login, Obsidian path, GitHub login.