Goal

Move the Notion write-path health check and any future recurring Notion automations to a remote host so they are not gated on the laptop being awake.

Options

Architecture

  1. A GitHub Action runs weekly on a cron.
  2. Action calls the Anthropic Messages API with the Notion MCP server as an mcp_servers entry.
  3. Prompt tells the Sonnet instance to run the same health check logic as the local scheduled task.
  4. Secrets needed: ANTHROPIC_API_KEY, Notion internal integration token (already stored in .credentials/vault.env).
  5. Action writes a timestamped health report to the repo (logs/notion-health/) so Sam has a remote audit trail.

Pickup Prompt

Create a new repo under Sam's GitHub (or add to an existing infra repo). Drop in a .github/workflows/notion-health.yml that runs weekly. The action body calls the Anthropic API with the Notion MCP server configured. Pull the exact prompt from the local scheduled task notion-write-path-health at /Users/samaguiar/Documents/Claude/Scheduled/notion-write-path-health/SKILL.md. Store ANTHROPIC_API_KEY and NOTION_INTEGRATION_TOKEN as repo secrets. Once the remote runs green twice, disable the local scheduled task so we do not double-fire.