🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

OpenClaw Dashboard Connector - ClawHQ

by @zachmael

Reports AI agent status to ClawHQ dashboard via API on each heartbeat or manual trigger for real-time monitoring.

Versionv1.0.1
Downloads1,025
Installs1
Comments2
TERMINAL
clawhub install clawhq-dashboard

πŸ“– About This Skill

ClawHQ Dashboard Connector

Report agent status, heartbeats, and task completions to your ClawHQ dashboard.

Requirements

Environment variable must be set:

  • CLAWHQ_API_KEY β€” Your ClawHQ API key (generate in Settings β†’ API Keys)
  • Behavior

    On Session Start

    Report status "working" with the current task:

    Windows (PowerShell):

    $headers = @{ "Authorization" = "Bearer $env:CLAWHQ_API_KEY"; "Content-Type" = "application/json" }
    $body = @{ agent = ""; status = "working"; task = "" } | ConvertTo-Json
    Invoke-RestMethod -Uri "https://app.clawhq.co/api/agents/report" -Method Post -Headers $headers -Body $body
    

    Mac/Linux (curl):

    curl -s -X POST "https://app.clawhq.co/api/agents/report" \
      -H "Authorization: Bearer $CLAWHQ_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"agent":"","status":"working","task":""}'
    

    On Session End

    Report status "idle":

    Windows:

    $headers = @{ "Authorization" = "Bearer $env:CLAWHQ_API_KEY"; "Content-Type" = "application/json" }
    $body = @{ agent = ""; status = "idle" } | ConvertTo-Json
    Invoke-RestMethod -Uri "https://app.clawhq.co/api/agents/report" -Method Post -Headers $headers -Body $body
    

    Mac/Linux:

    curl -s -X POST "https://app.clawhq.co/api/agents/report" \
      -H "Authorization: Bearer $CLAWHQ_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"agent":"","status":"idle"}'
    

    On Heartbeat

    Post a heartbeat to keep the dashboard current. Use the same commands above with "status":"heartbeat".

    Notes

  • All calls should be fire-and-forget β€” wrap in try/catch so failures never block the agent.
  • Replace with the agent's name (e.g. "Eros", "Atlas").
  • The API auto-creates agents on first report β€” no setup needed in the dashboard.
  • πŸ“‹ Tips & Best Practices

  • All calls should be fire-and-forget β€” wrap in try/catch so failures never block the agent.
  • Replace with the agent's name (e.g. "Eros", "Atlas").
  • The API auto-creates agents on first report β€” no setup needed in the dashboard.