Feature Request: Claude-style /ide command to attach Codex CLI to the active IDE session

Resolved 💬 4 comments Opened Mar 7, 2026 by Wizmann Closed May 3, 2026

What variant of Codex are you using?

CLI + VS Code

What feature would you like to see?

Please add a Claude Code–style /ide command to Codex CLI.

Goal: let a terminal Codex session attach to the active IDE session and pull in editor-aware context such as the focused file, current selection, and open tabs.

Additional information

Why this matters

Right now, Codex’s IDE extension can work with IDE context, while CLI workflows rely more on manual file/path attachment. For terminal-first users, this adds friction.

A first-class /ide attach flow would make it much easier to ask Codex about “the file I’m currently looking at” without switching UI or manually attaching paths.

Proposed UX

  • /ide → attach to active VS Code session
  • /ide status → show current IDE connection
  • /ide disconnect → disconnect session

Minimum useful scope

  • active file
  • current selection
  • open tabs

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗