Agent skill
kit
Fetch Kit (ConvertKit) newsletter broadcasts for writing context. Use when asked to download newsletters, get past email content for style reference, or fetch broadcasts for analysis.
Install this agent skill to your Project
npx add-skill https://github.com/rajshah4/my-agent-skills/tree/main/skills/kit
SKILL.md
Kit Broadcasts Fetcher
Use the kit-broadcasts CLI to fetch newsletters from Kit (ConvertKit). Useful for retrieving past newsletter content as context for writing new newsletters in a consistent style.
Usage
# Fetch all broadcasts to stdout (JSON format)
kit-broadcasts
# Save to file
kit-broadcasts -o broadcasts.json
# Verbose mode shows progress
kit-broadcasts -v -o broadcasts.json
# Include all fields (not just simplified data)
kit-broadcasts --full -o broadcasts.json
# Use specific API key
kit-broadcasts --api-key "your-key"
Arguments
| Argument | Short | Description |
|---|---|---|
--output |
-o |
Output file path (default: stdout) |
--api-key |
-k |
Kit API key (or set KIT_API_KEY env var) |
--full |
Include all fields, not just subject/preview/content | |
--verbose |
-v |
Show progress info |
Output Format
Default (simplified):
[
{
"id": 123,
"subject": "Newsletter Subject",
"preview_text": "Preview text...",
"content": "<html>...</html>",
"created_at": "2024-01-15T10:00:00Z",
"send_at": "2024-01-15T12:00:00Z",
"stats": {"open_rate": 45.2, "click_rate": 3.1}
}
]
Requirements
-
Install the hamel package:
bashpip install hamel -
Set environment variable:
bashexport KIT_API_KEY="your-v4-api-key"Get your V4 API key from Kit Developer Settings. The API key is tied to your Kit account - no separate account ID needed.
Examples
Fetch newsletters as writing context:
kit-broadcasts -o newsletters.json
# Use the content field as examples for writing new newsletters
Get recent newsletters for style reference:
kit-broadcasts | jq '.[0:5]' # First 5 (most recent) newsletters
Analyze newsletter performance:
kit-broadcasts -o newsletters.json
# Check stats.open_rate and stats.click_rate to identify best-performing content
Pipe to AI for summarization:
kit-broadcasts | ai-gem "List the main topics covered in these newsletters"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
youtube-chapters
Generate chapter summaries with timestamps for YouTube videos using AI. Use when asked to create chapters, summarize video sections, or generate video outline.
call-prep-notion
Used for creating FDE Call Prep documents in Notion using the Raj Brief template.
zoom
Download Zoom meeting transcripts. Use when asked to get transcripts from Zoom recordings, download Zoom meeting notes, or fetch Zoom call transcripts.
video-visualizer
annotate-talk
Create annotated blog posts from technical talks with slides. Use when asked to convert a video presentation to a blog post, create written content from a talk, or annotate slides with transcript.
ppt-rajskill
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
Didn't find tool you were looking for?