Логотип Fit Ride Studio

Fit Ride Studio

Сообщество
op7418
fit-ride-studio

Analyze one or more cycling, running, or hiking FIT/KML activity tracks, generate evidence-based single or aggregate reports, open the bundled local Ride Relief report page when the environment supports it, enrich results with user-confirmed public location context, and create shareable PNG or H.264 MP4 route stories on request. Use whenever a user wants to analyze, compare, visualize, or export .fit or .kml activities, including requests that mention a workout but do not yet include track files.

Add to TypingMind

Обзор

Издательop7418
Репозиторийguizang-sports-skill
Название навыкаfit-ride-studio
Звёзды
149
Форки
12
Файлы в комплекте
38
ЛицензияAGPL-3.0
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 38

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — op7418. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Fit Ride Studio в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/op7418/guizang-sports-skill/tree/main
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/op7418/guizang-sports-skill.git \
  .claude/skills/fit-ride-studio
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Fit Ride Studio в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Fit Ride Studio, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Fit Ride Studio не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

FIT & KML Activity Studio

Turn local cycling, running, and hiking tracks into an evidence-based report and local visual experience. Follow this sequence:

  1. Ask for FIT/KML files when none were provided, or use the bundled synthetic demo when requested.
  2. Check the installation, install missing locked dependencies automatically, and analyze every valid file.
  3. Present the result, stage private runtime files, and open the bundled Ride Relief report page when local browser access is available.

Enter the export composer only when the user asks for a shareable image, animation, or video. Ride Relief is the web app bundled inside this Skill, not a separate product to install.

Workflow

1. Get the track files

  • When the user explicitly asks for a demo, use <skill-root>/samples/demo.kml. State that it is fictional data.
  • Otherwise, if no readable .fit or .kml was supplied, ask in the user's language for either an attachment or a local path. Example in Chinese: “请把 .fit 或 .kml 拖进对话,或告诉我文件路径(例如 ~/Downloads/ride.fit);可以一次给多个。”
  • Stop after requesting missing input. Do not invent activity data and do not ask the user to configure the project.
  • Proceed immediately when at least one file is accessible. Infer single versus aggregate mode from valid files.
  • Accept a directory only when the user placed it in scope; expand only top-level FIT/KML files.
  • Process tracks locally. Do not upload exact GPS tracks or expose coordinates in the response.
  • Continue a batch when one file is corrupt, provided another track is valid. Report skipped basenames.
  • Detect likely duplicates by start time, distance, and duration. Exclude them from totals and identify them.

2. Check readiness and analyze

Resolve <skill-root> as the directory containing this SKILL.md. Run from that directory:

bash
node scripts/check-install.mjs

Handle its single-line status deterministically:

  • OK — continue.
  • NEED_INSTALL — run npm ci, rerun the check, then continue. Use the lock file; do not substitute npm install.
  • UNSUPPORTED_NODE — explain the reported Node requirement and stop before running the app.
  • ERROR — report the missing/broken Skill files and reinstall or update the Skill before continuing.

Treat npm ci as internal preparation, not a routine user step. If a sandbox blocks network access, request network permission when the environment supports approvals. If permission is unavailable, tell the user to run npm ci once from <skill-root>. If the Skill directory is read-only, explain that a writable installation or checkout is required; do not loop on installation or claim success.

Run the deterministic analyzer:

bash
node scripts/analyze-fit.mjs --format json <fit-or-kml-path> [more-track-paths...]

Use --format markdown when a ready-to-read local report is sufficient. Use --keep-duplicates only after the user confirms matching activities are distinct. Read references/report-contract.md when interpreting fields, checking weighting rules, or changing report behavior.

3. Present the result

Start with the result, not dependency or parser details.

For one activity, present:

  1. A compact terrain/route verdict and the most important observation.
  2. Distance and ascent when available; show duration, speed/pace, calories, and pauses only when supported.
  3. Sport-appropriate recorded metrics: cycling speed/cadence, running pace/step cadence, hiking elevation/ascent, plus heart rate, power, temperature, and grade when present.
  4. Data-quality coverage, especially cadence, heart rate, power, and grade.
  5. Two to eight concrete suggestions ordered by impact.

For multiple activities, present:

  1. Overall totals and date range.
  2. A per-activity table with sport and source format.
  3. Longest, most climbing, and fastest only within comparable activities with time data.
  4. Earliest-to-latest deltas as observations, not proof of fitness improvement.
  5. Sensor consistency, duplicates, and skipped files.
  6. Aggregate suggestions plus important activity-specific exceptions.

Keep absent data distinct from zero. Say “未记录” / “not recorded” or “覆盖不足” / “insufficient coverage,” never zero when a sensor was unavailable. Do not invent FTP, power zones, heart-rate zones, VO₂max, training load, recovery status, or medical conclusions unless the user supplies the necessary thresholds and explicitly requests that analysis.

Apply these rules:

  • Compute aggregate average speed as total distance divided by total moving time.
  • Never infer duration, speed, pace, pauses, or photo-time matching from geometry-only KML.
  • Prefer KML document metadata for declared sport, distance, ascent, and descent. Use the longest LineString or gx:Track and retain the source basename.
  • Weight cadence, heart rate, power, and temperature by valid sample counts.
  • Treat calories as device estimates and temperature as ambient/device temperature.
  • Describe cadence as an activity-pattern observation, not a universal prescription. Confirm the running-cadence convention before interpreting spm.
  • When grade coverage is adequate, report distance-weighted grade bands, smoothed P99 representative grade, and up to three continuous climbs; label the device maximum as raw.
  • Match heat/hydration suggestions to recorded moving duration.
  • Warn before sharing a highly closed route; recommend hiding the first and last 300–500 m.

Choose two to six evidence-backed deep dives. Omit empty or speculative dimensions.

When place-aware advice would materially improve the result, read references/location-enrichment.md. Confirm ambiguous public place names, search by the confirmed name rather than coordinates, and time-stamp live conditions. Do not treat an old activity as evidence that a route is currently open.

4. Stage and open the report page

Attempt this automatically after successful analysis, but adapt to the environment.

  1. Read references/ui-report-contract.md.
  2. Write the model-authored report contract to a writable temporary JSON file. Do not store per-user analysis in public/skill-analysis.json.
  3. For a batch, select the user's requested activity; otherwise use the longest non-duplicate as the representative route while keeping the text response aggregate.
  4. Stage the selected track and analysis in the private OS temporary directory:
bash
node scripts/prepare-report.mjs --track <selected-track> --analysis <temporary-report-json>
  1. Read the returned JSON object. Keep its url and session; the URL expires after 24 hours, stale files are cleaned on the next staging run, and nothing is stored in the repository.
  2. Fetch http://127.0.0.1:5174/ and treat it as this project only when the returned HTML contains both <title>Route Relief and id="fit-input". Otherwise start npm run dev from <skill-root>. The server uses port 5174 with strictPort; if another application owns the port, report the conflict instead of silently switching ports.
  3. Use any available browser-opening or browser-automation capability to open the returned URL. The URL auto-loads the track and analysis; do not rely on setting a file input.
  4. With screenshot/visual capability, verify the loaded source, the Fit Ride Studio Skill analysis badge, recommendation layout, and clipping. Without visual capability, skip visual claims and ask the user to inspect the opened page.

Apply these fallbacks honestly:

  • If the Agent can open URLs but cannot automate page controls, open the URL; no further interaction is required for the report.
  • If no browser tool exists but the user shares the same machine, provide the returned URL and say to open it manually.
  • If running remotely or in a cloud container where the user's browser cannot reach that loopback address, deliver the text report and temporary analysis JSON instead. Do not claim the page opened.
  • If staging is impossible because every writable temporary location is blocked, fall back to the existing file-input workflow and give concise manual steps.

Track the terminal/process handle used to start Vite. Before finishing, state whether the local server remains running and how to stop that exact process (for example, Ctrl+C in its terminal). Do not use a broad kill command. Clean a staged report after the user is finished when practical:

bash
node scripts/prepare-report.mjs --cleanup <session-id>

Opening the report page does not authorize export or switching to 导出创作.

5. Handle export requests

Read references/export-workflow.md before operating the export UI.

  • Follow the user's activity selection; otherwise use a clear preference such as latest, longest, or most climbing.
  • Prefer user media. Disclose when a built-in abstract background will be used.
  • Default to 9:16, H.264 MP4 for motion, whole-activity summary card, watermark enabled, and safe placement. Use a 10-second single-background rotation or 2.5 seconds per route photo.
  • Before rendering, tell the user that Chromium may open a native save picker that requires their own click; otherwise the browser downloads folder is used.
  • Inspect the preview when visual capability exists. Without it, do not claim bounds were verified; ask the user to check the preview before the expensive render.
  • Choose PNG for a still and MP4 for animation/video.
  • Never claim success until rendering finishes and save/download is confirmed.

Usability defaults

  • Use basenames in reports and watermarks; omit absolute paths.
  • Explain missing sensors once in the data-quality section.
  • Preserve the current export layout when revisiting the composer.
  • Avoid one “average activity” conclusion for mixed sports.
  • Keep user files and generated reports out of the repository. Runtime copies live in the OS temporary directory; npm packages live in the Skill directory and may be replaced by updates.

Examples

  • “帮我分析一次运动。” with no file → Ask in Chinese for a dragged file or local path.
  • “Show me the demo.” → Use samples/demo.kml, state that it is synthetic, analyze it, and open the local report when reachable.
  • The user provides one FIT → Check/install, analyze, present, stage, and open the URL-loaded report.
  • “把这 8 次骑行综合分析一下。” → Analyze valid non-duplicates and open the longest ride as the representative report unless another is named.
  • “只看看数据,先别导出。” → Analyze and open the report page, but do not enter the export composer.
  • A remote Agent cannot expose loopback → Deliver the text report and JSON, explain why the local page is unavailable, and do not pretend it opened.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Fit Ride Studio?

Analyze one or more cycling, running, or hiking FIT/KML activity tracks, generate evidence-based single or aggregate reports, open the bundled local Ride Relief report page when the environment supports it, enrich results with user-confirmed public location context, and create shareable PNG or H.264 MP4 route stories on request. Use whenever a user wants to analyze, compare, visualize, or export .fit or .kml activities, including requests that mention a workout but do not yet include track files.

Зачем использовать Fit Ride Studio в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Fit Ride Studio — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Fit Ride Studio в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/op7418/guizang-sports-skill/tree/main. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Fit Ride Studio?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Fit Ride Studio?

С любым количеством. В TypingMind вы можете использовать Fit Ride Studio с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Fit Ride Studio?

Да. Навык опубликован на GitHub по лицензии AGPL-3.0. Издатель — op7418. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇