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 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 ↗