<aside> πŸ€–

What you'll build: A personal AI assistant that has access to Notion, Gmail, and Google Calendar. It remembers things across sessions, drafts emails in your voice, briefs you each morning, and runs entirely in Claude Code on your machine.

</aside>


Prerequisites


The File Structure

Your agent lives in a folder inside ~/.claude/agents/. Here is what you will build:

~/.claude/agents/my-assistant/
β”œβ”€β”€ CLAUDE.md              ← agent instructions (the brain)
β”œβ”€β”€ .mcp.json              ← MCP server connections
β”œβ”€β”€ memory/
β”‚   └── MEMORY.md          ← persistent memory across sessions
└── .claude/
    └── skills/            ← installed skills

Step 1: Create the Directory

Open your terminal and run:

mkdir -p ~/.claude/agents/my-assistant/memory
mkdir -p ~/.claude/agents/my-assistant/.claude/skills
cd ~/.claude/agents/my-assistant

Step 2: Create Your CLAUDE.md

This is the brain of your agent. It tells Claude who it is, what it has access to, and how to behave.