Skip to main content
The following commands can be used in chat with the / prefix or in the terminal with the cow prefix (some are chat-only).
In the Web console, typing / brings up an autocomplete menu with keyboard navigation and Tab completion.

help

Show help information for all available commands.

status

View current session and service status, including process info, model configuration, message count, and loaded skills.

cancel

Abort the agent task currently running in this session. When the agent is busy with a long task (e.g. multi-turn tool calls or a long streaming response), send /cancel and the agent will stop before the next tool execution. Available across all channels — Web, WeChat, WeCom, Feishu, etc.

steer

Redirect the Agent task currently running in this session without cancelling it. The instruction is injected at the next safe checkpoint; a tool that is already running may finish, while tools that have not started are skipped. If no task is active, /steer does not start or queue a new one. Available across all chat channels.
In the Web console, enter an instruction while a reply is running and click Steer active task. Sending an ordinary message still uses the session queue.

config

View or modify runtime configuration. Changes take effect immediately without restarting. View all configurable items:
View a single item:
Modify a config item:
Configurable items:
When changing model, the system automatically matches the corresponding model API. Configuration is persisted to config.json.

context

View current session context statistics, including message count and content length.
Clear current session context:
Clearing context makes the Agent “forget” previous conversation, useful for switching topics or freeing context space. /context clear still works as an alias.

compact

Summarize older turns to free up context while keeping recent turns intact. Unlike automatic trimming, this runs immediately regardless of current token usage.
Use /compact before a long task to reclaim context space without fully clearing the conversation. Recent turns and an LLM summary of older turns are retained.

logs

View recent service logs. Shows the last 20 lines by default, up to 50.
Specify line count:

version

Show the current CowAgent version.