{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-health-brief",
    "name": "OpenClaw Health Brief",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/NathanielWeiner/openclaw-health-brief",
    "canonicalUrl": "https://clawhub.ai/NathanielWeiner/openclaw-health-brief",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-health-brief",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-health-brief",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "connectors/oura/__init__.py",
      "connectors/whoop/__init__.py",
      "connectors/withings/__init__.py",
      "core/normalize/__init__.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-health-brief"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/openclaw-health-brief",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-health-brief/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-health-brief/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-health-brief/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenClaw Health Brief",
        "body": "Daily health metrics from Oura, WHOOP, and Withings → normalized JSON + Markdown brief."
      },
      {
        "title": "Step 1: Configure secrets",
        "body": "Option A: 1Password (recommended)\n\nexport OP_SERVICE_ACCOUNT_TOKEN=\"your-token\"\nexport OPENCLAW_1P_VAULT=\"Assistant\"  # or your vault name\n\nCreate items in your vault with these titles and fields:\n\nOpenClaw Whoop → client_id, client_secret, token, refresh_token\nOpenClaw Oura → client_id, client_secret, token, refresh_token\nOpenClaw Withings → client_id, client_secret, access_token, refresh_token, user_id\n\nSee ./docs/1PASSWORD_CONVENTIONS.md for full field details.\n\nOption B: Environment variables\n\n# WHOOP\nexport WHOOP_ACCESS_TOKEN=\"...\" WHOOP_REFRESH_TOKEN=\"...\" WHOOP_CLIENT_ID=\"...\" WHOOP_CLIENT_SECRET=\"...\"\n# Oura\nexport OURA_PERSONAL_ACCESS_TOKEN=\"...\"  # or OAuth: OURA_REFRESH_TOKEN + OURA_CLIENT_ID + OURA_CLIENT_SECRET\n# Withings\nexport WITHINGS_CLIENT_ID=\"...\" WITHINGS_CLIENT_SECRET=\"...\" WITHINGS_REFRESH_TOKEN=\"...\" WITHINGS_USER_ID=\"...\""
      },
      {
        "title": "Step 2: Authorize providers",
        "body": "python3 ./bin/health-reauth all\n\nThis opens your browser for each provider. Click authorize, and tokens are saved to both 1Password and ~/.openclaw/secrets/health_tokens.json automatically.\n\nYou can also re-auth individually: python3 ./bin/health-reauth whoop"
      },
      {
        "title": "Step 3: Run your first brief",
        "body": "./bin/health-brief --date \"$(date +%F)\" --sources whoop,oura,withings --out \"./out/daily_health_$(date +%F).json\"\n\nThat's it. Token rotation is handled automatically — refreshed tokens persist to the local file so you don't need to re-auth again."
      },
      {
        "title": "Add to OpenClaw cron",
        "body": "Wire it into your morning routine with an OpenClaw cron job:\n\nopenclaw cron add \\\n  --name \"morning-health-brief\" \\\n  --schedule \"0 8 * * *\" \\\n  --tz \"America/New_York\" \\\n  --session-target isolated \\\n  --message 'Run the health brief:\nsource ~/.openclaw/secrets/gateway.env\nexport OPENCLAW_1P_VAULT=YourVault\n./bin/health-brief --date \"$(date +%F)\" --sources whoop,oura,withings --out \"/tmp/daily_health_$(date +%F).json\"\nRead the JSON output. Report only non-null metrics with a Green/Yellow/Red rating.'\n\nThe cron job runs as an isolated agent session — it executes the brief, reads the output, and delivers a formatted summary to your preferred channel."
      },
      {
        "title": "Smoke test (no creds needed)",
        "body": "./bin/smoke\n\nRuns in sample mode, validates JSON schema. Good for checking the skill is installed correctly."
      },
      {
        "title": "Check individual providers",
        "body": "./bin/whoop --date \"$(date +%F)\"\n./bin/oura --date \"$(date +%F)\"\n./bin/withings --date \"$(date +%F)\""
      },
      {
        "title": "Common errors",
        "body": "has_token: false → credentials not found. Check 1Password item names or env vars.\nrefresh_failed → refresh token expired. Run python3 ./bin/health-reauth <provider>\nmissing_credentials → client_id/client_secret not set."
      },
      {
        "title": "Validate output JSON",
        "body": "./bin/validate-json --in ./out/daily_health_YYYY-MM-DD.json"
      },
      {
        "title": "References",
        "body": "./docs/1PASSWORD_CONVENTIONS.md — field naming for 1Password items\n./docs/OURA.md, ./docs/WHOOP.md, ./docs/WITHINGS.md — provider API notes\n./docs/MORNING_BRIEF.md — morning brief intent and format"
      }
    ],
    "body": "OpenClaw Health Brief\n\nDaily health metrics from Oura, WHOOP, and Withings → normalized JSON + Markdown brief.\n\nSetup (3 steps)\nStep 1: Configure secrets\n\nOption A: 1Password (recommended)\n\nexport OP_SERVICE_ACCOUNT_TOKEN=\"your-token\"\nexport OPENCLAW_1P_VAULT=\"Assistant\"  # or your vault name\n\n\nCreate items in your vault with these titles and fields:\n\nOpenClaw Whoop → client_id, client_secret, token, refresh_token\nOpenClaw Oura → client_id, client_secret, token, refresh_token\nOpenClaw Withings → client_id, client_secret, access_token, refresh_token, user_id\n\nSee ./docs/1PASSWORD_CONVENTIONS.md for full field details.\n\nOption B: Environment variables\n\n# WHOOP\nexport WHOOP_ACCESS_TOKEN=\"...\" WHOOP_REFRESH_TOKEN=\"...\" WHOOP_CLIENT_ID=\"...\" WHOOP_CLIENT_SECRET=\"...\"\n# Oura\nexport OURA_PERSONAL_ACCESS_TOKEN=\"...\"  # or OAuth: OURA_REFRESH_TOKEN + OURA_CLIENT_ID + OURA_CLIENT_SECRET\n# Withings\nexport WITHINGS_CLIENT_ID=\"...\" WITHINGS_CLIENT_SECRET=\"...\" WITHINGS_REFRESH_TOKEN=\"...\" WITHINGS_USER_ID=\"...\"\n\nStep 2: Authorize providers\npython3 ./bin/health-reauth all\n\n\nThis opens your browser for each provider. Click authorize, and tokens are saved to both 1Password and ~/.openclaw/secrets/health_tokens.json automatically.\n\nYou can also re-auth individually: python3 ./bin/health-reauth whoop\n\nStep 3: Run your first brief\n./bin/health-brief --date \"$(date +%F)\" --sources whoop,oura,withings --out \"./out/daily_health_$(date +%F).json\"\n\n\nThat's it. Token rotation is handled automatically — refreshed tokens persist to the local file so you don't need to re-auth again.\n\nAdd to OpenClaw cron\n\nWire it into your morning routine with an OpenClaw cron job:\n\nopenclaw cron add \\\n  --name \"morning-health-brief\" \\\n  --schedule \"0 8 * * *\" \\\n  --tz \"America/New_York\" \\\n  --session-target isolated \\\n  --message 'Run the health brief:\nsource ~/.openclaw/secrets/gateway.env\nexport OPENCLAW_1P_VAULT=YourVault\n./bin/health-brief --date \"$(date +%F)\" --sources whoop,oura,withings --out \"/tmp/daily_health_$(date +%F).json\"\nRead the JSON output. Report only non-null metrics with a Green/Yellow/Red rating.'\n\n\nThe cron job runs as an isolated agent session — it executes the brief, reads the output, and delivers a formatted summary to your preferred channel.\n\nSmoke test (no creds needed)\n./bin/smoke\n\n\nRuns in sample mode, validates JSON schema. Good for checking the skill is installed correctly.\n\nTroubleshooting\nCheck individual providers\n./bin/whoop --date \"$(date +%F)\"\n./bin/oura --date \"$(date +%F)\"\n./bin/withings --date \"$(date +%F)\"\n\nCommon errors\nhas_token: false → credentials not found. Check 1Password item names or env vars.\nrefresh_failed → refresh token expired. Run python3 ./bin/health-reauth <provider>\nmissing_credentials → client_id/client_secret not set.\nValidate output JSON\n./bin/validate-json --in ./out/daily_health_YYYY-MM-DD.json\n\nReferences\n./docs/1PASSWORD_CONVENTIONS.md — field naming for 1Password items\n./docs/OURA.md, ./docs/WHOOP.md, ./docs/WITHINGS.md — provider API notes\n./docs/MORNING_BRIEF.md — morning brief intent and format"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/NathanielWeiner/openclaw-health-brief",
    "publisherUrl": "https://clawhub.ai/NathanielWeiner/openclaw-health-brief",
    "owner": "NathanielWeiner",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-health-brief",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-health-brief",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-health-brief/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-health-brief/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-health-brief/agent.md"
  }
}