16 August 2026

دليل · Guide12 min read

تشغيل كلود الليلي: أتمتة تقرير الصباح اليوميClaude Overnight Builds: Automate Your Morning Digest Workflow

Build a system that runs Claude Code every night on your Mac, pulls email, calendar, tasks and news through MCP, and hands you a short morning digest you read in under three minutes.

Who this guide is for

Founders and engineers on a Mac who start the day by opening ten apps

Key terms

Overnight run
Claude runs a chain of connected tasks in the background, each step using the output of the one before, with nobody watching.
MCP server
A link between Claude and one source, such as email or a calendar. You add it once and Claude pulls fresh data from it at run time.
Non interactive mode
Running Claude with claude -p. It takes the prompt, does the work, prints the result and exits. No chat.
launchd
The scheduler built into macOS. If the Mac is asleep at the scheduled time, it runs the job as soon as the Mac wakes.

The steps

  1. Step 1

    Install Claude Code and confirm it runs without a chat

    Install Claude Code, then run claude once and sign in with your account.

    Next, test non interactive mode with claude -p. If the answer comes straight back, you are ready for overnight runs.

    Multi step overnight jobs use far more than a normal chat session, so make sure your usage limits can cover them.

    PromptTerminal commands
    npm install -g @anthropic-ai/claude-code
    claude --version
    
    # Test non interactive mode
    claude -p "Just say: system ready"

7 more steps wait for you after access

With the ready prompts and the takeaway

Bought this before?

Bought this before? Restore your access

Your access is tied to your email. Enter it here and the content opens right away, any time, on any device

Most value

Start building with me now

We sit together, break down your problem, and I build the AI solution with you step by step

60minutes
  • A private session with you
  • Real building during the session
  • Results you take with you when we finish
Book a build session

100% free

A free consultation about your problem

Start