Shell
cmd/crewship/cmd_shell.go opens an interactive REPL session. Each typed line is dispatched to the default agent via the ask pipeline; slash-commands inside the REPL control session state. @-prefixed tokens (e.g. summarise @notes.md) inline file content via the same ExpandAtFiles helper used elsewhere.
The active agent latches across turns — /agent viktor, then plain “what’s up” still targets viktor.
crewship shell
No flags. The REPL is built on cli.NewREPL() and reads until EOF (Ctrl-D) or /quit.
Slash commands (v1)
Examples (typed at the prompt)
Sticky state
Once set,/agent, /effort, /think, and /plan persist across turns. Plan-mode in particular wraps every subsequent prompt with the plan-mode prefix until /plan toggles it off — handy for an architect-only working session.
Common errors
no active agent. Set one with /agent <slug>— no default-agent configured and no/agentissued.usage: /workspace <slug>—/workspace(or/cd) called with no argument.
See also
crewship ask— the one-shot equivalent;shellis essentially a REPL wrapper around it.crewship slash— top-level slash commands (different surface: user-defined.mdfiles).crewship tui— full-screen Bubble Tea dashboard for monitoring rather than chat.