智能收音机
agent-radio
by Artem Pisarev
Control internet radio: play streams, search stations, manage favorites, volume, stop/pause/next, and inspect current playback. Uses mpv with audio device auto-detection and ffplay fallback. Settings persist between runs.
安装
- id: brew-mpv文档
Agent Radio Skill
Internet radio player for OpenClaw with station search, favorites, volume control, and playback management.
When to Use
Use when user wants to:
- Play an internet radio stream by URL
- Search for stations by name from the live Radio Browser directory
- Play a random built-in station when no target is provided
- Manage favorite stations (add, remove, list)
- Control volume, pause/resume, stop, skip to next
- Check what is currently playing
- Have a persistent radio experience across sessions
Tools
This skill provides the following CLI commands in scripts/:
play <url|station_name> [volume]
Play a stream by URL or by name from favorites or the built-in list.
If no target is provided, the skill chooses a random station from stations.json.
Optional volume is 0-100 and defaults to the saved setting.
Examples:
play https://stream.zeno.fm/0r0xa792kwzuvplay BBC Radio 1play "Jazz 24 (KNKX)" 60
stop
Stop playback immediately.
pause
Pause or resume the current playback process.
next
Skip to the next favorite station in a cycle.
volume [level]
Show the current volume or set a new default volume from 0-100.
Examples:
volumevolume 75
now
Show the current station URL, volume, PID, and playback status.
favorite add <name> <url>
Add a station to favorites.
favorite remove <name>
Remove a station from favorites.
list
List all favorite and built-in stations.
find <query> [number]
Search the Radio Browser directory. When number is provided, play that result immediately.
Examples:
find jazzfind "lofi hip hop" 1
Configuration
Preferences are stored in: {baseDir}/preferences.json
{
"last_station": "",
"volume": 80,
"favorites": [
{"name": "BBC Radio 1", "url": "http://..."},
{"name": "Jazz 24 (KNKX)", "url": "https://..."}
],
"audio_device": "auto",
"current_pid": null,
"paused": false
}
Audio device auto-detection:
- macOS:
coreaudio/BuiltInSpeakerDevice - Linux:
alsa/default - Windows:
directsound/default
Override locations when needed:
AGENT_RADIO_BASE_DIRAGENT_RADIO_PREF_FILEAGENT_RADIO_STATIONS_FILE
Implementation Notes
- Primary player:
mpv --no-video --audio-device=<device> --volume=<vol> --cache=yes <url> - Fallback player:
ffplay -nodisp -autoexit <url> - Playback runs in the background and stores PID plus paused state in preferences.
- On
play, any existing playback is stopped before starting the next stream. - Station lookup is case-insensitive across favorites and built-in stations.
nextcycles favorite URLs instead of depending on station-name matching.
Error Handling
- If both
mpvandffplayare missing, return install guidance. - If dependencies like
jqorcurlare missing, fail early with a clear message. - If a stored PID is stale, clear it automatically.
- If station search returns no matches, explain how to retry with another query or a direct URL.
Examples for Users
/radio play https://stream.zeno.fm/0r0xa792kwzuv
/radio play "BBC Radio 1"
/radio volume 70
/radio now
/radio find jazz
/radio find "lofi hip hop" 1
/radio favorite add "Lounge Jazz" https://jazz.stream
/radio list
/radio next
/radio stop
Future Enhancements
- Built-in station directory with genres and countries
- Recording streams to file
- Equalizer presets
- Web interface control
相关 Skills
Claude接口
by anthropics
面向接入 Claude API、Anthropic SDK 或 Agent SDK 的开发场景,自动识别项目语言并给出对应示例与默认配置,快速搭建 LLM 应用。
✎ 想把Claude能力接进应用或智能体,用claude-api上手快、兼容Anthropic与Agent SDK,集成路径清晰又省心
计算机视觉
by alirezarezvani
聚焦目标检测、图像分割与视觉系统落地,覆盖 YOLO、DETR、Mask R-CNN、SAM 等方案,适合定制数据集训练、推理优化及 ONNX/TensorRT 部署。
✎ 把目标检测、图像分割到推理部署串成完整工程链路,主流框架与 YOLO、DETR、SAM 等方案都覆盖,落地视觉 AI 会省心很多。
智能体流程设计
by alirezarezvani
面向生产级多 Agent 编排,梳理顺序、并行、分层、事件驱动、共识五种工作流设计,覆盖 handoff、状态管理、容错重试、上下文预算与成本优化,适合搭建复杂 AI 协作系统。
✎ 帮你把多智能体流程设计、编排和自动化统一起来,复杂工作流也能更稳地落地,适合追求强控制力的团队。
相关 MCP 服务
知识图谱记忆
编辑精选by Anthropic
Memory 是一个基于本地知识图谱的持久化记忆系统,让 AI 记住长期上下文。
✎ 帮 AI 和智能体补上“记不住”的短板,用本地知识图谱沉淀长期上下文,连续对话更聪明,数据也更可控。
顺序思维
编辑精选by Anthropic
Sequential Thinking 是让 AI 通过动态思维链解决复杂问题的参考服务器。
✎ 这个服务器展示了如何让 Claude 像人类一样逐步推理,适合开发者学习 MCP 的思维链实现。但注意它只是个参考示例,别指望直接用在生产环境里。
PraisonAI
编辑精选by mervinpraison
PraisonAI 是一个支持自反思和多 LLM 的低代码 AI 智能体框架。
✎ 如果你需要快速搭建一个能 24/7 运行的 AI 智能体团队来处理复杂任务(比如自动研究或代码生成),PraisonAI 的低代码设计和多平台集成(如 Telegram)让它上手极快。但作为非官方项目,它的生态成熟度可能不如 LangChain 等主流框架,适合愿意尝鲜的开发者。