{
  "schemaVersion": "1.0",
  "item": {
    "slug": "strava-cli",
    "name": "Strava CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/geodeterra/strava-cli",
    "canonicalUrl": "https://clawhub.ai/geodeterra/strava-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/strava-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=strava-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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/strava-cli"
    },
    "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/strava-cli",
    "agentPageUrl": "https://openagent3.xyz/skills/strava-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/strava-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/strava-cli/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": "Install",
        "body": "uvx --from strava-client-cli strava --help\n# Or install persistently:\nuv tool install strava-client-cli"
      },
      {
        "title": "1. Create a Strava Account (if needed)",
        "body": "Sign up at https://www.strava.com/register. Only name, email, and password required."
      },
      {
        "title": "2. Create a Strava API Application",
        "body": "Go to https://www.strava.com/settings/api\nFill in:\n\nApplication Name: any descriptive name\nCategory: pick closest match (e.g. \"Other\")\nWebsite: any URL (e.g. your GitHub)\nAuthorization Callback Domain: localhost\nDescription: brief description\n\n\nCheck the API Agreement checkbox\nClick Create\nNote your Client ID and Client Secret\n\nImportant: New Strava API apps allow only 1 connected athlete. To connect a different athlete, revoke the current one at Settings → My Apps → Revoke Access."
      },
      {
        "title": "3. Authenticate",
        "body": "strava auth\n\nEnter Client ID and Client Secret when prompted. Open the displayed URL in a browser, authorize, then copy the code parameter from the redirect URL (http://localhost/?code=XXXXX) and paste it back.\n\nTokens auto-refresh (every 6 hours). Config: ~/.config/strava-cli/config.json, tokens: ~/.config/strava-cli/tokens.json.\n\nManual Token Exchange (headless/automated)\n\nIf no browser is available, do the OAuth flow manually:\n\nBuild the auth URL:\nhttps://www.strava.com/oauth/authorize?client_id=CLIENT_ID&response_type=code&redirect_uri=http://localhost&approval_prompt=force&scope=activity:read_all,profile:read_all\n\n\nOpen in any browser, authorize, grab the code from the redirect URL\nExchange:\ncurl -s -X POST https://www.strava.com/oauth/token \\\n  -d client_id=CLIENT_ID \\\n  -d client_secret=CLIENT_SECRET \\\n  -d code=CODE \\\n  -d grant_type=authorization_code\n\n\nSave the response tokens to ~/.config/strava-cli/tokens.json:\n{\n  \"access_token\": \"...\",\n  \"refresh_token\": \"...\",\n  \"expires_at\": 1234567890,\n  \"token_type\": \"Bearer\"\n}"
      },
      {
        "title": "Commands",
        "body": "strava profile                              # Athlete profile\nstrava stats                                # Run/ride/swim stats summary\nstrava activities --limit 10                # Recent activities\nstrava activities --type Run --after 2024-01-01  # Filter by type/date\nstrava activity 12345678                    # Detailed activity view\nstrava export --output ./data --format json # Bulk export"
      },
      {
        "title": "Source",
        "body": "https://github.com/geodeterra/strava-cli"
      }
    ],
    "body": "Strava CLI\nInstall\nuvx --from strava-client-cli strava --help\n# Or install persistently:\nuv tool install strava-client-cli\n\nSetup\n1. Create a Strava Account (if needed)\n\nSign up at https://www.strava.com/register. Only name, email, and password required.\n\n2. Create a Strava API Application\nGo to https://www.strava.com/settings/api\nFill in:\nApplication Name: any descriptive name\nCategory: pick closest match (e.g. \"Other\")\nWebsite: any URL (e.g. your GitHub)\nAuthorization Callback Domain: localhost\nDescription: brief description\nCheck the API Agreement checkbox\nClick Create\nNote your Client ID and Client Secret\n\nImportant: New Strava API apps allow only 1 connected athlete. To connect a different athlete, revoke the current one at Settings → My Apps → Revoke Access.\n\n3. Authenticate\nstrava auth\n\n\nEnter Client ID and Client Secret when prompted. Open the displayed URL in a browser, authorize, then copy the code parameter from the redirect URL (http://localhost/?code=XXXXX) and paste it back.\n\nTokens auto-refresh (every 6 hours). Config: ~/.config/strava-cli/config.json, tokens: ~/.config/strava-cli/tokens.json.\n\nManual Token Exchange (headless/automated)\n\nIf no browser is available, do the OAuth flow manually:\n\nBuild the auth URL:\nhttps://www.strava.com/oauth/authorize?client_id=CLIENT_ID&response_type=code&redirect_uri=http://localhost&approval_prompt=force&scope=activity:read_all,profile:read_all\n\nOpen in any browser, authorize, grab the code from the redirect URL\nExchange:\ncurl -s -X POST https://www.strava.com/oauth/token \\\n  -d client_id=CLIENT_ID \\\n  -d client_secret=CLIENT_SECRET \\\n  -d code=CODE \\\n  -d grant_type=authorization_code\n\nSave the response tokens to ~/.config/strava-cli/tokens.json:\n{\n  \"access_token\": \"...\",\n  \"refresh_token\": \"...\",\n  \"expires_at\": 1234567890,\n  \"token_type\": \"Bearer\"\n}\n\nCommands\nstrava profile                              # Athlete profile\nstrava stats                                # Run/ride/swim stats summary\nstrava activities --limit 10                # Recent activities\nstrava activities --type Run --after 2024-01-01  # Filter by type/date\nstrava activity 12345678                    # Detailed activity view\nstrava export --output ./data --format json # Bulk export\n\nSource\n\nhttps://github.com/geodeterra/strava-cli"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/geodeterra/strava-cli",
    "publisherUrl": "https://clawhub.ai/geodeterra/strava-cli",
    "owner": "geodeterra",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/strava-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/strava-cli",
    "agentUrl": "https://openagent3.xyz/skills/strava-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/strava-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/strava-cli/agent.md"
  }
}