9 lines
399 B
Bash
Executable File
9 lines
399 B
Bash
Executable File
#!/bin/bash
|
|
# V89 Skill-to-Agent POC - Opus WIRE 19-avr doctrine 95
|
|
# Skill: curl-check
|
|
# Description: HTTP health check
|
|
# Whitelist-safe: no sudo, no destructive ops, timeout-protected
|
|
|
|
set -e
|
|
timeout 8 bash -c 'curl -sk -o /dev/null -w '{"http":%{http_code},"time":%{time_total}}' --max-time 5 https://weval-consulting.com' 2>&1 || echo "{\"skill\":\"curl-check\",\"error\":\"timeout_or_error\"}"
|