codex icon indicating copy to clipboard operation
codex copied to clipboard

Support for custom commands (custom slash commands)

Open bgpedersen opened this issue 3 months ago • 2 comments

What version of the VS Code extension are you using?

0.4.46

What subscription do you have?

ChatGPT Business

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

We have a need to be able run our own custom commands/prompts.

It seems the extension does not read from the .codex folder for anything, like the Codex CLI does. It would make sense that the extension reads .codex folder, as a place to live for codex custom commands and rules.

Currently the extension only support general slash commands - but no custom commands.

What steps can reproduce the bug?

  1. make a custom command in .codex or similar .codex/prompts folder.
  2. try and call it by writing / in the chat. It is not found.

What is the expected behavior?

  1. make a custom command in .codex or similar .codex/prompts folder.
  2. try and call it by writing / in the chat. It is now found and can be executed like a command.
  3. it will read the content of the file just like a prompt

Additional information

Other Agents can do this. Like Claude, Co-Pilot, Cursor etc.

bgpedersen avatar Dec 02 '25 06:12 bgpedersen

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #7365

Powered by Codex Action

github-actions[bot] avatar Dec 02 '25 07:12 github-actions[bot]

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

Powered by Codex Action

The issue you linked to is for the CLI. This issue is targeting the VS Code Extension.

bgpedersen avatar Dec 02 '25 07:12 bgpedersen