Home
cd ../playbooks
ProductivityIntermediate

Apple Shortcuts Builder

Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows

10 minutes
By communitySource
#apple#shortcuts#ios#macos#automation
CLAUDE.md Template

Download this file and place it in your project folder to get started.

# Apple Shortcuts Integration

Integrate with Apple ecosystem for iOS and macOS automation.

## Core Capabilities

### Run Shortcuts
```yaml
shortcut_execution:
  run:
    name: "Morning Routine"
    input: optional
    
  run_with_input:
    name: "Process Text"
    input: "{{text_to_process}}"
    
  run_with_clipboard:
    name: "Share to App"
    input: clipboard
```

### Apple Reminders
```yaml
reminders:
  create:
    title: "{{task}}"
    list: "Work"
    due_date: "{{date}}"
    due_time: "09:00"
    priority: high
    notes: "{{details}}"
    
  query:
    list: "Shopping"
    completed: false
    
  complete:
    reminder_id: "{{id}}"
```

### Apple Notes
```yaml
notes:
  create:
    title: "Meeting Notes - {{date}}"
    folder: "Work"
    body: |
      # {{meeting_title}}
      
      ## Attendees
      {{attendees}}
      
      ## Notes
      {{notes}}
      
  append:
    note_title: "Running Log"
    content: "- {{date}}: {{entry}}"
    
  search:
    query: "project alpha"
    folder: "Projects"
```

### Calendar
```yaml
calendar:
  create_event:
    title: "{{event_title}}"
    calendar: "Work"
    start: "{{start_time}}"
    end: "{{end_time}}"
    location: "{{location}}"
    notes: "{{notes}}"
    alerts:
      - 30  # minutes before
      
  query:
    calendar: "all"
    start: today
    end: "+7 days"
```

## Shortcut Examples

### Daily Log
```yaml
shortcut_daily_log:
  steps:
    - get_current_date
    - prompt_for_input:
        message: "How was your day?"
    - append_to_note:
        title: "Daily Journal"
        content: |
          ## {{date}}
          {{input}}
    - create_reminder:
        title: "Journal entry"
        due: tomorrow 9am
```

### Quick Capture
```yaml
shortcut_quick_capture:
  trigger: share_sheet
  steps:
    - get_shared_input
    - create_note:
        title: "Captured - {{date}}"
        body: "{{input}}"
    - notify: "Captured successfully"
```

## Integration Workflows

### Cross-Platform Sync
```yaml
sync_workflow:
  trigger: note_created
  actions:
    - if: tag == "work"
      then:
        - sync_to: notion
        - sync_to: obsidian
    - if: has_task
      then:
        - create_reminder: from_task
```

## Best Practices

1. **Naming**: Clear, descriptive shortcut names
2. **Input Handling**: Validate inputs
3. **Error Handling**: Graceful failures
4. **Privacy**: Minimize data exposure
5. **Testing**: Test on all devices
README.md

What This Does

Integrate with Apple ecosystem for iOS and macOS automation.


Quick Start

Step 1: Create a Project Folder

mkdir -p ~/Documents/AppleShortcuts

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ~/Documents/AppleShortcuts/

Step 3: Start Working

cd ~/Documents/AppleShortcuts
claude

Best Practices

  1. Naming: Clear, descriptive shortcut names
  2. Input Handling: Validate inputs
  3. Error Handling: Graceful failures
  4. Privacy: Minimize data exposure
  5. Testing: Test on all devices

$Related Playbooks