Feature Request: Run Claude with a slash command from CLI and provide arguments
Status Closed — not planned
Maintainer reply None cached
Activity 6 comments · opened Jun 22, 2025 · closed Jan 30, 2026
I'm trying to spawn new Claude agents from a process and the first thing I want them to do is run an array of slash commands.
Something like this would be so greatclaude -slash ['/prime $ARGUMENTS', '/do_work $ARGUMENTS', '/close_out $ARGUMENTS']
Thanks for considering it!
6 Comments
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
I would like this as well.
Upvote!
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.