concept2

Fetch and analyze Concept2 Logbook workout data via API with pulse zone analysis and trend tracking. Use when the user wants to retrieve rowing/skiing/biking workouts, analyze heart rate zones, track training trends over time, get workout summaries with performance insights, or evaluate training effectiveness. Features include pulse zone distribution (5-zone model), weekly trend analysis, pace consistency evaluation, improvement tracking, and personalized training recommendations. Requires Concept2 API access token.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "concept2" with this command: npx skills add katla50/concept2

Concept2 Logbook API Skill

Fetch and analyze workout data from Concept2 Logbook with advanced pulse zone and trend analysis.

Quick Start

Use the provided script to fetch workouts:

python3 scripts/fetch_workouts.py --token <API_TOKEN> --from-date 2026-03-01 --format table

API Authentication

Requires a Concept2 API access token. Get one from: https://log.concept2.com/developers/keys

Token must be passed with Authorization: Bearer <token> header.

Main Endpoints

EndpointDescription
GET /api/users/meGet authenticated user info
GET /api/users/me/resultsGet workouts (paginated)
GET /api/users/me/results/{id}Get specific workout
GET /api/users/me/results/{id}/strokesGet stroke-level data

Query Parameters for Results

ParamTypeDescription
fromdateStart date (YYYY-MM-DD)
todateEnd date (YYYY-MM-DD)
typestringWorkout type: rower, skierg, bike, etc.
per_pageintegerResults per page (max 250)

Workout Types

TypeDescription
JustRowFree rowing
FixedDistanceSplitsFixed distance with splits
FixedTimeSplitsFixed time with splits
FixedCalorieFixed calorie target
FixedWattMinuteFixed watt-minute target
FixedTimeIntervalTime-based intervals
FixedDistanceIntervalDistance-based intervals
FixedCalorieIntervalCalorie intervals
FixedWattMinuteIntervalWatt-minute intervals
VariableIntervalVariable intervals
VariableIntervalUndefinedRestVariable with undefined rest

Equipment Types

TypeDescription
rowerRowErg
skiergSkiErg
bikeBikeErg
dynamicDynamic RowErg
slidesRowErg with slides
paddlePaddleErg
waterWaterRower
snowSnow (Nordic skiing)
rollerskiRoller skiing
multiergMultiErg

Script Usage

Basic Usage - Summary with Pulse Zones

# Auto-detect max HR from birthdate in profile
python3 scripts/fetch_workouts.py --token <TOKEN> --from-date 2026-03-01

# Specify max HR manually
python3 scripts/fetch_workouts.py --token <TOKEN> --max-hr 165 --from-date 2026-02-01

# Estimate max HR from age
python3 scripts/fetch_workouts.py --token <TOKEN> --age 59 --from-date 2026-02-01

Trend Analysis (8 weeks)

python3 scripts/fetch_workouts.py --token <TOKEN> --trends 8 --from-date 2026-01-01

Other Formats

# Simple table
python3 scripts/fetch_workouts.py --token <TOKEN> --format table

# JSON export
python3 scripts/fetch_workouts.py --token <TOKEN> --format json > workouts.json

# Filter by equipment type
python3 scripts/fetch_workouts.py --token <TOKEN> --type skierg

Pulse Zone Analysis (5-Zone Model)

Zones based on percentage of maximum HR:

ZoneNameRangePurpose
🟢 1Restitusjon0-60%Recovery, warmup
🔵 2Aerob kapasitet60-70%Base building
🟡 3Aerob effekt70-80%Tempo training
🟠 4Anaerob terskel80-90%Threshold/intervals
🔴 5Maks kapasitet90-100%VO2max/sprints

Max HR Calculation

  • Manual: --max-hr 165
  • From age: --age 59 (uses Tanaka formula: 208 - 0.7×age)
  • From profile: reads birthdate from user data

Trend Analysis

Weekly aggregation of:

  • Total distance
  • Total time
  • Number of workouts
  • Average pace
  • Improvement rate (pace change %)

Workout Quality Metrics

Pace Consistency

  • Calculated from split data if available
  • Standard deviation / average pace
  • Rating: 🟢 Jevn | 🟡 OK | 🔴 Ujevn

Stroke Rate (SPM) Assessment

  • 🟢 18-22: Efficient, strong drive
  • 🔵 <18: Fast recovery phase
  • 🟡 24-28: Tempo pace
  • 🟠 >30: High rate, check technique

Training Recommendations

The script provides personalized tips:

  • Training frequency assessment
  • High intensity balance (20% rule for zones 4-5)
  • Long workout suggestions
  • Interval training reminders

Common Calculations

Calculate Pace

pace_tenths = (time_tenths / distance_m) * 500

Format Time

total_seconds = time_tenths / 10
minutes = int(total_seconds // 60)
seconds = total_seconds % 60
formatted = f"{minutes}:{seconds:04.1f}"

Distance Format

  • Stored in meters
  • 5000 = 5km

Stroke Data

  • Distance in decimeters (incremental)
  • Time in tenths of seconds (incremental)
  • Pace in tenths of sec per 500m (rower) or 1000m (bike)

Error Codes

CodeMeaningResolution
200OKSuccess
201CreatedResource created successfully
400Bad RequestCheck request format
401UnauthorizedInvalid or expired token
403ForbiddenUser hasn't authorized app
404Not FoundResource doesn't exist
409ConflictDuplicate entry
422UnprocessableValidation error
500Server ErrorTry again later
503Service UnavailableAPI temporarily down

Pagination

Paginated responses include a meta.pagination object:

{
  "meta": {
    "pagination": {
      "total": 150,
      "count": 50,
      "per_page": 50,
      "current_page": 1,
      "total_pages": 3,
      "links": {
        "next": "https://log.concept2.com/api/users/me/results?page=2"
      }
    }
  }
}

Default per_page is 50, maximum is 250.

See Also

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

Knowledge Habit Skill

知识工作习惯追踪器:为知识工作者设计的隐私优先、离线第一的习惯与事件记录系统,支持单习惯专注、事件沉淀、节点候选生成,以及Web、Electron桌面、Android覆盖层多平台支持。

Registry SourceRecently Updated
Research

arXiv Source Reader

Read and analyze arXiv papers by fetching LaTeX source, listing sections, or extracting abstracts

Registry SourceRecently Updated
Research

defense lawyer

AI-powered criminal defense assistant for Chinese legal system - provides case analysis, defense strategy formulation, evidence assessment, and legal documen...

Registry SourceRecently Updated
00Profile unavailable
Research

Research Report Skill

Use when the user requests industry research reports, market analysis, business trend analysis, or professional research documents. This skill provides struc...

Registry SourceRecently Updated
30Profile unavailable