Monitored single-subtask execution workflow. Use the repository MCP service `corobot_mcp_server` to start, monitor, stop, and reset one prompt-driven robot rollout through the sequence `set_evaluate_params`, poll `get_status`, then `stop/reset`. Use this skill whenever a larger workflow needs one repeatable, safe execution unit with timeout handling and deterministic cleanup.
Use a standardized procedure to call corobot_mcp_server MCP tools and execute one monitored robot subtask. In practice this is one CoRobot PolicyTask run defined by a prompt, an optional policy host/port, and an optional step_interval, followed by deterministic monitoring and cleanup.
prompt: task instruction to execute; keep it directly executable and unambiguouspolicy.host / policy.port: optional policy server; if omitted, the service default 127.0.0.1:8001 is usedstep_interval: optional step interval; service default is 1.5timeout_s: maximum time to wait for this runpoll_interval_s: interval for polling get_status, for example 0.5 to 2.0reset_after: whether to call reset_task after completion and return to the home pose; collection workflows usually want truemax_retries: number of retries after failure; usually 0 to 2Core tools, named as {service_name}___{tool_name}:
corobot_mcp_server___set_evaluate_params: set the prompt, policy, and step_interval, then auto-start the task after a short delaycorobot_mcp_server___get_status: retrieve PolicyTask status to determine running, success, or failure statecorobot_mcp_server___stop_task: stop the current task; prefer this before manual interventioncorobot_mcp_server___reset_task: stop and reset the robot to the initial poseOptional tools, usually not needed:
corobot_mcp_server___start_task: explicit start; usually unnecessary because set_evaluate_params already auto-startscorobot_mcp_server___get_prompt / corobot_mcp_server___set_prompt: inspect or set the current promptFor exact argument structure, see references/mcp-tool-map.md.
When no prompt should be executed and you only need to return the robot to a reusable start state:
corobot_mcp_server___stop_task if a task might still be running.corobot_mcp_server___reset_task.corobot_mcp_server is configured in src/agent_demo/config/ormcp_services.json.reset_after=false.reset_after=true.Call corobot_mcp_server___set_evaluate_params.
Argument template:
{
"evaluate_params": {
"policy": {"host": "127.0.0.1", "port": 8001},
"prompt": "<prompt>",
"step_interval": 1.5
}
}
Important behavior:
set_evaluate_params waits briefly and auto-calls start_task. Do not call start_task again unless you have a specific reason.corobot_mcp_server___get_status every poll_interval_s until one of these conditions is met:timeout_s is reachedSuccess path:
reset_after=true, call corobot_mcp_server___reset_task.prompt, policy host/port, step_interval, start time, end time, and final status text.Failure, timeout, or uncertain-status path:
corobot_mcp_server___stop_task.corobot_mcp_server___reset_task.max_retries allows another attempt, return to Step 1. Otherwise mark the run as failed and exit.http://localhost:8765 and that the robot control stack is healthy.stop_task -> reset_task. Pause and restore the environment manually if needed.references/mcp-tool-map.md: corobot_mcp_server tool list, naming rules, and argument structure