Use this skill when the user's intent is to execute a system or plugin function. Applicable scenarios include: 1) The user sends a slash command starting with / (e.g. /cookiecloud, /sites, /subscribes, etc.); 2) The user describes an action in natural language that can be fulfilled by a system or plugin command (e.g. "sync sites", "show subscriptions", "refresh subscriptions", "check downloads", etc.). This skill helps you identify the user's intent, find the matching command, extract necessary parameters, and execute the corresponding command.
Use this skill to identify user intent and dispatch the corresponding system or plugin command.
/xxx slash command (execute directly)/cookiecloud/subscribes/subscribe_refresh/downloading/transfer/clear_cache/restart/pause_torrents (plugin command)list_slash_commands — List all available slash commands (system + plugin), returns command name, description, and categoryquery_plugin_capabilities — Query detailed plugin capabilities (commands, actions, scheduled services)run_slash_command — Execute a specified command (works for both system and plugin commands)Determine whether the user's message is requesting the execution of a command:
/, e.g. /sites, /subscribes → skip to Step 3Use list_slash_commands to retrieve all available commands. Match the user's described intent against the description and category fields of each command.
If the user's description involves a specific plugin's functionality, additionally use query_plugin_capabilities to query that plugin's detailed capabilities.
Matching strategy:
Some commands support additional arguments (space-separated after the command), for example:
/redo <history_id> — Manually re-organize a specific record/subscribe_delete <name> — Delete a specific subscriptionUse run_slash_command to execute the command in the format /command_name arg1 arg2.
Command execution is asynchronous. After triggering, inform the user that the command has started. If the command does not exist, list available commands for reference.
run_slash_command tool — no need to distinguish between themlist_slash_commands first to look up before deciding