{
  "schemaVersion": "1.0",
  "item": {
    "slug": "umami-stats",
    "name": "Umami Stats",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/hfichter/umami-stats",
    "canonicalUrl": "https://clawhub.ai/hfichter/umami-stats",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/umami-stats",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=umami-stats",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/read-endpoints.md",
      "scripts/umami_query.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. 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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.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/umami-stats"
    },
    "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/umami-stats",
    "agentPageUrl": "https://openagent3.xyz/skills/umami-stats/agent",
    "manifestUrl": "https://openagent3.xyz/skills/umami-stats/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/umami-stats/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Umami Stats (Read-only API skill)",
        "body": "Use this skill as a data-access layer: fetch Umami analytics data, then let the agent decide analysis/strategy."
      },
      {
        "title": "Required environment variables",
        "body": "UMAMI_API_KEY (required)\nUMAMI_BASE_URL (optional, default: https://api.umami.is)\nUMAMI_WEBSITE_ID (optional default site)\nUMAMI_DEPLOYMENT (optional: cloud or self-hosted, default: cloud)"
      },
      {
        "title": "API path conventions (explicit)",
        "body": "Umami Cloud: https://api.umami.is/v1/...\nSelf-hosted Umami: https://<your-host>/api/...\n\nThe script supports both:\n\n--deployment cloud → uses cloud behavior (/v1 + x-umami-api-key)\n--deployment self-hosted → uses self-hosted behavior (/api + Authorization: Bearer ...)"
      },
      {
        "title": "Read-only workflow",
        "body": "Pick endpoint from docs or references/read-endpoints.md.\nRun scripts/umami_query.py with endpoint + params.\nUse presets (today, last7d, etc.) or custom startAt/endAt.\nAnalyze returned JSON for the user task."
      },
      {
        "title": "Quick commands",
        "body": "# 1) List websites\npython3 scripts/umami_query.py --endpoint /v1/websites\n\n# 2) Website stats for last 7 days (default website from env)\npython3 scripts/umami_query.py \\\n  --endpoint /v1/websites/{websiteId}/stats \\\n  --preset last7d\n\n# 3) Top pages with explicit website id\npython3 scripts/umami_query.py \\\n  --endpoint /v1/websites/{websiteId}/pageviews \\\n  --website-id \"$UMAMI_WEBSITE_ID\" \\\n  --preset last30d\n\n# 4) Events series with custom window\npython3 scripts/umami_query.py \\\n  --endpoint /v1/websites/{websiteId}/events/series \\\n  --param startAt=1738368000000 \\\n  --param endAt=1738972799000\n\n# 5) Legacy path auto-mapping in cloud mode (/api/... -> /v1/...)\npython3 scripts/umami_query.py --endpoint /api/websites/{websiteId}/stats --preset last7d\n\n# 6) Self-hosted example (/v1/... auto-maps to /api/...)\npython3 scripts/umami_query.py \\\n  --deployment self-hosted \\\n  --base-url \"https://umami.example.com\" \\\n  --endpoint /v1/websites/{websiteId}/stats \\\n  --preset last7d"
      },
      {
        "title": "Natural trigger examples",
        "body": "“How was traffic this week?”\n“Top pages in the last 30 days”\n“Show event trends for signup clicks”\n“Compare current week vs previous week”\n“Give me raw Umami data to build a marketing experiment plan”"
      },
      {
        "title": "Notes",
        "body": "Keep requests read-only (GET).\nPrefer explicit time windows for reproducibility.\nFor unknown endpoints, consult https://v2.umami.is/docs/api and then query with the script.\nPrefer /v1/... endpoints in cloud mode, /api/... in self-hosted mode.\nAuth headers are mode-specific: cloud uses x-umami-api-key; self-hosted uses Authorization: Bearer ....\nmetrics endpoints require a type query param. The script now auto-defaults to type=url if omitted.\nFor /v1/reports/* endpoints, the script auto-adds websiteId from --website-id / UMAMI_WEBSITE_ID when available.\nOn Umami Cloud, /v1/users/* endpoints can return 403 for normal user API keys (expected in many accounts)."
      },
      {
        "title": "Resources",
        "body": "Endpoint map: references/read-endpoints.md\nQuery helper: scripts/umami_query.py"
      }
    ],
    "body": "Umami Stats (Read-only API skill)\n\nUse this skill as a data-access layer: fetch Umami analytics data, then let the agent decide analysis/strategy.\n\nRequired environment variables\nUMAMI_API_KEY (required)\nUMAMI_BASE_URL (optional, default: https://api.umami.is)\nUMAMI_WEBSITE_ID (optional default site)\nUMAMI_DEPLOYMENT (optional: cloud or self-hosted, default: cloud)\nAPI path conventions (explicit)\nUmami Cloud: https://api.umami.is/v1/...\nSelf-hosted Umami: https://<your-host>/api/...\n\nThe script supports both:\n\n--deployment cloud → uses cloud behavior (/v1 + x-umami-api-key)\n--deployment self-hosted → uses self-hosted behavior (/api + Authorization: Bearer ...)\nRead-only workflow\nPick endpoint from docs or references/read-endpoints.md.\nRun scripts/umami_query.py with endpoint + params.\nUse presets (today, last7d, etc.) or custom startAt/endAt.\nAnalyze returned JSON for the user task.\nQuick commands\n# 1) List websites\npython3 scripts/umami_query.py --endpoint /v1/websites\n\n# 2) Website stats for last 7 days (default website from env)\npython3 scripts/umami_query.py \\\n  --endpoint /v1/websites/{websiteId}/stats \\\n  --preset last7d\n\n# 3) Top pages with explicit website id\npython3 scripts/umami_query.py \\\n  --endpoint /v1/websites/{websiteId}/pageviews \\\n  --website-id \"$UMAMI_WEBSITE_ID\" \\\n  --preset last30d\n\n# 4) Events series with custom window\npython3 scripts/umami_query.py \\\n  --endpoint /v1/websites/{websiteId}/events/series \\\n  --param startAt=1738368000000 \\\n  --param endAt=1738972799000\n\n# 5) Legacy path auto-mapping in cloud mode (/api/... -> /v1/...)\npython3 scripts/umami_query.py --endpoint /api/websites/{websiteId}/stats --preset last7d\n\n# 6) Self-hosted example (/v1/... auto-maps to /api/...)\npython3 scripts/umami_query.py \\\n  --deployment self-hosted \\\n  --base-url \"https://umami.example.com\" \\\n  --endpoint /v1/websites/{websiteId}/stats \\\n  --preset last7d\n\nNatural trigger examples\n“How was traffic this week?”\n“Top pages in the last 30 days”\n“Show event trends for signup clicks”\n“Compare current week vs previous week”\n“Give me raw Umami data to build a marketing experiment plan”\nNotes\nKeep requests read-only (GET).\nPrefer explicit time windows for reproducibility.\nFor unknown endpoints, consult https://v2.umami.is/docs/api and then query with the script.\nPrefer /v1/... endpoints in cloud mode, /api/... in self-hosted mode.\nAuth headers are mode-specific: cloud uses x-umami-api-key; self-hosted uses Authorization: Bearer ....\nmetrics endpoints require a type query param. The script now auto-defaults to type=url if omitted.\nFor /v1/reports/* endpoints, the script auto-adds websiteId from --website-id / UMAMI_WEBSITE_ID when available.\nOn Umami Cloud, /v1/users/* endpoints can return 403 for normal user API keys (expected in many accounts).\nResources\nEndpoint map: references/read-endpoints.md\nQuery helper: scripts/umami_query.py"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/hfichter/umami-stats",
    "publisherUrl": "https://clawhub.ai/hfichter/umami-stats",
    "owner": "hfichter",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/umami-stats",
    "downloadUrl": "https://openagent3.xyz/downloads/umami-stats",
    "agentUrl": "https://openagent3.xyz/skills/umami-stats/agent",
    "manifestUrl": "https://openagent3.xyz/skills/umami-stats/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/umami-stats/agent.md"
  }
}