技能详情(站内镜像,无评论)
作者:Marius Wichtner @2mawi2
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 9 · 5.7k · 36 current installs · 40 all-time installs
⭐ 9
安装量(当前) 40
🛡 VirusTotal :良性 · OpenClaw :良性
Package:2mawi2/spotify
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill is internally consistent: it controls local Spotify on macOS using a Homebrew-installed CLI and AppleScript, and it does not request unrelated credentials or system access.
目的
Name/description match the requirements and instructions: the skill is macOS-only, needs a 'spotify' CLI, and uses AppleScript to control the Spotify desktop app — all appropriate for a playback-control skill.
说明范围
SKILL.md only instructs running the spotify CLI and osascript AppleScript commands to control the local Spotify app, and to search for Spotify URLs; it does not ask to read unrelated files, exfiltrate data, or use unrelated credentials.
安装机制
Install uses Homebrew (package 'shpotify') which is a standard package manager; this is low-risk compared with arbitrary URL downloads. User should still verify the formula's origin if they are cautious.
证书
No environment variables, credentials, or config paths are requested — the requested access is proportionate to the stated purpose.
持久
The skill is not forced always-on and uses normal autonomous invocation defaults; it does not request elevated or persistent system-wide privileges.
综合结论
This skill appears to do exactly what it says: control the local Spotify app on macOS. Before installing, verify the Homebrew package 'shpotify' (its repository and maintainer) to ensure you trust the source, and be aware macOS will prompt for Automation/Accessibility permissions when AppleScript controls other apps. Also confirm you want a 'spotify' CLI binary on your PATH (it may shadow other similarly named binaries). If those checks are ac…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Spotify」。简介:Control Spotify playback on macOS. Play/pause, skip tracks, control volume, pla…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/2mawi2/spotify/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: spotify
description: Control Spotify playback on macOS. Play/pause, skip tracks, control volume, play artists/albums/playlists. Use when a user asks to play music, control Spotify, change songs, or adjust Spotify volume.
metadata: {"clawdbot":{"emoji":"🎵","requires":{"bins":["spotify"],"os":"darwin"},"install":[{"id":"brew","kind":"brew","packages":["shpotify"],"bins":["spotify"],"label":"Install spotify CLI (brew)"}]}}
---
# Spotify CLI
Control Spotify on macOS. No API key required.
## Commands
```bash
spotify play # Resume
spotify pause # Pause/toggle
spotify next # Next track
spotify prev # Previous track
spotify stop # Stop
spotify vol up # +10%
spotify vol down # -10%
spotify vol 50 # Set to 50%
spotify status # Current track info
```
## Play by Name
1. Search web for Spotify URL: `"Daft Punk" site:open.spotify.com`
2. Get ID from URL: `open.spotify.com/artist/4tZwfgrHOc3mvqYlEYSvVi` → ID is `4tZwfgrHOc3mvqYlEYSvVi`
3. Play with AppleScript:
```bash
# Artist
osascript -e 'tell application "Spotify" to play track "spotify:artist:4tZwfgrHOc3mvqYlEYSvVi"'
# Album
osascript -e 'tell application "Spotify" to play track "spotify:album:4m2880jivSbbyEGAKfITCa"'
# Track
osascript -e 'tell application "Spotify" to play track "spotify:track:2KHRENHQzTIQ001nlP9Gdc"'
```
## Notes
- **macOS only** - uses AppleScript
- Spotify desktop app must be running
- Works with Sonos via Spotify Connect