test-repo/DAILY_TOOLS_SETUP.md

5.9 KiB

🔧 Daily Tools Integration - Complete Setup

All 6 skills created, tested, and packaged.

Skills Created

Skill Purpose Status
file-system-assistant Organize Downloads, find docs, clean files Tested - organized 81 files
browser-automation Research, screenshots, web workflows Ready
calendar-assistant Apple Calendar + Google Calendar Scripts ready
email-assistant Apple Mail + Gmail + Outlook Scripts ready
knowledge-base-assistant Obsidian + Notion Scripts ready
daily-automation Morning briefing orchestration Tested - works great

📦 Packaged Files

All skills packaged in workspace:

  • file-system-assistant.skill
  • browser-automation.skill
  • calendar-assistant.skill
  • email-assistant.skill
  • knowledge-base-assistant.skill
  • daily-automation.skill

🚀 Demo Results

Morning Briefing

📅 MORNING BRIEFING - 2026-02-20 17:01

📁 FILE SYSTEM
   Downloads folder: 109 files
   Disk usage: 4%
   ⚠️ Downloads folder getting cluttered - consider organizing

📧 EMAIL
   Unable to check Mail app

📅 CALENDAR TODAY
   No events today

📝 WORKSPACE
   ⚠️ 9 uncommitted changes in workspace

📊 YEAR PROGRESS
   Day 051 of 365 (11%)
   [██░░░░░░░░░░░░░░░░░░]
   324 days remaining in 2025

File Organizer

Downloads organized!
Images:     18 files
Documents:  31 files
Archives:   32 files

🔌 Integration Methods Used

Tool Method Scripts
File System Shell commands (find, mv, grep) 4 bash scripts
Browser OpenClaw browser tool wrapper SKILL.md patterns
Apple Calendar AppleScript + icalBuddy 2 scripts
Google Calendar Google API (Python) 1 Python script
Apple Mail AppleScript 3 scripts
Gmail Gmail API (Python) 1 Python script
Obsidian Direct file access (bash) 3 bash scripts
Notion Notion API (Python) 1 Python script

⚙️ Quick Commands

File System

# Organize Downloads
bash ~/.agents/skills/file-system-assistant/scripts/organize_downloads.sh

# Find large files (>100MB)
bash ~/.agents/skills/file-system-assistant/scripts/find_large_files.sh 100M ~

# Search files
bash ~/.agents/skills/file-system-assistant/scripts/search_files.sh "budget"

Calendar

# Apple Calendar today
osascript ~/.agents/skills/calendar-assistant/scripts/today_events.scpt

# Google Calendar (requires auth first)
python3 ~/.agents/skills/calendar-assistant/scripts/gcal_list.py --days 7

# Create event
bash ~/.agents/skills/calendar-assistant/scripts/create_event.sh "Meeting" "2025-03-15 14:00" "2025-03-15 15:00"

Email

# Check unread (Apple Mail)
osascript ~/.agents/skills/email-assistant/scripts/mail_unread.scpt

# Gmail (requires auth first)
python3 ~/.agents/skills/email-assistant/scripts/gmail_list.py --limit 10

# Draft email (Apple Mail)
bash ~/.agents/skills/email-assistant/scripts/mail_draft.sh "to@email.com" "Subject" "Body"

Knowledge Base

# Obsidian daily note
bash ~/.agents/skills/knowledge-base-assistant/scripts/obsidian_daily.sh

# Search Obsidian
bash ~/.agents/skills/knowledge-base-assistant/scripts/obsidian_search.sh "project"

# Search Notion (requires token)
python3 ~/.agents/skills/knowledge-base-assistant/scripts/notion_search.py --query "meeting"

Daily Automation

# Full morning briefing
bash ~/.agents/skills/daily-automation/scripts/morning_brief.sh

🔑 API Setup (One-Time)

Google Calendar / Gmail

  1. Go to https://console.cloud.google.com
  2. Create project → Enable Gmail API + Calendar API
  3. Create OAuth credentials (Desktop app)
  4. Download JSON, save as:
    • ~/.agents/skills/email-assistant/config/gmail_credentials.json
    • ~/.agents/skills/calendar-assistant/config/gcal_credentials.json
  5. Run auth scripts (token will be saved automatically)

Notion

  1. Go to https://www.notion.so/my-integrations
  2. Create integration, copy token
  3. Save to: ~/.agents/skills/knowledge-base-assistant/config/notion_token.txt
  4. Share pages/databases with your integration

Obsidian

Set vault path (optional, defaults to ~/Documents/Obsidian Vault):

export OBSIDIAN_VAULT="$HOME/path/to/vault"

📅 Automation Options

Option 1: Manual

Run morning briefing whenever you want.

Set up a daily cron job:

# Check current cron status
openclaw cron status

# This will run the morning briefing every day at 7:15 AM
# (I can set this up for you)

Option 3: macOS Automator

Create a Calendar alarm or folder action trigger.

📝 What I Can Do Now

With these skills activated, I can:

  1. Every morning: Run the briefing, summarize emails, show calendar, check files
  2. On demand: Organize Downloads, find documents, search notes
  3. Research: Browse web, take screenshots, summarize findings
  4. Draft: Create email replies, calendar events, notes
  5. Automate: Chain multiple tools together for complex workflows

🎯 Next Steps

  1. Install icalBuddy for better calendar integration:

    brew install ical-buddy
    
  2. Set up Google APIs if you want Gmail/Google Calendar integration

  3. Configure Notion token if you use Notion

  4. Set Obsidian vault path if different from default

  5. Schedule daily automation - want me to set up the cron job?

💡 Example: Things 3 Integration

You mentioned Things 3. Here's how to add it:

Create ~/.agents/skills/task-assistant/scripts/things_check.sh:

#!/bin/bash
# Check Things 3 todos
osascript <<EOF
tell application "Things3"
    set todayTodos to to dos of list "Today"
    repeat with todo in todayTodos
        log (name of todo)
    end repeat
end tell
EOF

Then add to morning briefing script.


All skills are live and ready to use! 🎉