Command Palette

Search for a command to run...

Назад к скиллам
скилл № 88549

appworld-spotify-playlist-duration-not-count

AppWorld Spotify tasks that select or start a playlist whose total duration must cover a fixed activity length. Use when playlist search or library endpoints…

БесплатноБез исполняемых скриптов
RUC-NLPIRот RUC-NLPIR★ 472 звезды на GitHub

Установить appworld-spotify-playlist-duration-not-count в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

AppWorld Spotify: sum song durations, not song counts

When a playlist must cover a time-based duration requirement, do not use the number of song_ids as a proxy for total time.

Rules

  • Playlist search/library endpoints expose song_ids but not per-song durations. For each candidate playlist, call show_song for each song_id and sum the durations.
  • Print one sample show_song response first and use only the duration field actually returned/documented there; do not assume its name.
total = sum(
    apis.spotify.show_song(song_id=sid)["<duration_field>"]
    for sid in candidate["song_ids"]
)
  • Only select or start a playlist whose summed duration meets or exceeds the required duration.

Verification

Before answering, confirm every candidate was compared by summed show_song durations, not by len(song_ids). If any candidate was compared by count, recompute its total duration from actual song durations and re-check the requirement.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл appworld-spotify-playlist-duration-not-count?

AppWorld Spotify tasks that select or start a playlist whose total duration must cover a fixed activity length. Use when playlist search or library endpoints return song_ids without durations and the plan might treat len(song_ids) as a proxy for total time.

Как установить скилл appworld-spotify-playlist-duration-not-count?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл appworld-spotify-playlist-duration-not-count запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить appworld-spotify-playlist-duration-not-count с