Generate podcast planning document without creating audio
Generate a podcast planning document to review coverage before creating audio. Use to validate content and structure without committing to audio synthesis.
/plugin marketplace add cadrianmae/claude-marketplace/plugin install gencast@cadrianmae-claude-marketplace<input-file>Generate a comprehensive planning document for a podcast without creating the audio file. Useful for reviewing coverage before committing to audio synthesis.
/gencast:plan <input-file>
<input-file> - Document to create podcast plan from (markdown, text, or PDF)Runs gencast with:
--minimal (always)--with-planning (generate plan)--save-plan (save to text file)# Check gencast installation
if ! command -v gencast &> /dev/null; then
echo "[ERROR] gencast is not installed"
echo "Install with: pip install gencast"
exit 1
fi
# Validate input file
INPUT="$1"
if [[ ! -f "$INPUT" ]]; then
echo "[ERROR] Input file not found: $INPUT"
exit 1
fi
# Determine output plan file name
BASENAME=$(basename "$INPUT" | sed 's/\.[^.]*$//')
PLAN_FILE="${BASENAME}_plan.txt"
# Run gencast for planning only (no audio generation)
# NOTE: gencast still generates audio, but we only care about the plan file
gencast "$INPUT" --minimal --with-planning --save-plan
# Report plan file location
echo ""
echo "[OK] Podcast plan generated"
echo ""
echo "Plan file: $PLAN_FILE"
echo ""
echo "Review the plan, then generate audio with:"
echo " /gencast:podcast $INPUT --with-planning"
Creates a text file with the podcast planning document:
<input>_plan.txt
The plan includes:
/gencast:plan lecture_notes.md
Creates lecture_notes_plan.txt
/gencast:plan research_paper.md
Creates research_paper_plan.txt
/gencast:plan tutorial.md
Creates tutorial_plan.txt
/gencast:plan document.md
→ Review document_plan.txt
→ Make adjustments to document.md if needed
→ /gencast:podcast document.md --with-planning
PDFs require MISTRAL_API_KEY:
if [[ "$INPUT" == *.pdf ]]; then
if [[ -z "$MISTRAL_API_KEY" ]]; then
echo "[WARN] PDF input requires MISTRAL_API_KEY environment variable"
echo "Set with: export MISTRAL_API_KEY=your_key"
exit 1
fi
fi
if [[ -z "$1" ]]; then
echo "[ERROR] No input file provided"
echo "Usage: /gencast:plan <input-file>"
exit 1
fi