google-account-setup
Set up Google Gmail accounts for email sync and triage. Use when user wants to add a Gmail account, connect their email, configure email sync settings, set up OAuth authorization, or add name aliases for commitment extraction. Triggers on phrases like "set up gmail", "add google account", "connect my email", "configure email sync".
What this skill does
# Google Account Setup Interactive workflow to set up a Gmail account for sync and triage. ## Scripts The `scripts/` directory contains executable wrappers for all API endpoints. **Always use these scripts** instead of raw curl commands. Run scripts using their full path relative to this skill's base directory (provided when the skill is loaded). For example: `<skill-base-dir>/scripts/get-account 1` All scripts default to `http://localhost:2529`. Override with `CLAUDE_ASSIST_SERVER` env var. Available scripts: `create-account`, `get-account`, `update-account`, `add-alias`, `sync-emails` ## Workflow ### 1. Gather Account Details Ask the user: - **Identifier**: Short name like "work" or "personal" - **Email**: Their Gmail address - **Display name**: Their full name (optional) ### 2. Confirm Test User Setup Before generating the OAuth URL, ask the user: > "If this email is not part of your Google Cloud organization, please confirm you've added it as a test user at <https://console.cloud.google.com/auth/audience> (the app must also be set to 'External' rather than 'Internal'). Have you done this?" Wait for confirmation before proceeding. ### 3. Create Account ```bash scripts/create-account --identifier "<identifier>" --email "<email>" --display-name "<name>" ``` Response includes `authUrl` - present this to the user. ### 4. OAuth Authorization Tell the user to open the `authUrl` in their browser and complete Google authorization. Wait for them to confirm completion. ### 5. Verify Credentials ```bash scripts/get-account <id> ``` Confirm `has_credentials: true`. If false, offer to generate a new auth URL via `POST /google/accounts/<id>/reauth`. ### 6. Configure Settings Ask the user: - **email_sync_start_date**: "From what date should I sync emails? (YYYY-MM-DD format, or leave blank to sync all)" - **email_label_prefix**: "What prefix for Gmail labels? (default: AI)" Apply settings: ```bash scripts/update-account <id> --sync-start-date "<date>" --label-prefix "<prefix>" ``` #### Triage System Instructions The `email_triage_instructions` field lets you customize the AI triage behavior with account-specific rules. This plain text gets injected directly into Haiku's system prompt during email analysis. **When to use:** - **Name disambiguation**: When names in emails could be confused with the account owner - **Custom extraction rules**: Account-specific patterns for commitments, action items, etc. - **Context about roles/relationships**: Help the AI understand the user's work context **Example - Name disambiguation:** ```bash scripts/update-account <id> --triage-instructions "NAME DISAMBIGUATION: - \"Christopher\" in emails refers to teammate Christopher Yamas, NOT the account owner - The account owner goes by \"Chris\" or \"Chris Alfano\" only" ``` **Developing triage instructions:** 1. Start with common confusion points (similar names, nicknames) 2. Add context about the user's role and typical email interactions 3. Include any domain-specific terminology or patterns 4. Test by running triage on sample emails and reviewing results 5. Iterate based on extraction accuracy ### 7. Add Name Aliases Ask the user what names refer to them (for commitment extraction). Only add names the user actually uses - don't assume variations. **Important**: Names that refer to other people (teammates, etc.) should NOT be added as aliases. Instead, document these in `email_triage_instructions` for disambiguation. For each alias: ```bash scripts/add-alias <id> --alias "<name>" ``` ### 8. Complete Summarize the configured account and ask: "Would you like me to trigger an initial sync now?" If yes, trigger a full sync: ```bash scripts/sync-emails --account "<identifier>" --full ``` This will fetch untriaged inbox emails and queue them for triage.
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.