Skip to main content

AI Content Calendar

Generate content calendars with optimal posting times and platform-specific scheduling.

CLI Quickstart

praisonai recipe run ai-content-calendar \
  --input '{"topics": ["AI agents", "LLMs", "automation"], "duration_days": 30}' \
  --json

Use in Your App (SDK)

import sys
sys.path.insert(0, 'agent_recipes/templates/ai-content-calendar')
from tools import generate_calendar, optimize_schedule, export_calendar

# Generate calendar
calendar = generate_calendar(
    topics=["AI agents", "LLMs", "automation"],
    duration_days=30,
    platforms=["youtube", "x", "linkedin"],
    posts_per_day=1
)

# Optimize schedule
optimized = optimize_schedule(
    calendar=calendar["calendar"],
    avoid_weekends=True,
    peak_hours_only=True
)

# Export to file
export_calendar(calendar["calendar"], "calendar.json", format="json")

Input Schema

{
  "type": "object",
  "properties": {
    "topics": {"type": "array"},
    "duration_days": {"type": "integer", "default": 30},
    "platforms": {"type": "array"},
    "posts_per_day": {"type": "integer", "default": 1}
  }
}

Output Schema

{
  "calendar": [
    {
      "date": "2024-12-30",
      "time": "09:00",
      "platform": "youtube",
      "topic": "AI agents",
      "status": "scheduled"
    }
  ],
  "stats": {
    "total_posts": 30,
    "duration_days": 30
  }
}

Optimal Posting Times

PlatformBest Times
YouTube9am, 12pm, 5pm
X8am, 12pm, 5pm, 8pm
LinkedIn7:30am, 12pm, 5:30pm
Instagram11am, 2pm, 7pm