freestylefly / freestylefly/CodexGuide

[Content] 增加 Codex CLI/Desktop 多账号 profile 隔离说明

Open Beginner friendly
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.5k
Forks
330
PR merge metrics
No merged PRs in 30d

Description

你好,感谢维护 CodexGuide,这个项目对中文 Codex 用户很有帮助。

我想建议补一个很小的高级/排障条目:Codex CLI/Desktop 的多账号 profile 隔离。这个可以先讲原理,而不是直接推荐工具:

- Codex 的本地状态跟 `CODEX_HOME` 相关;个人、工作、学校、客户项目如果使用不同的 `CODEX_HOME`,可以减少 auth、config、sessions、plugins、cache 混在一起的情况。
- 这个隔离只覆盖 Codex 本地状态,不等于完整的系统级隔离;同一个 OS 用户下的 SSH keys、GitHub CLI 登录、浏览器 cookies 等还是共享的。
- 对严格隔离场景,还是应该使用不同 OS 用户、容器或独立机器。

如果你觉得适合,也可以在文末用一行提到一个社区维护的小工具 `codex-profiles`,它只是把这个 `CODEX_HOME` profile 切换流程包装成 Bash CLI:
https://github.com/Ducksss/codex-profiles

完全理解如果你更想把内容保持为纯手动配置说明;这个建议的核心是让多账号/多客户使用 Codex 的边界更清楚。

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Locate the advanced or troubleshooting documentation covering Codex CLI/Desktop, then add the manual CODEX_HOME isolation explanation and its system-isolation limits; keep the optional codex-profiles mention clearly separate. Done means the distinction between local-state and full system isolation is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli, desktop, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.