AlphaMoatによると、2026-09時点でSpotify Historyのダウンロード数は3,707、スター数は4で、AIスキル全体5,078件中2,896位、データ分析では399件中221位です。
| プラットフォーム | インストール数 | ダウンロード数 | スター数 | コメント |
|---|---|---|---|---|
| ClawHub ↗ | 121 | 3707 | 4 | - |
| SkillHub ↗ | 136 | 3706 | 4 | — |
プラットフォームごとに集計方法と集計時点が異なります。
一度OAuth認証すると、最近の再生履歴を取得し、期間別の上位アーティストや曲を表示し、音楽の好みに基づくおすすめを生成できます。アクセストークンはローカルに保存され、自動更新されます。許可範囲が音楽履歴に必要な範囲を超える可能性があり、raw JSONコマンドがトークンで許可された他のエンドポイントも呼び出せる可能性があります。クライアント認証情報とトークンもディスクに保存されます。必要最小限の権限だけを許可し、信頼できる端末で使い、認証ファイルを保護し、rawエンドポイントの利用前にデータ範囲を確認してください。
資料公開日 2026-10-29
スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-09 | 3707 | — | 4 |
| 2026-08 | 3626 | +4.3% | 4 |
| 2026-07 | 3476 | +7.3% | 4 |
| 2026-06 | 3241 | +4.3% | 4 |
| 2026-05 | 3106 | — | 4 |
| 2026-03 | 2652 | — | 4 |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
--- name: spotify-history description: Access Spotify listening history, top artists/tracks, and get personalized recommendations via the Spotify Web API. Use when fetching a user's recent plays, analyzing music taste, or generating recommendations. Requires one-time OAuth setup. --- # Spotify History & Recommendations Access Spotify listening history and get personalized recommendations. ## Setup (One-Time)
### Quick Setup (Recommended)
Run the setup wizard:
```bash
bash skills/spotify-history/scripts/setup.sh
```
This guides you through:
1. Creating a Spotify Developer App
2. Saving credentials securely
3. Authorizing access
### Manual Setup
1. **Create Spotify Developer App**
- Go to [developer.spotify.com/dashboard](https://developer.spotify.com/dashboard)
- Click **Create App**
- Fill in:
- **App name:** `Clawd` (or any name)
- **App description:** `Personal assistant integration`
- **Redirect URI:** `http://127.0.0.1:8888/callback` ⚠️ Use exact URL!
- Save and copy **Client ID** and **Client Secret**
2. **Store Credentials**
**Option A: Credentials file (recommended)**
```bash
mkdir -p credentials
cat > credentials/spotify.json <<EOF
{
"client_id": "your_client_id",
"client_secret": "your_client_secret"
}
EOF
chmod 600 credentials/spotify.json
```
**Option B: Environment variables**
```bash
# Add to ~/.zshrc or ~/.bashrc
export SPOTIFY_CLIENT_ID="your_client_id"
export SPOTIFY_CLIENT_SECRET="your_client_secret"
```
3. **Authenticate**
**With browser (local machine):**
```bash
python3 scripts/spotify-auth.py
```
**Headless (no browser):**
```bash
python3 scripts/spotify-auth.py --headless
```
Follow the prompts to authorize via URL and paste the callback.
Tokens are saved to `~/.config/spotify-clawd/token.json` and auto-refresh when expired.
## Usage
### Command Line
```bash
# Recent listening history
python3 scripts/spotify-api.py recent
# Top artists (time_range: short_term, medium_term, long_term)
python3 scripts/spotify-api.py top-artists medium_term
# Top tracks
python3 scripts/spotify-api.py top-tracks medium_term
# Get recommendations based on your top artists
python3 scripts/spotify-api.py recommend
# Raw API call (any endpoint)
python3 scripts/spotify-api.py json /me
python3 scripts/spotify-api.py json /me/player/recently-played
```
### Time Ranges
- `short_term` — approximately last 4 weeks
- `medium_term` — approximately last 6 months (default)
- `long_term` — all time
### Example Output
```
Top Artists (medium_term):
1. Hans Zimmer [soundtrack, score]
2. John Williams [soundtrack, score]
3. Michael Giacchino [soundtrack, score]
4. Max Richter [ambient, modern classical]
5. Ludovico Einaudi [italian contemporary classical]
```
## Agent Usage
When user asks about music:
- "What have I been listening to?" → `spotify-api.py recent`
- "Who are my top artists?" → `spotify-api.py top-artists`
- "Recommend new music" → `spotify-api.py recommend` + add your own knowledge
For recommendations, combine API data with music knowledge to suggest similar artists not in their library.
## Troubleshooting
### "Spotify credentials not found!"
- Make sure `credentials/spotify.json` exists **or** environment variables are set
- Credential file is checked first, then env vars
- Run `bash skills/spotify-history/scripts/setup.sh` to create credentials
### "Not authenticated. Run spotify-auth.py first."
- Tokens don't exist or are invalid
- Run: `python3 scripts/spotify-auth.py` (or with `--headless` if no browser)
### "HTTP Error 400: Bad Request" during token refresh
- Credentials changed or are invalid
- Re-run setup: `bash skills/spotify-history/scripts/setup.sh`
- Or update `credentials/spotify.json` with correct Client ID/Secret
### "HTTP Error 401: Unauthorized"
- Token expired and auto-refresh failed
- Delete token and re-authenticate:
```bash
rm ~/.config/spotify-clawd/token.json
python3 scripts/spotify-auth.py
```
### Headless / No Browser
- Use `--headless` flag: `python3 scripts/spotify-auth.py --headless`
- Manually open the auth URL on any device
- Copy the callback URL (starts with `http://127.0.0.1:8888/callback?code=...`)
- Paste it back when prompted
## Security Notes
- Tokens stored with 0600 permissions (user-only read/write)
- Client secret should be kept private
- Redirect URI uses `127.0.0.1` (local only) for security
## Required Scopes
- `user-read-recently-played` — recent listening history
- `user-top-read` — top artists and tracks
- `user-read-playback-state` — current playback
- `user-read-currently-playing` — currently playing track
AdMapix のデータ取得層で、広告やアプリの問い合わせを API 呼び出しに変え、生の JSON だけを返します。
Tavily 経由で公開ウェブを検索し、リンクと抜粋付きの構造化結果を返します。
データベースや表計算、書き出した生データを意思決定に使える結論へ変えるデータ分析スキルです。
Yahoo Finance のデータで株式と暗号資産を分析し、ポートフォリオを追跡するスキルです。
ローカルのウォッチリストを管理し、銘柄コードごとに同花順の相場と足元の値動きを要約するスキルです。
知了标讯:入札、落札、サプライヤー、調達市場の情報を検索・分析します。
ブログと RSS/Atom フィードの更新をコマンドラインで追跡します。
Codex や Claude のモデル別の利用コストを集計するスキルです。
データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。