一键导入
media
Generic OS media transport — play/pause/next/previous and player volume (playerctl). Mock backend for binding-only. Pure execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generic OS media transport — play/pause/next/previous and player volume (playerctl). Mock backend for binding-only. Pure execution.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Application control — open/launch, close/quit, and switch-to a running app by name. Mock backend. Pure execution.
Drive the user's real browser (Chromium/Brave/Chrome) — open url, web search, read page text, click, type, screenshot, list/switch tabs. Real backend = Playwright connect_over_cdp (attaches to your existing browser); mock for the binding benchmark. Pure execution (slot-filled, no LLM).
Telephony actions — dial a contact/number, redial, hang up, answer. Mock backend (no real telephony). Pure execution.
Unified time control — countdown timers, absolute-time alarms (with optional repeat), and current/world time. The one skill that ACTUALLY fires (systemd-run --user) when ALFRED_CLOCK_REAL=1; mock for the binding benchmark. Pure execution.
Connectivity + UI toggles — wifi, bluetooth, airplane mode, do-not-disturb, dark mode, each on/off. Mock backend. Pure execution.
Manage Docker containers — start/stop/restart, remove, show logs, list running containers. Pure execution, no communication. Mock backend (binding-only) for the thesis benchmark.
| name | media |
| description | Generic OS media transport — play/pause/next/previous and player volume (playerctl). Mock backend for binding-only. Pure execution. |
System-wide media transport over whatever player is active (the playerctl surface),
not Spotify-specific. Canonical reflexer case — one command, one action.
Mock / binding-only.
mediaechoes JSON without touching a player. A real backend maps toplayerctl play/pause/next/previousandplayerctl volume <0-1>.
CLI: python3 agents/skills/media/media.py <command> (aliased media).
media play — resume current playback
media pause
media next
media previous
media volume --level <0-100>
One JSON line: {"ok":bool,"data":{...},"error":null|{...},"meta":{"mock":true}}. Exit 0/2.
media play/pause/next/previous/volume deliberately overlap Spotify. The discriminator
is specificity: media play resumes the current player with no track, while
spotify play --track "<q>" names a track; media volume is the player level while
sys volume set is the system master. This is a hard cross-skill routing test.