Skip to content
Back to skills

History

ASecurity

Show recently played tracks (a passive local playback log). Use when the user asks what played earlier, what song was on before, recently played music, or to clear the playback history.

  • 4 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
ai-agentsbash

Works with

  • claude code

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add Bangs00/claude-media-control --skill history --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of History?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bangs00-history/badge)](https://www.skillsdirectory.com/skills/bangs00-history)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: history
description: Show recently played tracks (a passive local playback log). Use when the user asks what played earlier, what song was on before, recently played music, or to clear the playback history.
argument-hint: [count | clear]
allowed-tools: Bash
---

Requested: $ARGUMENTS

Recent playback history (newest first, `MM-DD HH:MM  title — artist  (app)`):

!`"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" history 20`

Now do the following:

1. If the request is a **number** (e.g. "last 50"), re-run with that count:

   ```bash
   "${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" history <count>
   ```

2. If the request is to **clear/delete** the history, confirm intent first, then:

   ```bash
   "${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" history clear
   ```

3. Otherwise present the lines above as a markdown list, newest first —
   `**title** — *artist* (app · MM-DD HH:MM)` — trimmed to what the user asked
   for. If the user asked about a specific track ("when did X play?"), answer
   just that from the list.

Notes you may need:

- Tracks are logged **passively** while media reads happen anyway (statusline
  ticks, `/media:now`, playback commands) — there is no background polling, so
  gaps are normal when Claude Code wasn't running or the statusline is off.
- The log keeps the most recent 500 tracks in `history.jsonl` under the plugin
  data directory; nothing ever leaves the machine.
- Logging is controlled by `/media:config history.record on|off`. If the user
  asks to stop/start recording, use that key.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.