Skip to main content

Slash Commands

MicroClaw supports the following slash commands in chat channels.

Supported channels: Telegram, Discord, Slack, Feishu/Lark, IRC.

Commands

CommandDescription
/clearClear current chat context (session + chat history) but keep scheduled tasks for that chat.
/resetClear current chat context (session + chat history) and remove scheduled tasks for that chat.
/reset memoryClear current chat memory (chat AGENTS.md + structured memories) without clearing conversation or tasks.
/stopAbort the active run in the current chat. Does not clear session or chat history.
/skillsList all currently available skills discovered by runtime.
/reload-skillsReload skills from disk and return the reloaded count.
/archiveArchive current in-memory session as a markdown conversation file.
/usageShow usage and memory observability summary for current chat.
/statusShow current provider/model (effective for this bot account) and current-chat status summary.
/providersList configured provider profiles and indicate the active one.
/providerShow current provider/model. /provider <profile> switches the current bot account to that provider profile and persists it to config. /provider reset clears the current bot account override.
/modelsList configured models for the active provider. /models api fetches the live provider model list when supported.
/modelShow current provider/model. /model <name> switches the current bot account model override and persists it to config. /model reset clears the current bot account override.

Notes

  • Any input starting with / is treated as a command.
  • Inputs with leading mentions before slash are also treated as commands (for example @bot /status, <@U123> /status).
  • Commands are matched exactly (for example, /reset).
  • Chat commands such as /reset, /clear, /stop, /usage, and /archive are scoped to the current chat conversation.
  • /provider and /model are scoped to the current bot account, not all bots on the same channel type.
  • Slash command inputs are not appended to agent conversation history/session context.
  • Unknown slash commands return Unknown command..
  • /stop only aborts in-flight work for the current chat; it does not clear context.
  • In group/server/channel chats, slash commands are mention-gated by default.
  • To disable mention-gating for group slash commands, set allow_group_slash_without_mention: true.
  • /archive is manual; automatic archive may also happen before context compaction.
  • /provider and /model changes are persisted into microclaw.config.yaml for the current bot/account, so they survive restart.