---
site: steel.dev
collection: blog
canonical_url: https://steel.dev/blog/codex-wired-steel-and-resend-into-a-daily-newsletter
markdown_url: https://steel.dev/blog/codex-wired-steel-and-resend-into-a-daily-newsletter.md
content_signal: ai-input=yes, ai-train=yes, search=yes
related:
  - https://steel.dev/blog/we-gave-pi-agent-a-real-browser.md
  - https://steel.dev/blog/steel-is-now-a-native-browser-provider-in-hermes.md
  - https://steel.dev/blog/steel-browser-is-live-in-stripe-projects.md
title: Codex wired Steel and Resend into a daily newsletter
description: Codex can run shell commands. Steel CLI can scrape the web. Resend CLI can send email. Wire the three together and you have a personal newsletter.
date: 2026-04-04
authors:
  - Nikola Balic
category: Guides
minutes: 3
tldr: "Codex, using Steel CLI's steel scrape and Resend CLI, fetched the top 5 AI stories from Hacker News and emailed them with no glue code, reading each CLI's --help. It then wrote a bash script from the run, which went into cron as a daily newsletter. The argument: give agents existing CLIs instead of plugins."
topics:
  - Agent tool use
  - Command-line tools for agents
  - Web scraping
  - Email automation
  - Scheduled jobs
entities:
  - Codex
  - Steel CLI
  - Resend CLI
  - Hacker News
  - cron
  - steel-browser
answers_questions:
  - How do I build a daily newsletter with Codex, Steel and Resend?
  - Why give coding agents CLIs instead of plugins?
  - How do I install Steel CLI and the steel-browser skill?
  - How do I turn an agent session into a cron job?
---

# Codex wired Steel and Resend into a daily newsletter

Codex can run shell commands. Steel CLI can scrape the web. Resend CLI can send email. Wire the three together and you have a personal newsletter, no plugin marketplace required.

Instead of building a plugin for every service your agent might touch, give it CLIs that already exist. The agent composes them on its own.

We pointed Codex at Hacker News, told it to find the top 5 AI stories, email us the results, and then write a script so we never have to do it again. Took a few minutes. Most of that was the agent figuring out our email address.

[Video on YouTube](https://www.youtube.com/watch?v=XGFuj1bURJY)

## Setup

Install Steel CLI:

```sh
curl -LsSf https://setup.steel.dev | sh
```

Install the browser skill so your agent knows how to use Steel:

```sh
npx skills add https://github.com/steel-dev/cli --skill steel-browser
```

Make sure Resend CLI is available in the same environment. Codex will find it.

## What happened

We ran Codex in full-auto mode and gave it one instruction:

> $steel-browser Fetch the top 5 AI stories from Hacker News and email them to me.

It ran `steel scrape` against Hacker News and got back clean markdown. One command. Steel runs a real browser in its cloud, renders the page, returns the content. No local Chrome, no drivers, no proxies.

```sh
steel scrape https://news.ycombinator.com
```

Codex parsed the markdown, filtered for AI stories, ranked them. Then it found Resend CLI, composed an email. It didn't know our address. We told it. It sent the email.

The result itself, whatever. The part worth paying attention to: nobody wrote glue code. Codex read both CLIs' `--help` output and wired them together on its own.

## Not just Hacker News

The version we actually use hits half a dozen sites. TechCrunch for startup noise. ArXiv for papers. The OpenAI and Anthropic blogs for model drops. `steel scrape` against each one, merge, deduplicate, compose one email. We've been running this every morning.

## Session to script to cron job

After the first run, we told Codex:

> Now create a script based on what you just did.

It wrote a bash script. All the messy exploration from the first run compressed into concrete steps. It knew which flags mattered because it had just lived through the trial and error.

Then we dropped it into cron:

```sh
crontab -e
0 8 * * * /usr/local/bin/daily-newsletter.sh
# daily AI digest, zero maintenance
```

Manual run, then bash script, then cron job. Each step removes a human from the loop.

## Why CLIs, not plugins

Plugin ecosystems are bottlenecks. Someone builds the plugin. Someone else maintains it. The agent can only do what the plugin author thought to expose.

CLIs already exist for almost everything. Resend, Steel, `gh`, `aws`, `jq`, `curl`, a few hundred others. An agent that can shell out doesn't need a purpose-built integration for every service. It needs `PATH` and `--help`.

We've used this pattern for newsletters, dashboard monitoring, and competitive research. Resend has sending limits on the free tier, so check that before you point this at 1000 people.

## Try it

```sh
curl -LsSf https://setup.steel.dev | sh
npx skills add https://github.com/steel-dev/cli --skill steel-browser
```

Start with one source. Scrape it, email yourself the results, then ask the agent to write the script. Add sources when the first one works. Then cron it.

- [Steel CLI docs](https://docs.steel.dev/overview/steel-cli)
- [Get a free API key](https://app.steel.dev/sign-up)
- [Join the Discord](https://discord.gg/steel-dev)
