Build Your Own AI Assistant
A desktop capybara that sleeps when nothing needs you and wakes up when something does. Behind her: a dashboard that sorts your email and calendar, tracks your bills and subscriptions, drafts replies for your approval, and sends you a 7am briefing.
About 45 minutes. No coding needed.
What you need
- A computer (Mac or Windows)
- A Gmail account with Google Calendar
- A paid Claude plan (Pro or above). The free plan doesn't include the building tool used below.
Get Claude
- Go to claude.ai and create an account.
- Upgrade to a paid plan (Pro or above).
- Go to claude.ai/download and download the Claude desktop app for your computer.
- Install it and sign in with the same account.
Connect your Gmail and Google Calendar
- In the Claude app, open Settings, then under Customize, click Connectors.
- Find Gmail and click Connect. Sign in with Google and click Allow.
- Do the same for Google Calendar.
Make a home for your assistant
- Create a new folder in your Documents called My Assistant.
- In the Claude app, click the Code tab at the top. This is the part of Claude that can build things on your computer.
- Above the message box, click No folder and choose your My Assistant folder. Leave the button next to it set to Local, so Claude builds on your computer. If it asks whether to trust the folder, click Trust.
Whenever Claude asks for permission to create a file or run something in this folder, click Allow.
Set up your life areas and rules
Copy this prompt, fill in the parts in [brackets], and paste it into the Code tab.
I'm building a personal AI assistant that lives in this folder. Set up the foundation: 1. My life has four areas: [Area 1, e.g. Work], [Area 2, e.g. Side Business], [Area 3, e.g. Money & Investing], [Area 4, e.g. Personal & Home]. Here's how to tell them apart: [e.g. anything from @mycompany.com is Work; my strata, family and appointments are Personal & Home]. 2. Write a rules file called ASSISTANT_RULES.md that every future task follows: - Never send anything. Email replies are saved as Gmail drafts only. Never reply, forward or RSVP. - Never delete a task. When something is finished, mark it done. - Never archive, delete or change anything in my Gmail or Calendar. - Skip newsletters, promotions, sign-in codes and marketing. - Priorities: urgent (needs me today or tomorrow), high (this week), medium, low. - Money: only record amounts and dates an email actually states. Never guess. 3. Create these files: - tasks.json: every task with a title, one-line detail, source (email/calendar/manual), area, priority, due date, status (open/handled/done), and a link back to the email or event. Also a list of drafts waiting for my approval. - schedule.json: today plus the next 2 days from my calendar, with clashing events flagged. - capy_state.json: "dozing" when nothing urgent needs me, "alert" with a short reason when something does. - briefing.json: my morning briefing. Keep it simple. Tell me when it's done.
Build Capy
Paste this into the Code tab. Change [Mac/Windows] to your computer.
Build me a desktop pet for my [Mac/Windows] computer: a small, cute capybara called Capy with a little orange on her head. - She sits just above my [dock/taskbar] in the bottom-right corner, always on top of other windows, with a transparent background. - She reads her state from capy_state.json in this folder and checks it every few seconds. - Dozing: eyes closed, a gentle smile, slow breathing, little z's floating up. - Alert: eyes open, a small surprised mouth, a couple of excited hops every few seconds, and three short lines next to her head like she's just noticed something. - When she wakes up, show a speech bubble with the reason and a desktop notification. Show the bubble again when I hover over her. - Clicking her opens my dashboard. I can drag her anywhere. Right-click gives me: Open dashboard, "I've seen it, go back to sleep", and Quit. - Use only what's already built into my computer if possible, so I don't need to install anything. - Give me a shortcut I can double-click to start her, and make her start automatically when I log in. When you're done, start her so I can see her and tell me where the shortcut is.
Build the dashboard
Paste this into the Code tab.
Build the dashboard that opens when I click Capy. It should look clean and calm, with a warm colour palette.
- Tabs: "Today" first, then one tab for each of my four areas.
- The Today tab starts with my morning briefing, then my top three tasks across all areas (ranked by priority, then due date).
- Every tab shows four sections:
1. What needs me (open tasks, with a Done button)
2. Handled for me (things dealt with that needed nothing from me)
3. Drafted and waiting for approval (with Copy, "I sent it" and Dismiss buttons)
4. Today's schedule, with clashing events highlighted
- On the money tab, add two more sections:
5. Bills coming up: each bill with its amount, due date, and whether it's on autopay, plus the total due in the next 14 days. Highlight anything due within 3 days that I pay manually.
6. Subscriptions: every recurring charge with its amount and how often it charges, the total per month and per year, and a highlight on price rises and free trials about to end.
- Buttons only change a status. Nothing ever gets deleted.
- When I mark the urgent tasks done, Capy goes back to sleep.
- The dashboard reads tasks.json, schedule.json and briefing.json from this folder.Put it on autopilot
Paste this into the Code tab.
Set up two scheduled tasks. Set both of them to run in this folder.
1. "Assistant sweep", every day at 6:30am, 12:30pm and 5:30pm:
- Read ASSISTANT_RULES.md first and follow it exactly.
- Check my Gmail inbox for anything new since the last sweep, and my Google Calendar for today plus the next 2 days.
- Add or update tasks in tasks.json, sorted into my four areas. Don't create duplicates.
- If an email needs a reply, write one in my voice and save it as a Gmail draft. Never send it.
- Find bills, subscriptions and renewals in my emails (bills, invoices, receipts, renewal and price change notices). Keep a list of bills (amount, due date, autopay) and subscriptions (amount, how often, next charge, price rises, free trial end dates) in tasks.json. A bill due within 3 days that isn't on autopay becomes a task. A price rise or a free trial ending within a week becomes a task.
- A month before anything renews (insurance, phone, internet, energy), create a "shop around" task and draft an email asking for a better rate. Never send it.
- Flag calendar clashes as urgent tasks.
- Update schedule.json, then set capy_state.json to alert (with the reason) if anything is urgent, otherwise dozing.
2. "Morning briefing", every day at 7:00am:
- Under 150 words. Direct, no greeting.
- Three sections: TODAY (my schedule with clashes marked), NEEDS YOU (my top three tasks), DRAFTS WAITING (every draft waiting for approval).
- Save it to briefing.json so it appears on my dashboard and Capy shows a notification.When it's done, click Routines in the Code tab sidebar. Open each task, click Run now, and when it asks for permission, choose always allow each time. Future runs then won't stop to ask. The runs themselves appear under Scheduled in the sidebar.
Run your first sweep
Run the assistant sweep now so I can see it working.Click Capy to open your dashboard.
Good to know
- Routines only run while the Claude app is open and your computer is awake. If it was asleep, the missed run is skipped and one catch-up run happens when it wakes. To stop idle sleep, turn on Keep computer awake in Settings, under Desktop app, General.
- Your drafts are in your Gmail Drafts folder. Review and send them yourself.
- To change anything, just ask in the Code tab. For example: "Make Capy bigger", "Add a fifth area called Health", or "Move my briefing to 6:30am".
- Capy stays asleep for small things and only wakes up for urgent ones.