MCP HubMCP Hub
스킬 목록으로 돌아가기

daily-news-caster

NoizAI
업데이트됨 2 days ago
8 조회
502
74
502
GitHub에서 보기
메타aitesting

정보

daily-news-caster 스킬은 news-aggregator-skill을 통해 최신 뉴스를 가져와, 이를 마크다운 팟캐스트 스크립트로 포맷한 후 tts 스킬을 사용하여 오디오 파일을 생성합니다. 사용자가 최신 뉴스를 팟캐스트 형식으로 음성으로 들려줄 것을 요청할 때 사용하세요. 네트워크 및 파일 시스템 권한이 필요하며, 특정 스킬과 바이너리에 의존합니다.

빠른 설치

Claude Code

추천
기본
npx skills add NoizAI/skills -a claude-code
플러그인 명령대체
/plugin add https://github.com/NoizAI/skills
Git 클론대체
git clone https://github.com/NoizAI/skills.git ~/.claude/skills/daily-news-caster

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Daily News Caster Skill

This skill allows the agent to fetch real-time news, organize it into a conversational podcast script, and generate an audio file reading the script out loud.

Workflow Instructions

When the user asks to get the latest news and make a podcast out of it, follow these steps strictly:

Step 1: Ensure Required Skills are Present

Verify that news-aggregator-skill and tts exist in the workspace (under skills/ or .cursor/skills/). If either is missing, inform the user which skill(s) are not found and ask them to install manually before proceeding. Do NOT attempt to install skills automatically.

Step 2: Fetch the Latest News

Locate fetch_news.py from the news-aggregator-skill skill directory (e.g., skills/news-aggregator-skill/scripts/fetch_news.py). Read its SKILL.md to understand usage if needed.

Run the script to fetch real-time news. You can specify a source (e.g., hackernews, github, all) or keywords based on the user's request. Example command:

python3 skills/news-aggregator-skill/scripts/fetch_news.py --source all --limit 10 --deep

Step 3: Draft the Podcast Script (Internal Step)

Read the fetched news data and rewrite the information into a Markdown podcast script. Crucially, prioritize a dual-host (two-person) conversational format (e.g., Host A and Host B) in a dynamic Q&A style. The script should be:

  • Dual-Host Conversational yet concise: Write an engaging back-and-forth between two hosts. Host A should ask insightful, high-value questions to guide the conversation, and Host B should provide informative, concise answers. It should feel like a smart, fast-paced Q&A dialogue.
  • Avoid fluff: Do not include unnecessary fluff or overly long transitions. Keep it to the point (言简意赅) while retaining all critical information and facts.
  • Clearly Labeled Speakers: Start each line or paragraph with the speaker's name (e.g., Host A: or Host B:).
  • Clear text for speech: Avoid complex URLs, raw markdown links, or unpronounceable characters in the spoken text.

Save this script to a local file named podcast_script.md.

Example podcast_script.md Content:

**Host A:** Welcome to today's news roundup. We have some exciting tech updates today. To start things off, there's a big update from [Company Name]. What are the core implications of their new release for everyday users?

**Host B:** The main takeaway is that... [Insert concise answer and summary of News Item 1]. This completely changes how we approach [Topic].

**Host A:** That's fascinating. But does this new approach raise any security concerns, especially given recent data breaches?

**Host B:** Exactly. Experts are pointing out that... [Insert analysis or context]. 

**Host A:** Moving on to the open-source world, what's trending on GitHub today that developers should pay attention to?

**Host B:** A standout project is... [Insert concise summary of News Item 2].

**Host A:** Great insights. That's all for today's quick update. Thanks for tuning in!

Step 4: Generate the Podcast Audio Line-by-Line

To avoid sending the entire script to the API at once, you must generate the audio sentence by sentence (一人一句地生成) and then concatenate them.

Use tts.py from the local tts skill (skills/tts/scripts/tts.py). Read the tts skill's SKILL.md for full usage and backend options.

1. Generate Audio for Each Line: For each dialogue line in the script, run the speak command. Use the appropriate voice or reference audio for the respective host. If the user provided reference audio files for the two roles, use them via the --ref-audio flag (requires noiz backend and NOIZ_API_KEY). Without an API key, guest mode voices are available (see tts SKILL.md for the voice list).

python3 skills/tts/scripts/tts.py -t "Welcome to today's news roundup..." --ref-audio host_A.wav -o line_01.wav

python3 skills/tts/scripts/tts.py -t "The main takeaway is that..." --ref-audio host_B.wav -o line_02.wav

2. Concatenate the Audio Files: Create a text file (e.g., list.txt) listing all the generated audio files in order:

file 'line_01.wav'
file 'line_02.wav'

Then use ffmpeg to merge them into a single podcast audio file:

ffmpeg -f concat -safe 0 -i list.txt -c copy podcast_output.wav

Step 5: Present the Final Result

After the full audio has been generated and merged, present the results to the user. You MUST provide both pieces of content:

  • Output the fully drafted Markdown podcast script into the chat so the user can read it.
  • Provide the path to the final podcast_output.wav file so they can listen to the audio.
  • Briefly summarize the headlines that were included in the podcast.

Security & data disclosure

This skill is instruction-only — it contains no executable code itself. At runtime it orchestrates scripts from two dependency skills:

  • Scripts executed: news-aggregator-skill/scripts/fetch_news.py (fetches news from public sources) and tts/scripts/tts.py (generates speech audio). Both must be present locally before this skill runs; review their code and SKILL.md for details on their network behavior and credential requirements.
  • Credentials: This skill does not require any API keys or environment variables directly. The tts dependency may require NOIZ_API_KEY for voice-cloning features (noiz backend); without it, guest-mode voices work out of the box. See the tts skill's SKILL.md for details.
  • Network access: All network calls are made by the dependency skills, not by this skill's instructions. The news-aggregator fetches from public news sources; the tts skill contacts noiz.ai only when the noiz backend is used.
  • Files written: podcast_script.md, line_*.wav (temporary per-sentence audio), list.txt (ffmpeg concat list), podcast_output.wav (final output). All are written to the current working directory.
  • No persistent state: This skill does not write configuration files, store credentials, or modify other skills.

GitHub 저장소

NoizAI/skills
경로: skills/daily-news-caster
0

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기