Podcast Generate

Podcast Generate is a skill for Claude Code, Codex from ssmurfgg04-gif/context-m. It costs 113 tokens per session (1,556 once invoked), scanned A, original, Apache-2.0.

A tool that turns supplied documents or researched topics into a podcast script and audio episode, usually as a conversation between two hosts. It can work from text files or from web research.

In plain words
What is it for?
It helps create short knowledge-focused episodes from articles, documents, or current topics, with a Markdown script and a final audio file.
Why use it?
It makes long or unfamiliar material easier to consume in audio form and gives the result an editable script.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create short knowledge-focused episodes from articles, documents, or current topics, with a Markdown script and a final audio file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ssmurfgg04-gif/context-m/podcast-generate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ssmurfgg04-gif/context-m --skill podcast-generate
Clone the repo
git clone --depth 1 https://github.com/ssmurfgg04-gif/context-m

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Podcast Generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/podcast-generate/github.svg)](https://agentmods.dev/skills/ssmurfgg04-gif/context-m/podcast-generate)
Your own site
<a href="https://agentmods.dev/skills/ssmurfgg04-gif/context-m/podcast-generate"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/podcast-generate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Podcast Generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/ssmurfgg04-gif/context-m/podcast-generate"><img src="https://agentmods.dev/badge/skills/ssmurfgg04-gif/context-m/podcast-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.01556
Opus 5 $0.00056 $0.00778
Sonnet 5 $0.00023 $0.00311
Haiku 4.5 $0.00011 $0.00156

Measured 9d ago against content hash ddb81032d313, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Podcast Generate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (generate.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/podcast-generate/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Podcast Generate Skill(TypeScript 版本)

根据用户提供的资料或联网搜索结果,自动生成播客脚本与音频。

该 Skill 适用于:

  • 长文内容的快速理解和播客化
  • 知识型内容的音频化呈现
  • 热点话题的深度解读和讨论
  • 实时信息的搜索和播客制作

能力说明

本 Skill 可以做什么

  • 从文件生成:接收一篇资料(txt/md/docx/pdf等文本格式),生成对谈播客脚本和音频
  • 联网搜索生成:根据用户指定的主题,联网搜索最新信息,生成播客脚本和音频
  • 自动控制时长,根据内容长度自动调整(3-20 分钟)
  • 生成 Markdown 格式的播客脚本(可人工编辑)
  • 使用 z-ai TTS 合成高质量音频并拼接为最终播客

本 Skill 当前不做什么

  • 不生成 mp3 / 字幕 / 时间戳
  • 不支持三人及以上播客角色
  • 不加入背景音乐或音效

文件与职责说明

本 Skill 由以下文件组成:

  • generate.ts 统一入口(支持文件模式和搜索模式)

    • 文件模式:读取用户上传的文本文件 → 生成播客
    • 搜索模式:调用 web-search skill 获取资料 → 生成播客
    • 使用 z-ai-web-dev-sdk 进行 LLM 脚本生成
    • 使用 z-ai-web-dev-sdk 进行 TTS 音频生成
    • 自动拼接音频片段
    • 只输出最终文件
  • readme.md 使用说明文档

  • SKILL.md 当前文件,描述 Skill 能力、边界与使用约定

  • package.json Node.js 项目配置与依赖

  • tsconfig.json TypeScript 编译配置


输入与输出约定

输入(二选一)

方式 1:文件上传

  • 一篇资料文件(txt / md / docx / pdf 等文本格式)
  • 资料长度不限,Skill 会自动压缩为合适长度

方式 2:联网搜索

  • 用户指定一个搜索主题
  • 自动调用 web-search skill 获取相关内容
  • 整合多个搜索结果作为资料来源

输出(只输出 2 个文件)

  • podcast_script.md 播客脚本(Markdown 格式,可人工编辑)

  • podcast.wav 最终拼接完成的播客音频

不输出中间文件(如 segments.jsonl、meta.json 等)


运行方式

依赖环境

  • Node.js 18+
  • z-ai-web-dev-sdk(已安装)
  • web-search skill(用于联网搜索模式)

不需要 z-ai CLI

安装依赖

npm install

使用示例

从文件生成播客

npm run generate -- --input=test_data/material.txt --out_dir=out

联网搜索生成播客

# 根据主题搜索并生成播客
npm run generate -- --topic="最新AI技术突破" --out_dir=out

# 指定搜索主题和时长
npm run generate -- --topic="量子计算应用场景" --out_dir=out --duration=8

# 搜索并生成单人播客
npm run generate -- --topic="气候变化影响" --out_dir=out --mode=single-male

参数说明

参数 说明 默认值
--input 输入资料文件路径(与 --topic 二选一) -
--topic 搜索主题关键词(与 --input 二选一) -
--out_dir 输出目录(必需) -
--mode 播客模式:dual / single-male / single-female dual
--duration 手动指定分钟数(3-20);0 表示自动 0
--host_name 主持人/主播名称 小谱
--guest_name 嘉宾名称 锤锤
--voice_host 主持音色 xiaochen
--voice_guest 嘉宾音色 chuichui
--speed 语速(0.5-2.0) 1.0
--pause_ms 段间停顿毫秒数 200

Read the full file on GitHub · 199 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 199 lines · 113 tokens per session scan A ddb81032d313

Subscribe to this mod's changes

Podcast Generate is a skill published in the GitHub repository ssmurfgg04-gif/context-m (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 113 tokens to every session and 1,556 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ai-style

A Chinese-language writing guide for producing or revising reader-facing text such as product announcements, public-account articles, emails, and README files. It focuses on reducing patterns that make writing sound machine-generated.

bojieli/ai-agent-book · 25 tokens

triage

A task-routing guide that identifies goals, dependencies, and acceptance conditions before work begins. It orders work as research, calculation or execution, and writing.

bojieli/ai-agent-book · 28 tokens

coding

A coding guide for writing and running Python programs in a sandbox. It requires scripts to be small and reproducible, with their actual output or errors reported.

bojieli/ai-agent-book · 18 tokens

setup-open-index

Install and configure Open Index as the read/write context layer for a domain-specialized agent. Use when setting up a legal, marketing, customer support, sales, infrastructure, or other domain agent with Open Index over MCP.

DrDroidLab/open-index · 48 tokens

build-personal-brain

Create, resume, validate, connect, or maintain a private cross-project memory for AI assistants. Use when a person asks to build a personal memory from local work folders and past assistant conversations, continue an interrupted memory audit, connect an existing memory to another local assistant, verify that the…

mikeshu2001/personal-brain-builder · 81 tokens

codex-memory-guard

Guard task boundaries and preserve confirmed critical project state across Codex compaction. Use when a user wants topic-switch guidance, write-through critical memory, compact HANDOFF checkpoints, PreCompact and compact-resume hooks, four-layer Markdown memory initialization, or memory workflow auditing.

wl1650918245/codex-memory-guard · 59 tokens