AgentSkillsCN

kit-broadcast

在Kit(ConvertKit)中为“Claude Code for Marketers”博客的新文章创建并安排邮件推送。适用场景包括:(1) 通过电子邮件发布新博客文章;(2) 安排Kit邮件推送;(3) 为claudecodeformarketers.com的博文撰写时事通讯内容。触发条件包括:“发送关于此文章的邮件”、“安排邮件推送”、“宣布此文章”、“Kit邮件推送”以及“电子邮件时事通讯”。

SKILL.md
--- frontmatter
name: kit-broadcast
description: Create and schedule email broadcasts in Kit (ConvertKit) for new blog posts on Claude Code for Marketers. Use when: (1) announcing a new blog post via email, (2) scheduling a Kit broadcast, (3) creating newsletter content for claudecodeformarketers.com posts. Triggers include "send email about this post", "schedule broadcast", "announce this post", "kit broadcast", "email newsletter".

Kit Broadcast Skill

Create and schedule email broadcasts for new blog posts.

Workflow

  1. Read the blog post from src/content/blog/{slug}.md
  2. Extract key information:
    • Title from frontmatter
    • 3-4 key points from the content
    • Build post URL: https://claudecodeformarketers.com/blog/{slug}
  3. Generate email copy following the template in references/email-template.md
  4. Present the email to user for review (subject + HTML content)
  5. Ask for schedule time in ISO8601 format (e.g., 2026-01-20T10:00:00-06:00)
  6. Create broadcast using scripts/kit_broadcast.py

Script usage

bash
# Load API key from .env in project root
source /Users/keanan/code/claude-code-for-marketers/.env && export KIT_API_KEY

# Dry run (test without sending)
python scripts/kit_broadcast.py \
  --subject "[CC4M] Post Title" \
  --content "<p>HTML content here</p>" \
  --send-at "2026-01-20T10:00:00-06:00" \
  --dry-run

# Create scheduled broadcast
python scripts/kit_broadcast.py \
  --subject "[CC4M] Post Title" \
  --content "<p>HTML content here</p>" \
  --send-at "2026-01-20T10:00:00-06:00"

Timezone

User is in US Central time. When they say "10am tomorrow", convert to ISO8601 with -06:00 offset (CST) or -05:00 (CDT during daylight saving).

Subscriber targeting

Broadcasts are automatically filtered to:

  • Include: Subscribers with the "CC4M" tag (ID: 14154457)
  • Exclude: Subscribers currently in the "Welcome to CC4M" onboarding sequence (ID: 1706551)

This ensures new subscribers complete their onboarding emails before receiving broadcast announcements. Both filters are hardcoded in the script.

After scheduling

Report back:

  • Broadcast ID from API response
  • Scheduled send time
  • Audience: CC4M tag subscribers
  • Suggest user verify in Kit dashboard at https://app.kit.com/broadcasts