Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Codex HOME AutoPatchNew to Visual Studio Code? Get it now.
Codex HOME AutoPatch

Codex HOME AutoPatch

xsjk

|
5 installs
| (0) | Free
Automatically patches the OpenAI Codex VS Code extension to use per-workspace CODEX_HOME under ~/.codex/workspaces.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codex HOME AutoPatch

Patches the OpenAI Codex VS Code extension so each workspace uses:

~/.codex/workspaces/<workspace-name>

Scope

Important: use only global Enable/Disable for this extension. Do not use workspace-specific Enable/Disable. The extension must run in the workspace/remote extension host, but the patch itself affects the whole VS Code extension host, not just one workspace.

Configuration

codex-home-autopatch.linkEntries defaults to:

["auth.json", "config.toml", "AGENTS.md", "rules", "skills", "plugins", "agents"]

These entries are linked because they are shared config, rules, skills, and plugin assets. Add or remove relative paths under ~/.codex. Restart the extension host after changing it.

codex-home-autopatch.copyEntries defaults to:

["sessions", "session_index.jsonl"]

These entries are copied instead of linked so each workspace can keep independent session history. On first use, they are recursively copied when the destination does not already exist. After that migration, archive any sessions that do not belong to the current workspace and keep the ones you want.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft