Skip to content

Codex App: add Copy file path / folder path / relative path to file card Open menu #23133

Open

Description

@OrangeSee

Proposal

Add path-copy actions to the Codex Desktop App file/artifact card Open dropdown.

Suggested actions:

  • Copy file path
  • Copy folder path
  • Copy relative path from project/workspace root

Why

When Codex generates or edits files, users often need to paste exact paths back into Codex, Terminal, Finder, scripts, GitHub issues, or external tools.

Currently the workaround on macOS is:

  1. Click Open in folder
  2. Select the file in Finder
  3. Press Option + Command + C

This works, but it is slow and interrupts the workflow.

Suggested UI

In the existing file card Open dropdown:

  • Preview
  • Open with app
  • Open in folder
  • Copy file path
  • Copy folder path
  • Copy relative path

Scope

This request is for Codex Desktop App file/artifact cards.

It is not about the CLI /copy command or copying chat text.

Activity

  1. added
    enhancement
    app
    on May 17, 2026
  2. jonatassaraiva commented on Sep 12, 2026

    @jonatassaraiva

    This would also be very useful directly in the Codex Desktop file explorer/tree, not only in generated file/artifact cards.

    The file explorer already provides a context menu with actions such as Open in Google Chrome, Open with, Save as..., Copy path, and Add to chat. It would be great to add a Copy relative path action there as well.

    For example, given a workspace structure like:

    presentations/
      obi-ai-hub/
        index.html
    

    Right-clicking index.html and selecting Copy relative path should copy:

    presentations/obi-ai-hub/index.html
    

    instead of the absolute filesystem path.

    This is especially useful when working with Codex because relative paths can be pasted directly into prompts, documentation, AGENTS.md, issues, scripts, and repository instructions without exposing or depending on the developer's local filesystem structure.

    Suggested file explorer context menu:

    • Open with
    • Save as...
    • Copy path
    • Copy relative path
    • Add to chat

    The relative path should be calculated from the active project/workspace root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions