Tools and templates for producing the weekly Kilo Code newsletter.
# Run the full pipeline
./scripts/run-pipeline.sh
# Or run steps individually:
./scripts/gather-github.sh # Pull PRs and contributors
./scripts/gather-blog.sh # Pull blog posts from RSS
./scripts/gather-events.sh # Generate event data
./scripts/transform.sh # Transform to newsletter format
./scripts/draft.sh # Generate HTML draft with LLMkilo-newsletter/
├── AGENTS.md # Detailed documentation for automation
├── archives/ # Past newsletters (raw HTML)
├── data/ # Generated data (gitignored)
├── drafts/ # Generated drafts
├── prompts/
│ └── system.md # LLM system prompt
└── scripts/
├── gather-github.sh
├── gather-blog.sh
├── gather-events.sh
├── transform.sh
├── draft.sh
├── run-pipeline.sh
└── sync-archives.sh
- Draft generation: Thursday 6am ET (cron)
- Human review: Thursday morning
- Newsletter sent: Thursday (via Customer.io)
- Data Gathering (scripts) — Pull from GitHub, blog RSS, events
- Data Transform (scripts) — Structure and deduplicate
- Draft Generation (LLM) — Generate HTML newsletter
- Human Review — Brendan reviews and publishes
See AGENTS.md for detailed documentation on:
- Newsletter structure and sections
- Content sources
- Employee filtering
- Manual input requirements
- HTML styling guidelines
To pull new newsletters from news.kilocode.ai:
./scripts/sync-archives.shghCLI (authenticated with Kilo-Org access)python3with standard libraryjqcurlopenclawCLI orANTHROPIC_API_KEYfor draft generation