Codewhale is an open-source coding agent that runs in the terminal and can read repositories, edit files, execute commands, and inspect results while pursuing a task. Developers use it with hosted providers or local models, with controls for how much access it receives.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Hmbown/Codewhale --skill spotifygit clone --depth 1 https://github.com/Hmbown/CodewhaleWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hmbown/codewhale/spotify)<a href="https://agentmods.dev/skills/hmbown/codewhale/spotify"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/spotify/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hmbown/codewhale/spotify"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/spotify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00370 |
| Opus 5.5 | $0.00000 | $0.00148 |
| Sonnet 5.5 | $0.00000 | $0.00074 |
| Haiku 4.5 | $0.00000 | $0.00037 |
Grade A, and why
spotify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
name: spotify description: Control Spotify playback and search the library and playlists. Use when: spotify, music, playlist, play, pause, or what's playing. invocation: model+user
Spotify
When to use
Playing, pausing, skipping, identifying the current track, searching for music, and reading playlists.
Setup
Two paths:
- Local control (macOS, no setup). The Spotify desktop app must be
running, or say so:
osascript -e 'tell application "Spotify" to playpause' - Web API (search, playlists, other platforms). Requires an authorized Spotify
connection with suitable scopes; report missing access without asking the
user to paste a token into chat:
GET api.spotify.com/v1/search,/v1/me/playlists,/v1/playlists/{id}.
Workflow
- Prefer local control for transport (play/pause/next/previous/current track).
Use the requested
playorpauseverb;playpauseis a toggle and cannot safely be retried after an uncertain result. Verify player state afterward. - Use available Web API endpoints for search and playlist contents. Check current app-access restrictions; do not promise the restricted Recommendations API. Handle 403/429 responses without bypassing access or rate limits.
- Report artist, track, album, and playlist names verbatim.
Non-goals
- Do not change playlists (add/remove/reorder) unless asked.
- Do not download or rip audio.
- Do not handle the user's Spotify password.
Reference: Spotify API changes.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +7 lines 6fef0ca54efe
- 2mo ago First seen · 32 lines · 0 tokens per session scan A 5bf2d29160a4
spotify is a skill published in the GitHub repository Hmbown/Codewhale (41,035 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 370 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
spotify compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spotifyHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| gh-find-prsHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 27 | Claude Code, Codex |
| best-of-nHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 32 | Claude Code, Codex |
| contributor-onboardingHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 57 | Claude Code, Codex |
| fleet-managerHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 25 | Claude Code, Codex |
| handoffHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 70 | Claude Code, Codex |
| plugin-creatorHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 29 | Claude Code |