Skip to content

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

@Wizmann

Description

@Wizmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions