agentleFS
Bangs00Bangs00/claude-media-control/skills/config/SKILL.md

config

Skill4 starsChanged 5 months agoMITView on GitHub

Quick media settings — turn the now-playing statusline, the /media:now progress bar, or the playback history on/off, or reset the statusline to its default look. `config <key> [on|off|value]` changes any key directly. Use when the user wants to enable, disable, or reset a media display feature. (Arranging and styling the statusline lives in /media:statusline.)

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use uninstall, status and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • VercelSkill

    setup

    Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask ONE AskUserQuestion call with exactly ONE question (single-select, header "Settings"): "Which setting do you want to change?" — exactly …

    line 63
  2. Very specific:

    If enabling display.statusline is refused (exit 3), no now-playing read path works right now.

    line 88

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Requested change (may be empty): $ARGUMENTS

Current settings:

!"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" config


Pick the mode from $ARGUMENTS:

Mode A — a key was given ($ARGUMENTS is NOT empty)

The user named a specific key (e.g. display.statusline on, statusline.marquee off). Apply it directly and report the result:

"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" config $ARGUMENTS

Valid keys:

  • display.progressbar — progress bar in the /media:now reply
  • display.statusline — the statusline now-playing segment
  • statusline.multiline — layout: on = each group on its own line, off = one line (unused when statusline.fields has / breaks)
  • statusline.color — ANSI colors/bold/italic in the statusline (default on; the NO_COLOR env var also disables it)
  • statusline.marquee — scroll statusline titles wider than 30 cells, one char/second (default on)
  • statusline.links — which parts of the statusline segment are cmd+clickable, each switchable on its own (default on = all four): toggle (the ▶︎/⏸ icon toggles playback), track (title/artist jump to the playing media — the playing browser tab or Music's current track when the app is scriptable, plain app activation otherwise), app (the same jump from the app name), and seek (each progress-bar cell seeks). Takes on (all), off (none), or a comma/space list of parts — config statusline.links toggle,seek leaves the text plain and keeps the icon and bar clickable. Any part left on builds + registers the local claude-media-control:// handler app, and is refused (exit 3) when that build fails; parts switched off render exactly as they would with links off. Works in hyperlink-capable terminals (iTerm2, Ghostty, WezTerm, Kitty, VS Code)
  • history.record — log played tracks to the local history (default on; view with /media:history)
  • statusline.fields — which items the statusline shows, as an ordered comma/space list of track app volume progressbar time output with optional / line breaks (interactive: /media:statusline)
  • style.<part> — per-item statusline styles (15 string-valued keys; config style lists them, the value reset restores one, config style reset restores all). Guided styling lives in /media:statusline.
  • statusline reset — restore the whole statusline appearance to defaults: arrangement, explicit lines, colors, marquee, and every style.* key. Does not touch display.statusline or the non-statusline toggles.

Rules you must follow:

  • Enabling runs a preflight. Exit code 3 means the feature cannot work right now and the enable was refused (fail-closed by design). Explain the reason from stderr, point to /media:doctor, and do NOT retry or work around the refusal.
  • Enabling display.statusline also wires the segment into ~/.claude/settings.json automatically (wrapper + backup of the previous statusLine; details in docs/statusline.md). Relay the wiring line the command prints — it says whether it wired, refreshed, or found a manual setup it left alone. The segment shows up on the next statusline tick, no restart needed.
  • A wish to unwire the statusline (remove it from settings.json, "배선 해제", "settings에서 빼줘") maps to "${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" statusline uninstall — it restores the backed-up statusLine, removes the wrapper + backup, and turns display.statusline off. (Plain display.statusline off only hides the segment and keeps the wiring for a fast re-enable. Uninstalling the plugin reverts the wiring by itself.)
  • Disabling always succeeds.
  • Afterwards show the resulting state (re-run config with no key if helpful).

Mode B — no key given ($ARGUMENTS is empty) → quick settings

Ask ONE AskUserQuestion call with exactly ONE question (single-select, header "Settings"): "Which setting do you want to change?" — exactly these four options, with the CURRENT value from the settings table above baked into each label so the user sees the state before picking:

  1. Statusline: <on|off> — description: the now-playing segment rendered into Claude Code's statusline (enabling wires it into settings.json automatically and it appears on the next tick); selecting flips it.
  2. /media:now progress bar: <on|off> — description: the progress bar drawn under the /media:now reply; selecting flips it.
  3. Playback history: <on|off> — description: passively log played tracks (view with /media:history); selecting flips it.
  4. Reset statusline settings — description: restore the statusline's default look — arrangement, lines, colors, marquee, and all per-item styles. The three toggles above are not touched.

Then apply the selection with one Bash call:

"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" config display.statusline on   # option 1 (flip)
"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" config display.progressbar on  # option 2 (flip)
"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" config history.record on       # option 3 (flip)
"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" config statusline reset        # option 4

If enabling display.statusline is refused (exit 3), no now-playing read path works right now; relay the stderr reason and point to /media:doctor — fail-closed by design, never bypass it. An "Other" answer names a key or a wish — map it onto Mode A (arrangement or styling wishes belong to /media:statusline; run that flow instead of guessing keys here).

Show the result

"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" config

Report the changed key (old → new) in one line. After a reset, mention the statusline is back to its stock look. Close with one pointer: arranging items and lines, and styling any part (colors, bold/italic, bar characters, icons) live in /media:statusline.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.