runlab-sync

Fetches new running activities into a local cache and reports coverage, gaps, and duplicates.

Updated Aug 18, 2026
Ready to run
npx skills add https://github.com/0xMatyas/runlab --skill runlab-sync-0xmatyas
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: runlab-sync
Source: https://github.com/0xMatyas/runlab/tree/main/.claude/skills/runlab-sync
Command: npx skills add https://github.com/0xMatyas/runlab --skill runlab-sync-0xmatyas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Syncing running data from sources like FIT files, Runalyze, GPX, or TCX can silently truncate imports, leaving you with incomplete data that corrupts later analysis. This Skill fetches new runs into the local cache and reports exactly what arrived, what was skipped, and what is missing. ## Core Features & Use Cases - Source Sync with Assurance Checks: Runs the sync script against configured sources, reporting exit codes, partial imports, and assurance violations such as shrinking activity counts or collapsed channel coverage. - Honest Import Reporting: Surfaces counts as n of n_total per channel, iCloud placeholder stubs, duplicate decisions, streamless recordings, and calendar gaps so nothing is silently lost. - Use Case: After a week of training, ask to sync your runs and get a factual report: how many activities landed, which channels have full coverage, which files were skipped as placeholders, and whether any gaps need investigation before analysis. ## Quick Start Ask the assistant to sync your latest runs into runlab and report what arrived and what is missing.

Frequently Asked Questions about runlab-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync my running activities into runlab?▼

Ask to sync your runs, or invoke /runlab:runlab-sync. The Skill runs scripts/sync.py through the shim, optionally with --since YYYY-MM-DD, --source, --all, or --dry-run, then reports what arrived and what did not.

What data sources can runlab sync import runs from?▼

runlab reads FIT files (including via HealthFit on iOS), Runalyze over the personal REST API or MCP server, and GPX or TCX files. Only FIT and Runalyze carry running mechanics like ground contact time and vertical oscillation.

Why does my sync report partial_import or assurance_violated?▼

partial_import means a source delivered less than it holds; the output names the source and its reason. assurance_violated means the cache is not in a state worth analysing, such as shrinking activity counts or collapsed channel coverage, and analyses should wait.

Can GPX or TCX files provide running mechanics data?▼

No. GPX and TCX cannot carry ground contact time or vertical oscillation, and no processing recovers them. If mechanics coverage is 0 on a GPX or TCX source, that is the source's ceiling, not a device fault.

Does runlab-sync modify my analysis state or profile?▼

No. The sync writes only into the cache directory and never touches state or profile.json, enforced by a PreToolUse hook. A sync produces facts about the cache, not findings about the athlete.