본문으로 건너뛰기
Skillpedia
일반 코딩48k · #4206

codex-profiles

하는 일

이 프로그램은 서로 다른 Codex ‘작업 공간’을 분리해 둘 수 있게 도와줍니다. 설정과 정보가 섞이지 않게 여러 계정이나 프로젝트를 따로 사용할 수 있습니다.

사용하는 경우

  • ✓업무용과 개인용으로 Codex를 나눠 쓸 때.
  • ✓서로 다른 설정이 필요한 여러 프로젝트를 작업할 때.
  • ✓한 계정이 다른 계정에 영향을 주지 않도록 하고 싶은 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/codex-profiles/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/codex-profiles/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“업무용으로 Codex를 쓰고 싶어요. 개인 사용 설정과는 따로 관리해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 컴퓨터에 Codex용 폴더를 따로 만듭니다. 각 폴더에는 특정 ‘작업 공간’의 로그인 정보, 설정, 기록이 저장됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Codex Profiles

Overview

Use codex-profiles when a user wants separate Codex CLI or Codex Desktop contexts for work, personal, school, client, or project-specific activity. The tool wraps Codex's CODEX_HOME support so each profile has its own Codex home directory for auth, config, sessions, connectors, plugins, caches, logs, and local state.

This skill is for profile selection and operational safety around that boundary. It is not an official OpenAI project, and it does not provide full OS-level isolation.

When to Use This Skill

  • Use when the user wants to keep multiple Codex accounts or project contexts separate on one machine.
  • Use when a workflow needs a different CODEX_HOME without manually exporting environment variables.
  • Use when diagnosing which Codex profile is active or whether profiles are logged in.
  • Use when the user asks about Codex account switching without copying auth.json.
  • Use when launching Codex Desktop from a profile, only after confirming the user accepts app/process disruption.

How It Works

Step 1: Confirm Scope and Installation

First check whether the user wants CLI-only profile switching or Codex Desktop profile launching. Desktop operations can quit, launch, clone, or rebuild app instances, so get explicit approval before running them.

If the tool is already installed, inspect the live command surface:

codex-profile --help
codex-profile doctor
codex-profile list
codex-profile status

If it is not installed, prefer package-manager installs the user can inspect and control:

npm install -g codex-profile
brew install Ducksss/tap/codex-profile

Do not run remote install scripts automatically. If the user asks for a source install, clone the repository and inspect its install instructions first.

Step 2: Create or Select a Profile

Create a new isolated Codex home only when the user names the intended profile:

codex-profile init work
codex-profile path work

Ask the user to log in once per profile when needed:

codex-profile login work

Do not copy, parse, print, or migrate auth.json tokens between profiles.

Step 3: Run Codex CLI With a Profile

Use the CLI profile wrapper for ordinary agent work:

codex-profile cli work
codex-profile cli work exec "run tests and summarize failures"

For one-off shell sessions, prefer the tool's environment or shell activation commands after checking --help:

codex-profile env work
codex-profile shell-init --help

Step 4: Use Desktop Profile Commands Carefully

Codex Desktop launch flows can affect running app state. Before running them, state which profile, app mode, and workspace will be used, then wait for approval.

codex-profile app work ~/Dev/project
codex-profile app work --instance ~/Dev/project

Use --instance only when the user wants side-by-side Desktop profiles and accepts the additional local app clone and separate Electron user-data boundary.

Examples

Example 1: Read-Only Profile Audit

codex-profile list
codex-profile status
codex-profile doctor

Use this before changing profile state. It should not expose token contents.

Example 2: CLI Task in a Work Profile

codex-profile cli work exec "inspect this repository and run its test suite"

Confirm the profile name is intentional before running long tasks.

Example 3: Manual CODEX_HOME Equivalent

If the wrapper is unavailable, explain the underlying boundary instead of improvising token movement:

CODEX_HOME="$HOME/.codex-work" codex
CODEX_HOME="$HOME/.codex-work" codex exec "review this change"

Best Practices

  • Keep profile names explicit and boring, such as work, personal, client-a, or school.
  • Use status, list, and doctor before destructive or Desktop actions.
  • Treat each profile as a separate local Codex home, not as a full sandbox.
  • Keep secrets inside the account/profile that owns them; do not copy auth files between profiles.
  • Prefer CLI profile commands for routine work and reserve Desktop app commands for user-approved context switches.
  • Verify behavior against the installed codex-profile --help, because command flags can change.

Limitations

  • codex-profiles is community-maintained and is not an official OpenAI tool.

…

자주 묻는 질문

이 도구가 컴퓨터의 모든 것을 분리하나요?

아니요, Codex 안의 정보(로그인이나 설정 등)만 분리합니다. 브라우저 기록이나 SSH 키 같은 다른 항목은 분리되지 않습니다.

이 도구로 Codex 계정을 바꿀 수 있나요?

네, 로그인 파일을 직접 복사하지 않고도 여러 계정이나 프로젝트 맥락을 안전하게 관리할 수 있도록 설계되었습니다.

이 도구는 Codex 공식 프로그램인가요?

아니요, 커뮤니티가 관리하는 프로젝트이며 공식 Codex나 OpenAI 도구가 아닙니다.

상세 정보

작성자의 원본 설명

Use codex-profiles to run Codex CLI or Codex Desktop with isolated CODEX_HOME profiles for separate accounts, projects, and local state.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4206
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬