원클릭으로
switch
Switch Claude Code to a different project folder with full context reload
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Switch Claude Code to a different project folder with full context reload
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Search episodic memory - sessions, progressions, and documents across all projects
Quick reference card for all Project Intelligence commands
Track evolving understanding of a topic through a sequence of documents
Save the current conversation insight as a reusable skill in the knowledge repo
Discover all installed plugins, skills, and commands available in this environment
Track and search what you (or others) have done — GitHub activity, issues, PRs, commits
| name | switch |
| description | Switch Claude Code to a different project folder with full context reload |
| user_invocable | true |
Switch to a different project folder. Claude exits and restarts in the target folder with that project's full context (progressions, sessions, preferences) loaded automatically.
/switch <project-name>
When the user invokes /switch:
${CLAUDE_PLUGIN_ROOT:-~/.claude/project-intelligence}/bin/pi-switch "$ARGUMENTS"
This writes the target folder to ~/.claude/.switch-target.
Tell them: "Switching to [project]. Exiting now — Claude will restart in the new folder."
cc function) will detect the switch target, cd to the folder, and relaunch Claude automatically.IMPORTANT: After running pi-switch, you MUST exit. The switch only works if Claude exits so the shell wrapper can take over.
The user must use the cc shell wrapper function instead of calling claude directly. If not installed, tell them to add this to their ~/.zshrc:
# Claude Code with project switching support
cc() {
while true; do
claude "$@"
if [[ -f ~/.claude/.switch-target ]]; then
local target
target=$(cat ~/.claude/.switch-target)
rm -f ~/.claude/.switch-target
cd "$target" || break
set --
else
break
fi
done
}
Then restart their shell: source ~/.zshrc
/switch cloudfix — Switch to the cloudfix project/switch pi-dev — Switch back to pi-dev/switch ~/cc/new-project — Switch to an absolute path