Portable backup and sync repo for Codex skills and MCP/config scaffolding.
Added 8 AIGC platform skills for multi-service FastAPI and AI workflow work:
aigc-backend-architectaigc-ai-engineeraigc-api-testeraigc-devops-automatoraigc-security-engineeraigc-sreaigc-database-optimizeraigc-technical-writer
These skills are tailored for an AIGC platform with Python microservices, Docker Compose operations, shared integration tests, PostgreSQL-backed task tables, observability tooling, and documentation-heavy workflows.
skills/— user-installable skills copied from~/.codex/skills(excluding.system)config.shared.toml— shared Codex settings that can be reused across machineshosts/*.toml— host-specific overlays (local Windows, server Windows, server Linux)install-server.ps1/install-server.sh— install helpers that copy skills and build~/.codex/config.toml
Do not copy an entire ~/.codex directory between machines. A full copy can contain:
- machine-specific paths
- Windows/Linux-specific settings
- local MCP working-directory fixes
- auth/session state
- secrets or tokens
Instead, keep:
- shared settings in
config.shared.toml - per-host differences in
hosts/*.toml - credentials and login state configured separately on each machine
hosts/local.windows.toml— current AICHI Windows workstation profilehosts/server.windows.toml— template for a Windows serverhosts/server.linux.toml— generic Linux server templatehosts/server.ubuntu.toml— Ubuntu-oriented server template
# from the repository root
./install-server.ps1 -HostProfile server.windows.tomlTo rebuild the current local Windows config instead:
./install-server.ps1 -HostProfile local.windows.tomlchmod +x install-server.sh
./install-server.sh server.linux.tomlRecommended if your server is Ubuntu:
git clone [email protected]:nleson/codex-sync.git
cd codex-sync
chmod +x install-server.sh
./install-server.sh server.ubuntu.tomlIf you want chrome-devtools on Ubuntu server, make sure the machine has:
- Node.js 20.19+ or newer LTS
- Chrome or Chromium installed
- a usable headless environment
- Set
CODEX_API_KEY - Edit the target host profile placeholders (
YOUR_USER, paths, optional MCP blocks) - Login to Context7 again:
codex mcp login context7
- Verify:
codex mcp listcodex mcp get context7- if enabled:
codex mcp get chrome-devtools
- The local Windows profile includes a validated
chrome-devtoolsMCP block. - On the AICHI workstation it also keeps:
cwd = 'C:\Users\AICHI'
- That workaround avoids
C:\Users\AICHI\.openclaw\node.cmdinterfering withnpxresolution. - For servers, enable
chrome-devtoolsonly if the target machine actually has the required Node.js + Chrome environment. - The Ubuntu profile ships with a safer commented example using:
--headless--isolated
Windows PowerShell example:
robocopy "$HOME\.codex\skills" ".\skills" /E /XD .systemDo not commit:
CODEX_API_KEY- PATs / tokens
- MCP login state
- local browser/session data