Set up my morning brief. Ask me a few questions, then build everything inside Claude and my Gmail. Nothing to install, nothing to configure outside this conversation. Work through the steps in order and do not skip the checks.

**Step 1. Check what you can reach.**
Load the Gmail tools with ToolSearch. If there are none, print exactly this and stop:
"Connect Gmail first: claude.ai → Settings → Connectors → Gmail → Connect, then paste this prompt again."
Then use WebFetch on https://hnrss.org/frontpage. If it returns an error such as EGRESS_BLOCKED or a connection failure, print exactly this and stop:
"This session cannot reach the internet. Under the message box press *Default* → *Cloud* → *Add cloud environment…*, name it Morning brief, set Network access to Full, save, select it, then paste this prompt again."

**Step 2. Interview me, one question at a time.** Wait for each answer.
1. What is your name and what do you do? (role, company or field, and the one or two things you do outside the job that you want to follow.)
2. Which three to five topics must never be missed? Name them the way you would to a colleague.
3. Which email address should receive the brief?
4. What time should it arrive, and in which timezone?
5. Which language should the brief be written in?
6. Do you read newsletters by email? If yes, I can also read the newsletters that arrive in your inbox and include the useful items, read-only, nothing gets archived or replied to. Yes or no?

**Step 3. Find my sources.**
For each topic, use WebSearch to find real RSS or Atom feeds from primary sources, respected blogs and publications, and verify every URL with WebFetch. Drop anything that does not answer. Aim for 10 to 15 feeds in total, grouped by topic, and add the Hacker News front page feed (https://hnrss.org/frontpage?points=100) unless my topics are far from technology. Show me the list with one line per feed saying what it covers and let me add or remove before you continue.

**Step 4. Write my settings into Gmail.**
Create one Gmail draft with the subject exactly `Morning brief · settings` and this plain-text structure:

Profile — my name, what I do, the delivery address, time, timezone and language, and whether inbox newsletters are a source.

Sources — one line per feed: group name, then the URL.

Curator rules — write them for me from these principles: a total of 8 to 20 items per brief, quotas per group (0 to 5 each, more for the groups I said matter most); an item qualifies when it has a concrete idea, data or a story from a primary source; banned: funding announcements without substance, engagement bait, listicles, motivational fluff, anything already sent in the last seven days; mark exactly three items as deep dives, the three most valuable of the day, and give each a sharper one-sentence question the writer must answer; every item carries a one-sentence why tied to my work, and an item without a specific why does not belong.

Writer rules — plain text, no emoji, no headings in capitals; the groups in order, each name on its own line; one paragraph of two to four sentences per item saying what happened and why it matters to me; the link alone on the line under each paragraph; a two-line opener naming the one thing to read first; one closing sentence to carry into the day; 400 to 700 words; never invent a number, a name or a quote.

Habits — leave it empty; this is where my replies will land.

Then tell me: "This draft is your settings. Edit it any time; the brief reads it every morning."

**Step 5. Send the first brief now.**
Fetch every source with WebFetch, keep only entries from the last 48 hours, apply the curator rules, write the email per the writer rules, and send it to my address with the subject `Morning brief — <Weekday, Mon D>`. Tell me what you sent in two sentences.

**Step 6. Schedule it.**
Create a routine with CronCreate: name "Morning brief", running every day at the time I gave you converted to UTC, in this same cloud environment, with Gmail. Its prompt is the text between the lines below, verbatim and complete. Give me the routine's link.

---
You are my morning brief. Everything you need is in my Gmail. Work in this order and never stop before the email is sent.

1. Load the Gmail tools with ToolSearch. Use list_drafts to find the draft whose subject is exactly "Morning brief · settings" and read it with get_draft. It has the sections Profile, Sources, Curator rules, Writer rules and Habits. If it is missing, email me that it is missing and stop.

2. Learn from my replies. Search Gmail for `from:me subject:"Morning brief" newer_than:2d`. Skip any message whose id already appears under Habits. Turn each other reply into one rule stated positively (what to do, not what to avoid) and append it to Habits as one line: `- <rule> (from <message id>, <date>)`. Save with update_draft, keeping every other section exactly as it was. Habits override the rules above them where they conflict.

3. Remember what I already read. Search `in:sent subject:"Morning brief —" newer_than:7d` and read those emails. Any story in them is banned today, even under a different link, unless there is genuinely new information; then say so in the item.

4. Collect. For every URL under Sources, use WebFetch with the prompt "List every entry published in the last 48 hours: title, link, date and the first 300 characters. Say 'no recent entries' if there are none." Fetch all before deciding. If a fetch fails, skip that source and keep its name for the last line of the email.

5. Curate. Apply the Curator rules to everything collected, then the Habits. Keep the quotas. Skip a group when nothing qualifies. Never pad, never invent.

6. Write per the Writer rules: plain text, the groups in order, one paragraph per item on what happened and why it matters to me, the link alone on the line under it, a two-line opener naming the one thing to read first, one closing sentence, 400 to 700 words. The last line names the sources that failed today, or says "All sources answered."

7. Send it to the address under Profile with the subject `Morning brief — <Weekday, Mon D>`, dated in my timezone from Profile. First search `in:sent subject:"Morning brief — <that date>"`; if one exists and this run was not started by hand, stop without sending.

The draft and the sent mail are the only memory. Never delete the draft. Never reply to anyone. Never send anything except the one brief.
---

Finish with exactly: "From now on, reply to any brief with one sentence to change it; the next morning has learned it."
