AgentSkillsCN

posit-news

利用多个子智能体,从Posit平台获取并展示新闻资讯,涵盖博客文章、播客节目、视频内容以及各类活动信息。 当用户希望了解Posit平台的最新动态、博客更新、播客节目、视频内容,或公司发布的各类公告时,即可使用此技能。

SKILL.md
--- frontmatter
name: posit-news
description: |
  Use multiple sub-agents to fetch and display news from Posit, including blog posts, podcast episodes, videos, and events.
  Use when the user wants to see recent Posit news, blog updates, podcast episodes, videos, or company announcements.

Posit News

Dispatch multiple sub-agents to fetch the latest Posit news from Posit blog posts, podcast episodes, videos, and event announcements and present them to the user.

Blogs to Fetch

Podcast to Fetch

PodcastURL
The Test Sethttps://posit.co/thetestset/

Videos to Fetch

Note: YouTube (https://www.youtube.com/@PositPBC/videos) is blocked by WebFetch. Use Posit's XML sitemaps instead to find recent video content hosted on posit.co.

Events to Fetch

SourceURL
Posit Events Sitemaphttps://posit.co/events-sitemap.xml
Data Science Hangouts Sitemaphttps://posit.co/hangouts-sitemap.xml

Instructions

  1. First, run date +%Y-%m-%d to get today's date.

  2. Use WebFetch to retrieve all blog URLs in parallel. For each blog, use this prompt: "Extract the [N] most recent blog posts with title, date, brief description, and URL."

  3. Fetch the podcast page (https://posit.co/thetestset/) with prompt: "Extract the latest podcast episode with title, episode number, brief description, and URL."

  4. Fetch the latest videos from Posit's sitemaps: a. Fetch all 4 video sitemaps in parallel with prompt: "List the 5 most recently modified URLs with their names and dates."

    • Product Demos: https://posit.co/cpt-product-demos-sitemap.xml
    • Workflow Demos: https://posit.co/cpt-workflow-demos-sitemap.xml
    • Webinars: https://posit.co/cpt-webinars-sitemap.xml
    • Videos: https://posit.co/videos-sitemap.xml b. From the combined results, select the 3 most recent video URLs. c. Fetch each video page in parallel with prompt: "Extract the video title, speaker(s), date, and description."
  5. Fetch events from both sitemaps: a. Fetch both sitemaps in parallel:

    • Events sitemap (https://posit.co/events-sitemap.xml) with prompt: "List the 10 most recently modified event URLs with their names (extract name from URL slug)."
    • Hangouts sitemap (https://posit.co/hangouts-sitemap.xml) with prompt: "List the 10 most recently modified hangout URLs with their names (extract name from URL slug)." b. Then, fetch individual event/hangout pages in parallel with prompt: "Extract the event name, date(s), and a one-sentence description." c. Combine all events and compare dates to today's date to categorize:
    • Recent Events: The 2 most recent events that have already occurred (before today)
    • Upcoming Events: The next 3 events that haven't happened yet (today or later)
  6. For relative URLs, prepend the source's base URL to form complete links.

  7. Present the results grouped by source in this format:

    code
    ## Posit Blog (3 latest)
    
    - (YYYY-MM-DD) **Post Title**: Brief description. URL
    
    ## Tidyverse Blog (3 latest)
    
    - (YYYY-MM-DD) **Post Title**: Brief description. URL
    
    ## Shiny Blog (3 latest)
    
    - (YYYY-MM-DD) **Post Title**: Brief description. URL
    
    ## Quarto Blog (3 latest)
    
    - (YYYY-MM-DD) **Post Title**: Brief description. URL
    
    ## The Test Set Podcast (latest episode)
    
    - (ep DDD) **Episode Title**: Brief description. URL
    
    ## Posit Videos (3 latest)
    
    - (YYYY-MM-DD) **Video Title** - Speaker(s): Brief description. URL
    
    ## Recent Posit Events (2 most recent)
    
    - (YYYY-MM-DD) **Event Name**: Brief description. URL
    
    ## Upcoming Posit Events (next 3)
    
    - (YYYY-MM-DD) **Event Name**: Brief description. URL
    
  8. If a URL cannot be retrieved, note the limitation and continue with other sources.

Example Output

Posit Blog (3 latest)

Tidyverse Blog (3 latest)

Shiny Blog (3 latest)

Quarto Blog (3 latest)

The Test Set Podcast (latest episode)

Posit Videos (3 latest)

Recent Posit Events (2 most recent)

Upcoming Posit Events (next 3)