Request input from user's mobile device when they're away. Use when you need simple input (1/2/3, Y/N) and the user may not be at their computer.
Request simple input from the user's mobile device via the Claude Traveller app. This is useful when:
Use this skill when:
Do NOT use this skill for:
Parse $ARGUMENTS for:
--options or -o: Comma-separated list of options (e.g., "1,2,3" or "yes,no")--timeout or -t: Timeout in seconds (default: 300 = 5 minutes)--project or -p: Project tag (optional, for context)When invoked, follow these steps:
Extract the prompt and any options from the arguments. Examples:
/request-mobile-input "Which approach? 1=Refactor, 2=Rewrite, 3=Skip" --options 1,2,3/request-mobile-input "Continue with deployment?" --options yes,no/request-mobile-input "Enter the API key prefix"Read the Claude Traveller config to get the listener connection details:
CONFIG_FILE="$HOME/.claude-traveller/config.json"
Extract:
listener.port (default: 41420)listener.auth_tokennetwork.tls.enabled (to determine http vs https)Use curl to call the /input-request endpoint:
# Example for numeric options
curl -s -X POST "http://localhost:41420/input-request" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AUTH_TOKEN" \
-d '{
"prompt": "Which approach should I use?",
"options": ["1", "2", "3"],
"input_type": "numeric",
"timeout_seconds": 300
}'
The endpoint will block until:
Success response:
{
"success": true,
"response": "2",
"responded_by": "mobile",
"response_time_ms": 15000
}
Error response (no devices):
{
"success": false,
"error": "No mobile devices connected for monitoring",
"connected_devices": 0
}
Error response (timeout):
{
"success": false,
"error": "Mobile input request timed out after 300 seconds",
"connected_devices": 1
}
After receiving the response:
/request-mobile-input "Which database migration strategy? 1=Incremental, 2=Full rebuild, 3=Skip" --options 1,2,3
/request-mobile-input "Deploy to production?" --options yes,no
/request-mobile-input "Enter the environment name" --timeout 120
claude-traveller start)-k flag with curl to accept self-signed certsIf the mobile request fails:
curl http://localhost:41420/health)curl http://localhost:41420/monitor/status)