/prev
Go back to the previous track in whatever app is playing on this Mac. Use when the user says previous song, go back a track, or replay the last song.
Claude Code
$ npx -y skills add Bangs00/claude-media-control --skill prev --agent claude-code
Codex
$ npx skills add Bangs00/claude-media-control --skill prev -a codex -y
Cursor
$ npx skills add Bangs00/claude-media-control --skill prev -a cursor -y
Gemini CLI
$ npx skills add Bangs00/claude-media-control --skill prev -a gemini-cli -y
GitHub Copilot
$ npx skills add Bangs00/claude-media-control --skill prev -a github-copilot -y
OpenCode
$ npx skills add Bangs00/claude-media-control --skill prev -a opencode -y
Windsurf
$ npx skills add Bangs00/claude-media-control --skill prev -a windsurf -y
SKILL.md
prev.SKILL.mdname: prev description: Go back to the previous track in whatever app is playing on this Mac. Use when the user says previous song, go back a track, or replay the last song. allowed-tools: Bash
Went to the previous track. Resulting state (JSON):
!`"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" prev`
Confirm to the user in one compact markdown line (not a code block): `▶︎|⏸ **<title>** — *<artist>* · <appName>` (title bold, artist italic) — this is the track now playing.
- Note: many apps restart the current track on the first "previous" and only jump to the prior track on a second call — mention this if the title did not change.
- If the JSON is `null`: nothing was playing to control.
- If `"degraded": true` or a stderr hint appeared: add one short note pointing to `/media:doctor`.
The current track, live in your Claude Code statusline — ticking every second, ⌘+clickable, styleable down to the bar characters: And whatever your Mac is playing — Spotify, Apple Music, a browser tab, VLC — you can control it from the chat too: "what song is
More skills from other plugins.
browser-use
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Questions about prev.
- Which coding agents can use prev?
- prev installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

