# Switch

> Switch current session to codex. UltraContext keeps your original context. Use when this capability is needed.

- Skill: `tomevault-io/switch` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/switch`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/switch/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/switch

---


# /switch — Cross-agent session portability by UltraContext

Switch your current conversation to another AI agent with full context.

## Usage

`/switch <target>` where target is: `codex` or `claude`

Optional flags: `--last N` (carry only last N messages), `--no-launch` (write session file only)

## Steps

1. Run:
```bash
ultracontext switch $ARGUMENTS
```

2. If `ultracontext` is not installed, tell the user: `npm i -g ultracontext` or `bun add -g ultracontext`

3. Report: session ID, file path, message count. Codex will open in a new terminal tab automatically.

---
> Source: [ultracontext/ultracontext](https://github.com/ultracontext/ultracontext) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-29 -->

