Cyber Runner: Running Training Analysis and Capability Evaluation within the Agent

Preface

The more systematic your running training becomes, the more it relies on data such as pace, heart rate, and weekly load. This data is often scattered across watch apps, Intervals.icu, or spreadsheets. Reviewing it manually requires cross-referencing zones and training types, and evaluating 5K/Half Marathon potential involves applying complex models. By consolidating rules, scripts, and reference documentation into a single Skill, an Agent can read data, classify workouts, calculate CS-D’, and provide zone recommendations using a consistent methodology, rather than requiring you to write analysis prompts from scratch every time.

Below is an introduction to the positioning, capabilities, and installation method of the SkillHub community skill Cyber Runner (@user_a851fe71/cyber-runner, v1.0.0).

What is this

Cyber Runner is an AI-based running training analysis Skill designed for three primary needs: “deep mining of training data,” “evaluation of athletic performance,” and “formulating scientific training plans.”

  • Coordinate: @user_a851fe71/cyber-runner
  • Source: SkillHub Community (community), Publisher user_a851fe71
  • Category: life-service
  • Official Page: SkillHub - Cyber Runner
  • API Metadata Address: https://api.skillhub.cn/user_a851fe71/cyber-runner

The Skill’s core positioning includes acting as a data synchronization hub for Intervals.icu, automatically identifying training types and parsing pace/heart rate, using the CS-D’ model for capability assessment and performance prediction, and outputting pace and heart rate zone recommendations. The SkillHub tag is requires_api_key=true; you need to prepare your own API Key when integrating with Intervals.icu (see references/intervals_api.md within the skill package for key acquisition).

Core Functions

The following capabilities are derived from the SKILL.md and accompanying references/ and scripts/ documentation, summarized by module.

Intervals.icu Data Sync

Supports bidirectional synchronization with Intervals.icu:

  1. Upload: Export training plans to the platform.
  2. Download: Fetch historical activity records for analysis.

Authentication is via Authorization: Bearer YOUR_API_KEY; REST endpoints and field descriptions for activity lists, details, and plan uploads can be found in references/intervals_api.md.

Intelligent Training Data Analysis

Training Type Identification (scripts/training_classifier.py) covers types such as EASY, LSD, TEMPO, INTERVAL, VO2MAX, RECOVERY, LONG, and RACE.

Pace Analysis includes real-time pace, zone distribution, trends, and interval stability; Heart Rate Analysis includes zone distribution, recovery curves, and aerobic/anaerobic threshold identification. Rest intervals can be filtered using scripts/rest_interval_detector.py.

Capability Assessment and Prediction

The CS-D’ Model (scripts/cs_d_calculator.py, see references/cs_d_prime.md for principles) is used to estimate Critical Speed, D’ reserve, and predict performance for 5K, 10K, Half Marathon, Full Marathon, and custom distances.

Pace Zones are generated in five levels: Z1 Easy (E), Z2 Marathon Pace (M), Z3 Threshold/Tempo (T), Z4 Above Threshold (A), Z5 VO2Max (I). Definitions are found in references/pace_zones.md.

Personalized Training Suggestions

Combining capability assessment with training history, the Skill instructions cover output directions such as training intensity recommendations, interval pace targets, recovery times, and training load evaluation; specific report formats can be referenced in examples/example_report.md.

Installation and Activation

Install SkillHub CLI

If the CLI is not installed, you can first check the version:

command -v skillhub && skillhub --version

If not installed, you can execute (full installation includes default Skills; add --cli-only for CLI only):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Full installation instructions: https://skillhub.cn/install/skillhub.md

Install Cyber Runner

When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ which may not be recognized.

In Cursor, the skills directory is typically ~/.cursor/skills/:

skillhub install cyber-runner --namespace user_a851fe71 --dir ~/.cursor/skills/

The equivalent coordinate notation can also be used to let the Agent install via official prompts:

Please install @user_a851fe71/cyber-runner according to https://skillhub.cn/install/skillhub.md.

Common paths for other clients (excerpted from SkillHub installation docs): Claude Code is ~/.claude/skills/; Codex is ~/.codex/skills/ or .agents/skills/ under the project. After installation, restart or refresh the Agent as required by your client to enable the Skill.

Runtime Dependencies

The skill package declares requirements for Python 3.8+, as well as requests, pandas, and numpy. If you need to call scripts directly for classification or CS-D’ calculation, please install these dependencies on your local machine first.

API Key

When integrating with Intervals.icu, generate a Key in Intervals.icu Settings → API and configure Bearer authentication according to references/intervals_api.md. If you are only performing local pace/heart rate series analysis and not fetching cloud activities, you do not need to configure the platform Key, but synchronization capabilities will be unavailable.

Typical Usage

Enabling the Skill in Conversation

After installation, you can describe tasks in natural language, such as syncing Intervals activities for a specific date range, identifying training types for the week, or calculating CS-D’ based on multiple race distances to provide 5K predictions. The Agent will read the rules and API descriptions in SKILL.md and references/ to execute.

Invoking Built-in Scripts (Example)

The basic usage in SKILL.md is as follows, used for local series analysis (pace and heart rate arrays need to be prepared by yourself or parsed from activity details):

from scripts.training_classifier import TrainingClassifier
from scripts.cs_d_calculator import CSDCalculator

classifier = TrainingClassifier()

result = classifier.analyze(
    pace_data=[...],
    heart_rate_data=[...],
    duration=1800
)

calculator = CSDCalculator()
cs_result = calculator.calculate(
    distances=[5000, 10000],
    times=[1200, 2520]
)

print(f"Critical Speed: {cs_result['critical_speed']:.2f} m/s")
print(f"5K Prediction: {cs_result['predictions']['5k']}")

When fetching activities from Intervals.icu, an API Key is required; intervals_api.md provides IntervalsClient examples (get_activities, get_activity_detail, etc.), and the Quick Start section of SKILL.md demonstrates the workflow logic for downloading by date and calling analyze_activity for each entry.

Analysis Examples within the Skill Package

examples/example_analysis.md demonstrates a complete analysis structure ranging from weekly training tables to training type identification, interval stability, CS-D’ parameters, and target pace suggestions. It can serve as a reference template for aligning Agent output formats (the data in the document is illustrative, not actual user feedback).

Applicable Scenarios and Precautions

Suitable For: Runners who already have some training history, use devices like Garmin/Apple Watch/Polar or aggregate data via Intervals.icu, and wish to conduct reviews and capability estimates for goals such as 5K/10K/Half Marathon/Full Marathon.

Precautions:

  1. Analysis accuracy depends on the quality of GPS and heart rate devices; the Skill instructions suggest inputting at least 3 race or test data points of different distances for more stable CS estimation.
  2. CS-D’ is a model estimate; actual performance is still affected by condition, track, weather, etc.
  3. The Skill declares that analysis processing can be done locally; however, once Intervals.icu sync is enabled, API requests will be made to that platform, so you must keep your API Key secure.
  4. SkillHub Page Metadata (at time of crawl): Rating 100000, Downloads ~1183; subject to real-time display on the page.

Conclusion

Cyber Runner consolidates Intervals integration instructions, training classification scripts, CS-D’ calculations, and zone references into a single Agent Skill, suitable for turning “checking data, categorizing, estimating performance” into a repeatable workflow. For installation or version checks, please visit the SkillHub Skill Page or the metadata address https://api.skillhub.cn/user_a851fe71/cyber-runner.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye