Quickstart: Claude Code
Go from zero to asking Claude Code to read your email in under 5 minutes.
Quickstart: Claude Code
This guide takes you from nothing installed to asking Claude Code to read your email. Every step shows you exactly what to type and what you should see.
Prerequisites
- Python 3.11+ — check with
python3 --version - Claude Code — installed and working (install guide)
- A Google account (or any account you want to connect)
Step 1: Install supyagent
pip install supyagentVerify it worked:
supyagent --versionsupyagent v0.6.2Step 2: Connect your account
supyagent connect╭──────────────────────────────────────╮
│ │
│ Your code: ABCD1234 │
│ │
╰──────────────────────────────────────╯
Opening browser to https://app.supyagent.com/device...
Waiting for authorization...Your browser opens. If you haven't signed up yet, create an account and connect Google (or another integration). Then approve the device code.
Back in your terminal:
✓ Connected!
Connected Integrations
┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Provider ┃ Services ┃
┡━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ google │ gmail, calendar, drive │
└──────────┴───────────────────────────────────┘Step 3: Generate skills
Navigate to the project where you use Claude Code, then generate skill files:
cd ~/my-project
supyagent skills generateIf it detects a .claude/ folder, it'll write directly there. Otherwise, it'll prompt you:
Detected AI tool folders:
1. Claude Code (.claude/skills/)
Select folders (comma-separated numbers, or 'a' for all): 1✓ Generated 3 skills (13 tools) in 1 location(s)
.claude/skills/
supy-cloud-gmail/SKILL.md
supy-cloud-calendar/SKILL.md
supy-cloud-drive/SKILL.mdStep 4: Ask Claude Code to use your integrations
Open Claude Code in your project directory. Now try:
What emails did I get today?Claude Code will:
- Read the skill files in
.claude/skills/ - Recognize that it can use
supyagent service run gmail_list_messages - Run the command
- Show you a summary of your recent emails
You can also try:
What's on my calendar this week?Send an email to alice@example.com saying I'll be 10 minutes late to the standupDownload the latest file from my Google DriveWhat's happening behind the scenes
When you ask Claude Code about your email, here's what happens:
- Claude Code reads
.claude/skills/supy-cloud-gmail/SKILL.md - It sees the available tools and their parameters
- It runs
supyagent service run gmail_list_messages '{}'in a terminal - The CLI sends the request to the Supyagent API with your stored API key
- The API uses your connected Google OAuth token to call the Gmail API
- Results come back as JSON
- Claude Code reads the JSON and presents it to you in natural language
Troubleshooting
Claude Code doesn't use the skills
Make sure the skill files exist in your project:
ls .claude/skills/You should see folders like supy-cloud-gmail/, supy-cloud-calendar/, etc. If not, run supyagent skills generate again.
supyagent: command not found in Claude Code
Claude Code runs commands in a shell that may not have the same PATH as your terminal. Try:
which supyagentIf supyagent is installed in a virtual environment, make sure that environment is activated in the terminal where Claude Code runs, or install supyagent globally with pipx install supyagent.
Tool calls return errors
Run supyagent status to check your connection:
supyagent statusIf it shows "Not connected", run supyagent connect again.
Skills are outdated
If you've connected new integrations on the dashboard, regenerate the skills:
supyagent skills generate --all