{
  "schemaVersion": "1.0",
  "item": {
    "slug": "plausible-analytics",
    "name": "Plausible Analytics",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/ChloePark85/plausible-analytics",
    "canonicalUrl": "https://clawhub.ai/ChloePark85/plausible-analytics",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/plausible-analytics",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=plausible-analytics",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/stats.mjs",
      "scripts/realtime.mjs",
      "scripts/breakdown.mjs"
    ],
    "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-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/plausible-analytics"
    },
    "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/plausible-analytics",
    "agentPageUrl": "https://openagent3.xyz/skills/plausible-analytics/agent",
    "manifestUrl": "https://openagent3.xyz/skills/plausible-analytics/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/plausible-analytics/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": "Overview",
        "body": "Retrieve and analyze website analytics data from Plausible Analytics API. Supports real-time visitor tracking, historical statistics, traffic source analysis, and detailed breakdowns by page, source, or country."
      },
      {
        "title": "Quick Start",
        "body": "All scripts require PLAUSIBLE_API_KEY environment variable. Site ID can be provided via PLAUSIBLE_SITE_ID environment variable or as a script argument.\n\n# Set API key\nexport PLAUSIBLE_API_KEY=\"your-api-key\"\n\n# Quick example: Get today's stats\nnode scripts/stats.mjs example.com --period day"
      },
      {
        "title": "Real-Time Visitors",
        "body": "Check how many people are currently viewing your site:\n\nnode scripts/realtime.mjs <site-id>\n\nExample output:\n\n{\n  \"visitors\": 42\n}"
      },
      {
        "title": "Statistics",
        "body": "Get page views, visitors, bounce rate, and visit duration for a time period:\n\nnode scripts/stats.mjs <site-id> [--period day|7d|30d|month|6mo|12mo] [--date YYYY-MM-DD]\n\nParameters:\n\nperiod - Time period to query (default: day)\ndate - Specific date for the period (default: today)\n\nExample:\n\n# Get today's stats\nnode scripts/stats.mjs example.com\n\n# Get last 7 days\nnode scripts/stats.mjs example.com --period 7d\n\n# Get stats for a specific month\nnode scripts/stats.mjs example.com --period month --date 2026-02-01\n\nExample output:\n\n{\n  \"results\": {\n    \"visitors\": {\n      \"value\": 1234\n    },\n    \"pageviews\": {\n      \"value\": 5678\n    },\n    \"bounce_rate\": {\n      \"value\": 45\n    },\n    \"visit_duration\": {\n      \"value\": 180\n    }\n  }\n}"
      },
      {
        "title": "Detailed Breakdown",
        "body": "Analyze traffic by specific dimensions (pages, sources, countries, etc.):\n\nnode scripts/breakdown.mjs <site-id> <property> [--period day|7d|30d] [--limit N]\n\nProperties:\n\nvisit:source - Traffic sources (Google, Twitter, direct, etc.)\nvisit:referrer - Referring URLs\nvisit:utm_medium / visit:utm_source / visit:utm_campaign - UTM parameters\nvisit:device - Desktop vs Mobile\nvisit:browser - Browser breakdown\nvisit:os - Operating system\nvisit:country - Countries\nevent:page - Top pages\n\nExample:\n\n# Top 10 pages in the last 7 days\nnode scripts/breakdown.mjs example.com event:page --period 7d --limit 10\n\n# Traffic sources today\nnode scripts/breakdown.mjs example.com visit:source\n\n# Countries in the last 30 days\nnode scripts/breakdown.mjs example.com visit:country --period 30d\n\nExample output:\n\n{\n  \"results\": [\n    {\n      \"page\": \"/\",\n      \"visitors\": 542,\n      \"pageviews\": 1024\n    },\n    {\n      \"page\": \"/about\",\n      \"visitors\": 123,\n      \"pageviews\": 145\n    }\n  ]\n}"
      },
      {
        "title": "Environment Variables",
        "body": "PLAUSIBLE_API_KEY (required) - Your Plausible API key\nPLAUSIBLE_SITE_ID (optional) - Default site ID to use"
      },
      {
        "title": "scripts/",
        "body": "stats.mjs - Aggregate statistics for a time period\nrealtime.mjs - Current visitor count\nbreakdown.mjs - Detailed breakdown by dimension"
      }
    ],
    "body": "Plausible Analytics\nOverview\n\nRetrieve and analyze website analytics data from Plausible Analytics API. Supports real-time visitor tracking, historical statistics, traffic source analysis, and detailed breakdowns by page, source, or country.\n\nQuick Start\n\nAll scripts require PLAUSIBLE_API_KEY environment variable. Site ID can be provided via PLAUSIBLE_SITE_ID environment variable or as a script argument.\n\n# Set API key\nexport PLAUSIBLE_API_KEY=\"your-api-key\"\n\n# Quick example: Get today's stats\nnode scripts/stats.mjs example.com --period day\n\nReal-Time Visitors\n\nCheck how many people are currently viewing your site:\n\nnode scripts/realtime.mjs <site-id>\n\n\nExample output:\n\n{\n  \"visitors\": 42\n}\n\nStatistics\n\nGet page views, visitors, bounce rate, and visit duration for a time period:\n\nnode scripts/stats.mjs <site-id> [--period day|7d|30d|month|6mo|12mo] [--date YYYY-MM-DD]\n\n\nParameters:\n\nperiod - Time period to query (default: day)\ndate - Specific date for the period (default: today)\n\nExample:\n\n# Get today's stats\nnode scripts/stats.mjs example.com\n\n# Get last 7 days\nnode scripts/stats.mjs example.com --period 7d\n\n# Get stats for a specific month\nnode scripts/stats.mjs example.com --period month --date 2026-02-01\n\n\nExample output:\n\n{\n  \"results\": {\n    \"visitors\": {\n      \"value\": 1234\n    },\n    \"pageviews\": {\n      \"value\": 5678\n    },\n    \"bounce_rate\": {\n      \"value\": 45\n    },\n    \"visit_duration\": {\n      \"value\": 180\n    }\n  }\n}\n\nDetailed Breakdown\n\nAnalyze traffic by specific dimensions (pages, sources, countries, etc.):\n\nnode scripts/breakdown.mjs <site-id> <property> [--period day|7d|30d] [--limit N]\n\n\nProperties:\n\nvisit:source - Traffic sources (Google, Twitter, direct, etc.)\nvisit:referrer - Referring URLs\nvisit:utm_medium / visit:utm_source / visit:utm_campaign - UTM parameters\nvisit:device - Desktop vs Mobile\nvisit:browser - Browser breakdown\nvisit:os - Operating system\nvisit:country - Countries\nevent:page - Top pages\n\nExample:\n\n# Top 10 pages in the last 7 days\nnode scripts/breakdown.mjs example.com event:page --period 7d --limit 10\n\n# Traffic sources today\nnode scripts/breakdown.mjs example.com visit:source\n\n# Countries in the last 30 days\nnode scripts/breakdown.mjs example.com visit:country --period 30d\n\n\nExample output:\n\n{\n  \"results\": [\n    {\n      \"page\": \"/\",\n      \"visitors\": 542,\n      \"pageviews\": 1024\n    },\n    {\n      \"page\": \"/about\",\n      \"visitors\": 123,\n      \"pageviews\": 145\n    }\n  ]\n}\n\nEnvironment Variables\nPLAUSIBLE_API_KEY (required) - Your Plausible API key\nPLAUSIBLE_SITE_ID (optional) - Default site ID to use\nResources\nscripts/\nstats.mjs - Aggregate statistics for a time period\nrealtime.mjs - Current visitor count\nbreakdown.mjs - Detailed breakdown by dimension"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ChloePark85/plausible-analytics",
    "publisherUrl": "https://clawhub.ai/ChloePark85/plausible-analytics",
    "owner": "ChloePark85",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/plausible-analytics",
    "downloadUrl": "https://openagent3.xyz/downloads/plausible-analytics",
    "agentUrl": "https://openagent3.xyz/skills/plausible-analytics/agent",
    "manifestUrl": "https://openagent3.xyz/skills/plausible-analytics/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/plausible-analytics/agent.md"
  }
}