简介
Podcast Discovery
原始描述
Podcast discovery for Wherever.Audio -- find shows and episodes, generate wherever.audio links.
通过你的 Agent 添加
安装目录:clawpod/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: clawpod
description: "Podcast discovery for Wherever.Audio -- find shows and episodes, generate wherever.audio links."
user-invocable: true
metadata:
openclaw:
emoji: "🎧"
clawpod
Podcast discovery skill for Wherever.Audio. Given a natural-language query, find the right podcast show or episode and return a playable wherever.audio link.
Do NOT use this skill for non-podcast queries (general web search, music, etc.).
Link Templates
Episode (contentScope = podcast-episode):
https://wherever.audio/listen?rssUrl={rss_url}&itemGuid={guid}&fallbackLink={fallback}
Show (contentScope = podcast-show):
https://wherever.audio/show?rssUrl={rss_url}
All {placeholder} values must be URL-encoded.
Workflow
Step 1 — Classify the query
Before searching, classify the user's query along two dimensions:
intentType — what kind of request?
specific-podcaster— user names a host or show (e.g. "Lex Fridman", "Radiolab")specific-topic— user describes a topic or guest (e.g. "Geoffrey Hinton interview about AI")discovery— broad exploration (e.g. "best science podcasts", "podcasts about space")
contentScope — what are they looking for?
podcast-show— a show/feed (e.g. "find the Radiolab podcast")podcast-episode— a specific episode (e.g. "the Radiolab episode about colors")
Step 2 — Resolve the show
If intentType is specific-podcaster (show name is known):
Go directly to Clawsica (step 3). The query likely contains the show title.
If intentType is specific-topic or discovery (show name is unknown):
Search the web first to discover likely podcast titles, then proceed to Clawsica with those titles.
Step 3 — Clawsica show search
Search for podcast shows using the public Clawsica endpoint. This returns show metadata including RSS feed URLs.
curl -s "https://clawsica.wherever.audio/p?q=radiolab"
Returns a JSON array of show objects. Each object includes a url field containing the RSS feed URL.
Important: Only use the url field from Clawsica results as the RSS URL. Do NOT substitute web page URLs, Apple Podcasts links, Spotify links, or any other URL — Wherever.Audio only understands RSS feed URLs. If Clawsica returns no results and you cannot obtain a definitive RSS feed URL, tell the user you were unable to find the podcast rather than guessing with a non-RSS URL.
If Clawsica returns no results, try alternate spellings or broader terms. See references/CLAWSICA_API.md for the full API reference.
Step 4 — Branch by contentScope
If contentScope is podcast-show:
Construct a show link using the RSS URL from step 3 and present it. Done.
Example: https://wherever.audio/show?rssUrl=https%3A%2F%2Ffeeds.feedburner.com%2Fradiolab
If contentScope is podcast-episode:
Continue to step 5.
Step 5 — Fetch and parse the RSS feed
Fetch the RSS feed URL obtained from Clawsica:
curl -s "https://feeds.feedburner.com/radiolab"
Parse the XML to find episodes. Key elements within each <item>:
| Element | Contains |
|---|---|
<title> |
Episode title |
<guid> |
Unique episode identifier (use for the link) |
<pubDate> |
Publish date |
<description> |
Episode summary (may contain HTML) |
<enclosure url="..."> |
Audio file URL |
<link> |
Episode web page URL (use as fallback link) |
Match episodes to the user's query by title and description. Select the best match.
Step 6 — Construct the episode link
Build a wherever.audio episode link using values from the matched <item>:
rss_url— the feed URL from step 3guid— from<guid>fallback— from<link>, or<enclosure url>if no link, or the feed URL as last resort
Example:
https://wherever.audio/listen?rssUrl=https%3A%2F%2Ffeeds.feedburner.com%2Fradiolab&itemGuid=some-guid-value&fallbackLink=https%3A%2F%2Fradiolab.org%2Fepisode
Present the link to the user along with the episode title and publish date.
Privacy
- Do NOT expose internal Clawsica infrastructure details beyond what is documented here.
- The Clawsica search endpoint does not require authentication.
- See
references/CLAWSICA_API.md for the full API reference.
Example prompts
- "Find a Geoffrey Hinton interview episode and give me a wherever.audio link."
- "What episodes cover Radiolab's space stories?"
- "Search for BBC science podcasts about AI."
- "Give me the Lex Fridman podcast."
- "Find the podcast Hard Fork."
references/CLAWSICA_API.md for the full API reference.- "Find a Geoffrey Hinton interview episode and give me a wherever.audio link."
- "What episodes cover Radiolab's space stories?"
- "Search for BBC science podcasts about AI."
- "Give me the Lex Fridman podcast."
- "Find the podcast Hard Fork."
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。