Feature Request: Run Claude with a slash command from CLI and provide arguments

Resolved 💬 6 comments Opened Jun 22, 2025 by alvinycheung 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 great
claude -slash ['/prime $ARGUMENTS', '/do_work $ARGUMENTS', '/close_out $ARGUMENTS']

Thanks for considering it!

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗