用 chezmoi 同步 Codex 設定
SkillDev toolsUse chezmoi to sync Codex settings across multiple computers. Load when the user says "sync Codex settings" or "chezmoi".
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the 用 chezmoi 同步 Codex 設定 skill
What this skill tells your AI
The instructions your AI receives, as published by mathruffian-dot/codex-lazy-packs in skills/13-chezmoi/SKILL.md and read by ahel’s review.
安裝 chezmoi
Windows:winget install twpayne.chezmoi
其他:https://chezmoi.io/install/
納管安全設定
chezmoi add ~/.codex/AGENTS.md
chezmoi add ~/.codex/skills/xxx
⚠️ 不要同步 entire ~/.codex/(auth.json、logs、state 會洩漏)
推送
chezmoi cd
git status --short
git add dot_codex/AGENTS.md dot_codex/skills/<本次修改的skill>
git commit -m "..."
git push
另一台電腦同步
chezmoi init <repo-url>
chezmoi apply
# 之後:chezmoi update
另一台仍需手動:Codex 登入、Obsidian 路徑、GitHub 登入。
Signals
- GitHub stars
- 74
- Forks
- 98
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
codex-chezmoi- Source
- github.com/mathruffian-dot/codex-lazy-packs