Skip to content

Add custom slash commands - #2453

Closed
semioz wants to merge 6 commits into
openai:mainfrom
semioz:custom-slash
Closed

semioz wants to merge 6 commits into
openai:mainfrom
semioz:custom-slash

Conversation

@semioz

@semioz semioz commented Aug 19, 2025 •

Copy link
Copy Markdown

This PR adds support for custom slash commands. Users can create reusable commands by placing markdown files in ~/.codex/commands/ (user commands) or .codex/commands/ (project commands).

Commands also support $ARGUMENTS placeholder substitution and appear in the existing slash command popup alongside built-in commands.

Mentioned in issues #913 and #2014.

Example usage with custom accelerate command:

ss 2025-08-19 at 22 20 03

having 'chatwidget.rs' as its argument:

ss 2025-08-19 at 22 20 56

my ~/.codex folder:

ss 2025-08-19 at 22 24 03

@github-actions

github-actions Bot commented Aug 19, 2025 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@semioz

semioz commented Aug 19, 2025

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Aug 19, 2025
@semioz
semioz marked this pull request as ready for review August 19, 2025 19:24
@smat-dev

Copy link
Copy Markdown

Thank you for implementing this, it's a much needed feature!

@onerok

onerok commented Aug 29, 2025

Copy link
Copy Markdown

Merge it! Can't wait for this!

@semioz

semioz commented Aug 29, 2025

Copy link
Copy Markdown
Author

it's being merged in another pr: #2696

@semioz semioz closed this Aug 29, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants