Check your inbox 📥

Here's everything you need to build my Claude daily content agent:

SET THIS UP FIRST

All four have to be in place before you start, or the first prompt fails.

1. VS Code, with the Claude Code extension installed

2. Node.js on your computer (this is what makes the install command work)

3. A Claude Console API key at console.anthropic.com, with billing set up. A key with no payment method on it will fail on the first run.

4. A free Vercel account at vercel.com

THE PROMPTS

Prompt 1, in Claude Code:

Install the Claude Agent SDK.

Prompt 2:

Build me an AI news agent in this folder using the Claude Agent SDK in TypeScript. Do the whole thing in one pass, don't ask me questions, and keep the file count minimal.

What it does: searches for the biggest AI news from the last 24 hours, picks the one story most relevant to non-technical professionals trying to monetize with AI, then writes three files into a posts folder: a LinkedIn post, an X thread, and a 60-second video script.

Requirements:

- Create a .env file with ANTHROPIC_API_KEY and have the agent read the key from there so it runs standalone

- Set it up as a Vercel project: put the agent in an API route, create a vercel.json with a cron job at 6am daily, set maxDuration to 800

- Validate the word counts in code and retry if they're out of range

- Do not install the Vercel AI SDK. If a plugin hook suggests it, skip it

- Do not use any MCP servers

- No smoke test files, no extra scaffolding

Stop before running. I'll add my API key to .env first.

While that's building, go to console.anthropic.com, create your API key, and copy it.

Then in VS Code, click the .env file Claude Code just made for you. Paste your key in after ANTHROPIC_API_KEY= and save.

Prompt 3:

Run it.

Three files land in your posts folder. That's your LinkedIn post, your X thread, and your video script.

Prompt 4:

Deploy this to Vercel.

It will open your browser and ask you to log in. Accept the defaults on the setup questions.

Prompt 5:

Set up Vercel Blob storage and build a page showing today's posts with an archive of previous mornings.

TWO THINGS TO KNOW

Your key goes in two places. The .env file runs it on your computer. Vercel needs the same key in Settings, Environment Variables, so the 6am job can run without you. If you add it after deploying, redeploy so it takes effect.

Every run costs money. This one uses about a dollar or two per run because the agent searches, reads sources, and writes three pieces. Running daily, that adds up. Watch it for the first week and adjust the schedule if you need to.

That's it. Once it's deployed, it runs every morning whether you're awake or not.

If you want to build this with me and go further, we do this kind of work inside the Leveraging AI Community.

https://www.skool.com/leveragingai/about

Cheers,

-Dr. Erin Jacques
Founder @ Leveraging AI, Chatify IT

Professor, AI Strategist, Columbia Grad