Pelotonのロゴ

Peloton

コミュニティ
win4r
peloton

Connect to Peloton to browse fitness classes, check schedules, and book workouts.

概要

公開者win4r
リポジトリMuseAI-Skills
スキル名peloton
スター
382
フォーク
116
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    win4rがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Peloton」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/win4r/MuseAI-Skills/tree/main/opt/hatch/skills/peloton
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/win4r/MuseAI-Skills.git /tmp/MuseAI-Skills
mkdir -p .claude/skills
cp -r /tmp/MuseAI-Skills/opt/hatch/skills/peloton .claude/skills/peloton
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPelotonを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPelotonを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Pelotonは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Peloton

Purpose

Connect to Peloton to browse on-demand and live fitness classes, manage schedules, and book workouts.

Tooling

Use the installed CLI directly from PATH.

Core auth commands:

  • peloton status
  • peloton authorize-url
  • peloton disconnect

Class Browsing

  • peloton ride-archived [--limit 10] [--page 0] [--fitness-discipline cycling] [--duration 1800] [--sort-by popularity] [--difficulty-level beginner] [--has-closed-captions true] [--super-genre-id <ID>] [--browse-category cycling] [--class-type-id <ID>] [--instructor <ID>] [--desc true]
  • peloton ride-live [--limit 10] [--schedule-type live] [--exclude-complete true] [--days 7] [--fitness-discipline cycling] [--super-genre-id <ID>] [--browse-category cycling] [--class-type-id <ID>] [--instructor <ID>] [--desc true]
  • peloton search-class --query "<text>" --limit 10 --page 0 [--include-raw] [--include-schema] — search classes by natural-language or partner-provided terms such as "seated strength". Always pass --limit and --page; use --limit 10 --page 0 unless the user asks for a different local result window. Use --include-raw or --include-schema only when inspecting the response shape.

Response structure: class browsing commands return a presentation-ready body.classes[] array. search-class also returns local-window fields: body.count, body.total, body.page, body.limit, body.has_more, and body.pagination_mode: "local_window". Peloton search does not support API pagination; --limit and --page only slice the returned result set locally. For different results, refine the query instead of trying to fetch another provider page. Raw provider arrays may be present only for debug commands that request them.

Class reads preserve Peloton's raw epoch fields and add semantic class_scheduled_start_at, class_starts_at, class_ends_at, and class_originally_aired_at values with UTC and user-local forms when those source fields are present. Prefer the semantic fields.

Filter IDs
  • peloton metadata-mappings — returns all filter taxonomies: instructors, class_types, equipment, fitness_disciplines, difficulty_levels, and content_formats. Use the returned IDs for --super-genre-id, --class-type-id, and --instructor filters instead of hardcoding values.

Scheduling

  • peloton schedule-event --ride-id <ID> --scheduled-start-time <EPOCH> — schedule an on-demand class
  • peloton schedule-event --join-token <TOKEN> — schedule a live class
  • peloton delete-scheduled-event --join-token <TOKEN> — remove a scheduled class
  • peloton reschedule-event --join-token <TOKEN> --scheduled-start-time <EPOCH> — move to new time

Deeplinks

  • peloton deeplink --class-id <ID> — generate a link to view the class in Peloton

Auth

Peloton is an OAuth-backed skill.

For normal class reads, call the requested read command directly; do not add a peloton status preflight. If a command reports not_connected, or the user asks to manage the connection:

  1. Run peloton status.
  2. If status is not_connected, complete the link flow first.
  3. Before running peloton authorize-url, ask for explicit confirmation:
    • state the provider name: peloton
    • warn: This stores a persistent access token for Peloton. Your assistant will have ongoing access until you disconnect it locally or revoke it in Peloton settings.
    • never show raw OAuth scope strings or scope names in the connection message
  4. Run peloton authorize-url once. When connect_url is present, replace <connect_url> with the returned URL and share exactly this Markdown link: [Connect Peloton](<connect_url>); do not paste the raw URL separately.
  5. Do not call peloton authorize-url again while waiting for the user to approve the link or for the callback to complete; use peloton status to check pending connection state.
  6. After callback completion, run peloton status again and continue only when status is connected. If status is still not_connected, say the connection is still pending or failed and ask whether to generate a new link.

Credential storage:

  • Never print client_secret, access_token, or refresh_token.

Operating Rules

  1. For account linking, follow the Auth section.
  2. Do not show raw internal identifiers, difficulty scores, star ratings, rating counts, or class URLs in user-facing results unless the user explicitly asks for technical/debug details. Use titles, instructor names, and times for fallback text.
  3. For natural-language class searches, call peloton search-class with --limit 10 --page 0. Use ride-archived only when the user requests its structured filters or unsearched archived browsing. Present the returned body.classes[] with widget.create, using kind: "list" and a list title and items inside data. Put each class title in title, instructor and duration_minutes in subtitle, and a relevant class time in tertiary_title when available. Copy thumbnail_url into image_url when present. Use type: "link" with data.url copied from the returned HTTP(S) deeplink_url; use type: "generic" when no such link is returned. Place the returned embed_token in the reply. Do not duplicate the class list in plain text. If there are no classes, say so; if widget creation fails, use concise Markdown bullets with title, instructor, and duration. Do not print class IDs or image CDN URLs as text.
  4. For other class browsing commands, use the same list presentation with body.classes[]. Use raw provider arrays only for requested debugging. Do not construct class URLs yourself.
  5. Use the CLI-provided duration_minutes field for displaying class duration.
  6. For live classes, default to a 7-day window using --days 7 --exclude-complete true.
  7. Scheduling and deleting scheduled classes may proceed from a clear, unambiguous user request without an additional confirmation.
  8. Token refresh on expired-token errors is automatic. If API calls still fail after auto-refresh, re-check peloton status and re-link if needed.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Peloton」では何ができますか?

Connect to Peloton to browse fitness classes, check schedules, and book workouts.

TypingMindでPelotonを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Pelotonはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPelotonをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/win4r/MuseAI-Skills/tree/main/opt/hatch/skills/pelotonを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Pelotonを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Pelotonで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPelotonを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Peloton」は無料ですか?

win4rがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇