Use Built-in Commands
Alice provides several slash commands that bypass the LLM and are handled directly by the connector. All commands work in both group chats and direct messages.
/help
Displays the built-in command help card with all available commands.
/help
/status
Shows a status card with:
- Total sessions and usage counters
- Active automation tasks
- Current LLM backend and session details
/status
/clear
Resets the current chat scene session. The next message starts a fresh conversation with no prior context.
/clear
Only affects
chatscenes.workscenes are thread-scoped and reset naturally when the thread ends.
/stop
Immediately cancels the currently running LLM call for the active session.
/stop
Use this when the agent is stuck in a loop or taking too long. The bot will acknowledge the stop and become available for new messages.
/session
Binds a Feishu work thread to an existing backend session. Useful for resuming long-running tasks after a restart.
/session <backend-session-id>
/session <backend-session-id> Continue the review
- Without an instruction: binds the session, no LLM call
- With an instruction: binds the session and immediately calls the LLM with the instruction
Only works in
workscene threads.
/cd, /ls, /pwd
Inspect and change the current working directory for the active work session:
/pwd # Show current directory
/ls # List files
/ls internal/ # List files in subdirectory
/cd /tmp/build # Change directory
These commands only affect work sessions. The directory change persists for the duration of the session.
Command Precedence
When a message starts with /, Alice checks for built-in commands before routing to the LLM:
- Built-in command match → handle directly
- No match → route to scene (LLM handles it)
To force a message starting with / to go to the LLM, prefix it with a space or use the work trigger:
/some-custom-command # Space before slash → LLM path
@Alice #work /some-cmd # Work trigger → LLM path