This skill lets you monitor your Flowtriq-protected infrastructure directly from your OpenClaw agent. Ask natural language questions and the agent will query the Flowtriq API and interpret the results for you.
Base URL: https://flowtriq.com Auth headers required on all agent endpoints:
text
Authorization: Bearer $FLOWTRIQ_API_KEY
X-Node-UUID: $FLOWTRIQ_NODE_UUID
text
GET https://flowtriq.com/api/health
No auth needed. Returns { "status": "ok" }. Use this first to confirm
the Flowtriq platform is reachable before making authenticated calls.
text
GET https://flowtriq.com/api/v1/agent/config
Headers: Authorization + X-Node-UUID
Returns the node's current PPS threshold, baseline stats (p99, mean), loaded IOC patterns, and any pending commands queued for the agent.
Key fields to surface to the user:
pps_threshold — what PPS level triggers an incidentbaseline.p99_pps — the node's normal p99 traffic levelbaseline.mean_pps — average baselineioc_patterns — count how many are loadedpending_commands — flag any that exist, user may want to reviewtext
POST https://flowtriq.com/api/v1/agent/metrics
Headers: Authorization + X-Node-UUID
The agent POSTs metrics to this endpoint every second. To read current
traffic state, use the dashboard API. Since the dashboard endpoints require
session auth, instruct the user to check https://flowtriq.com/dashboard
for a live view, or pull from config endpoint for baseline context.
text
POST https://flowtriq.com/api/v1/agent/incident
Headers: Authorization + X-Node-UUID
The agent uses this to open and update incidents. When interpreting incident data returned or confirmed by the user, extract and explain:
FieldWhat to tell the userattack_familyPlain English: "UDP flood", "SYN flood", etc.severityLow / Medium / High / Criticalpeak_pps"peaked at X packets per second"peak_bpsConvert to Gbps/Mbps for readabilitysource_ip_count"came from X unique source IPs"geo_breakdownTop countries by volumeioc_matchesNamed botnet/pattern matchesspoofing_detectedWarn user if truebotnet_detectedWarn user if true
Attack family plain-English map:
udp_flood = UDP Floodsyn_flood = SYN Floodhttp_flood = HTTP Floodicmp_flood = ICMP/Ping Flooddns_flood = DNS Amplificationmulti_vector = Multi-Vector (combined attack types)unknown = UnclassifiedSeverity guidance:
low = below 2x baseline, informationalmedium = 2-5x baseline, monitor closelyhigh = 5-20x baseline, mitigation likely activecritical = 20x+ baseline, full response modetext
POST https://flowtriq.com/api/deploy
Headers: Authorization: Bearer YOUR_DEPLOY_TOKEN
Body: { "name": "node-name", "ip": "x.x.x.x" }
Note: this uses a deploy token not the node API key. The user must
provide their deploy token separately. Returns a new node_uuid and
api_key for the registered node.
Always translate raw API data into plain NOC-style summaries. Example patterns:
All clear:
"Your node is online. Baseline p99 is 12,000 PPS, threshold set at 50,000 PPS. No active incidents. 8 IOC patterns loaded."
Active attack:
"Active incident on [node]. SYN flood, critical severity. Peaked at 47,821 PPS (1.7 Gbps). 3,241 source IPs, spoofing detected. IOC match: mirai-variant (94% confidence). Mitigation should be active — check your dashboard for FlowSpec rule status."
Degraded / agent offline:
"The Flowtriq platform is reachable but your node hasn't sent a heartbeat recently. Your agent may be down. Run
sudo systemctl status ftagenton the server to check."
HTTPMeaningTell the user401Bad API key"Your API key looks wrong or expired. Rotate it in the Flowtriq dashboard."402Payment issue"Your Flowtriq subscription may have lapsed. Check billing."409Duplicate node name"A node with that name already exists in your workspace."400Missing fieldsShow which fields are missing and ask user to provide them5xxPlatform error"Flowtriq returned a server error. Check https://flowtriq.com/status for outages."
If FLOWTRIQ_API_KEY or FLOWTRIQ_NODE_UUID are missing, tell the user:
"To use this skill you need two environment variables set in OpenClaw:
FLOWTRIQ_API_KEY— find this in your Flowtriq dashboard under Settings > API KeysFLOWTRIQ_NODE_UUID— find this on your node's settings pageAdd them to your OpenClaw env config and reload the agent."
references/attack-types.md — detailed breakdown of all 8 attack
families, what causes them, and recommended responsesreferences/api-endpoints.md — full endpoint reference with all
parameters for quick lookup during complex tasks