본문으로 건너뛰기
cccskills
무료GitHub에 공개

strava

Query Strava fitness data including activities, athlete stats, segments, routes, clubs, and gear. Use when the user asks about cycling, running, swimming, workouts, training, or Strava data.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(43)

  • SKILL.md2.9 KB
  • .github/workflows/deploy-pages.yml1.6 KB
  • .github/workflows/release.yml4.7 KB
  • .github/workflows/test.yml921 B
  • .gitignore264 B
  • .python-version5 B
  • AGENTS.md392 B
  • CHANGELOG.md1.6 KB
  • docs/heading.png1.7 MB
  • install-skill.sh950 B
  • install.sh1.8 KB
  • LICENSE1.0 KB
  • Makefile2.8 KB
  • pyproject.toml1.7 KB
  • README.md8.9 KB
  • site/index.html40.5 KB
  • site/logo.png41.8 KB
  • site/preview.png1.7 MB
  • src/strava_cli/__init__.py101 B
  • src/strava_cli/__main__.py117 B
  • src/strava_cli/auth.py8.7 KB
  • src/strava_cli/cli.py4.3 KB
  • src/strava_cli/client.py13.1 KB
  • src/strava_cli/commands/__init__.py38 B
  • src/strava_cli/commands/activities.py7.8 KB
  • src/strava_cli/commands/athlete.py1.5 KB
  • src/strava_cli/commands/auth.py5.0 KB
  • src/strava_cli/commands/clubs.py1.6 KB
  • src/strava_cli/commands/context.py6.1 KB
  • src/strava_cli/commands/efforts.py1.3 KB
  • src/strava_cli/commands/gear.py588 B
  • src/strava_cli/commands/routes.py3.0 KB
  • src/strava_cli/commands/segments.py2.7 KB
  • src/strava_cli/commands/upload.py4.8 KB
  • src/strava_cli/config.py8.0 KB
  • src/strava_cli/decorators.py7.3 KB
  • src/strava_cli/exceptions.py3.5 KB
  • src/strava_cli/output.py9.7 KB
  • tests/__init__.py28 B
  • tests/conftest.py7.4 KB
  • tests/test_cli.py24.8 KB
  • tests/test_client.py1.8 KB
  • uv.lock126.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Strava CLI Skill

Query and manage Strava data via the strava CLI.

Prerequisites

  • Install CLI: curl -fsSL https://raw.githubusercontent.com/eddmann/strava-cli/main/install.sh | sh
  • Authenticate: strava auth login (requires STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET)

Quick Context

Get aggregated athlete data in one call:

strava context                          # Full context: athlete, stats, gear, clubs, activities
strava context --activities 10          # More recent activities
strava context --focus stats,gear       # Specific sections only

Commands

Run strava --help or strava <command> --help to discover all options.

Activities

strava activities list [--after DATE] [--before DATE] [--limit N]
strava activities get <ID>
strava activities streams <ID> [--keys time,distance,heartrate,watts]
strava activities laps <ID>
strava activities zones <ID>
strava activities comments <ID>
strava activities kudos <ID>

Athlete

strava athlete              # Profile
strava athlete stats        # YTD and all-time totals
strava athlete zones        # HR/power zones

Segments & Efforts

strava segments get <ID>
strava segments starred
strava segments explore --bounds SW_LAT,SW_LNG,NE_LAT,NE_LNG
strava efforts get <ID>
strava efforts list --segment-id <ID>

Routes, Clubs, Gear

strava routes list
strava routes get <ID>
strava routes streams <ID>
strava routes export <ID> --format gpx|tcx
strava clubs list
strava clubs get <ID>
strava clubs members <ID> [--limit N]
strava clubs activities <ID> [--limit N]
strava gear get <GEAR_ID>

Data Units

FieldUnit
distancemeters
moving_time, elapsed_timeseconds
average_speed, max_speedm/s
elevationmeters
datesISO8601

Common Patterns

# Recent activities
strava activities list --limit 10

# This month's activities
strava activities list --after 2025-12-01

# Filter with jq
strava activities list | jq '[.[] | select(.sport_type=="Run")]'

# Total distance
strava activities list | jq '[.[].distance] | add'

Auth Status

strava auth status    # Check if authenticated
strava auth refresh   # Refresh token
strava auth logout    # Clear credentials

Sport Types

Run, TrailRun, Walk, Hike, Ride, MountainBikeRide, GravelRide, EBikeRide, VirtualRide, VirtualRun, Swim, Workout, WeightTraining, Yoga, CrossFit, Rowing, Kayaking, Surf, Ski, Snowboard, IceSkate, Golf, Soccer, Tennis

Exit Codes

  • 0 = Success
  • 1 = General error
  • 2 = Auth error (run strava auth login)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고