codex icon indicating copy to clipboard operation
codex copied to clipboard

slash commands parity in vscode extension

Open yitoli-c opened this issue 1 month ago • 9 comments

What version of the VS Code extension are you using?

0.4.51

What subscription do you have?

Enterprise

Which IDE are you using?

VS Code

What platform is your computer?

No response

What issue are you seeing?

codex vscode extension does not have the / commands parity to codex CLI.

e.g.,

/mcp /compact ...

Taking /mcp as an example, there's currently no visibility into what servers and tools available from the UI.

What steps can reproduce the bug?

No need to repro. More of a feature request on vscode extension.

What is the expected behavior?

No response

Additional information

No response

yitoli-c avatar Dec 12 '25 22:12 yitoli-c

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

  • #7949
  • #5917

Powered by Codex Action

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

Thanks for the suggestion.

Many of the slash commands in the CLI either don't make sense or have GUI-specific implementations. This includes "/resume", "/mention", "/logout", "/quit", "/diff", "/approvals", "/model" and "/new".

We've already implemented "/feedback" and "/status".

We're working on a new GUI configuration for MCP, so an "/mcp" slash command would be redundant.

The "/compact" feature is increasingly obsolete now that we have high-quality auto-compaction implemented in the latest models, so we haven't prioritized that.

The "/undo" feature has been pretty problematic; I think we need to figure out how to fix it or replace it with something better.

I think that just leaves "/init".

etraut-openai avatar Dec 12 '25 22:12 etraut-openai

@etraut-openai Did you forget about the "$" and the usage of the skill feature in the IDE extension?

Proview-China avatar Dec 14 '25 16:12 Proview-China

~~The skills feature doesn't introduce any new slash commands.~~ It's also still under development at this time.

Edit: I was incorrect about this. The skills feature does add a new slash command, so yes, this should be added to the list.

etraut-openai avatar Dec 14 '25 17:12 etraut-openai

~技能功能并未引入任何新的斜杠命令。~目前它仍在开发中。

编辑:我之前的说法有误。技能功能确实添加了一个新的斜杠命令,所以是的,应该将其添加到列表中。

On the contrary, I think there are some issues with adding skills to slash commands.

Skills should be something that GPT itself decides to use based on whether the current content requires a predefined skill to solve the problem.
If a skill still needs to be manually invoked by the user, then why wouldn’t I just use a simpler and more direct custom slash command to solve the problem and streamline my workflow?

In my opinion, custom slash commands are more like clickable buttons:

  • they are explicitly triggered by humans
  • they are mainly about timing

This makes them better suited for defining workflows.

Skills, on the other hand, are more like tools, similar to existing ones such as:

  • view_image_tool
  • shell_tool
  • web_search_request

Finally, why did you suddenly introduce a mechanism where prefixing a command with an exclamation mark allows it to be executed without model involvement, while still injecting the command into the context?

This behavior is not intuitive at all and is largely undocumented.

Proview-China avatar Dec 15 '25 16:12 Proview-China

~Hey @etraut-openai , I would like to add /review for consideration in codex VSC extension. This was what I missed when working with the cli vs the extension.~ This would leave, if I summarized correctly:

  • /init
  • ~/review~
  • Command for skill $ (new command)

EDIT: Removed /review, as this was implemented already. User error on my site.

laenan8466 avatar Dec 16 '25 13:12 laenan8466

/review is already supported in the VSC extension. It was added about a month ago.

etraut-openai avatar Dec 16 '25 15:12 etraut-openai

/review is already supported in the VSC extension. It was added about a month ago.

Dang, thank you @etraut-openai for pointing out. Short addition, what went to my misinterpretation:

  1. I typed /
  2. A new context menu is opening, that is empty.
  3. I wrongly thought the / is missing and typed /review --> No commands is displayed.

Maybe this is a UX improvement - but priority very low. :-D And if people are not coming from the CLI they will never notice.

I updated my comment from above.

laenan8466 avatar Dec 16 '25 16:12 laenan8466

Agreed with @etraut-openai! Otherwise I'd add that skills are coming to the extension very soon

ae-openai avatar Dec 16 '25 16:12 ae-openai