Use when the user wants to migrate Codex state in ~/.codex into Agent Filesystem and mount the same shared Codex memory/settings across multiple computers. Recommends a .afsignore before migration and defaults to excluding worktrees, caches, logs, and temporary files.
88
81%
Does it follow best practices?
Impact
100%
1.61xAverage score across 3 eval scenarios
Passed
No known issues
Use this skill when the goal is to share Codex state across machines by moving ~/.codex into Agent Filesystem, then mounting that same Redis-backed volume on other computers.
~/.codex/.afsignore before migration.worktrees/.cache/, tmp/, logs/, *.log, *.tmp, *.pid, and *.sock as good default exclusions.worktrees/ as a choice point before migrating.Open the bundled starter ignore file at assets/.afsignore and adapt it to the user's needs.
agent-filesystem is built with make.afs to point at the shared Redis instance.~/.codex/.afsignore before migration../afs ws import --mount-at-source .codex ~/.codex.~/.codex, and the workspace name is .codex.~/.codex, choose mount mode with ./afs config set --mode mount if you want a live mount there, then run ./afs ws mount .codex ~/.codex../afs status and ls -la ~/.codex.Point the CLI at the same control plane or Redis database. Then run
./afs config set --mode mount for live mount mode, or
./afs config set --mode sync for sync mode, before mounting .codex at
that machine's ~/.codex.
afs ws import honors ~/.codex/.afsignore if present..afsignore uses .gitignore-style pattern syntax.worktrees/ is usually safer than syncing it.~/.codex from multiple active computers at the same time..local-backup directories until the setup is stable.Source machine rollback:
./afs ws unmount ~/.codexSecondary machine rollback:
./afs ws unmount ~/.codex
rm -rf ~/.codex
mv ~/.codex.local-backup ~/.codexef5c9a4
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.