Skip to content

[recipes] Daily digest via Claude Code scheduled tasks#125

Open
matthallett1 wants to merge 1 commit intomainfrom
contrib/matthallett/daily-digest-claude-code
Open

[recipes] Daily digest via Claude Code scheduled tasks#125
matthallett1 wants to merge 1 commit intomainfrom
contrib/matthallett/daily-digest-claude-code

Conversation

@matthallett1
Copy link
Copy Markdown
Collaborator

Summary

  • Replaces the empty daily-digest stub with a working zero-infrastructure approach using Claude Code scheduled tasks + Open Brain MCP + Gmail MCP
  • Adds a copyable skill file (daily-digest-skill.md) that users install locally and customize with their email
  • Preserves the Supabase Edge Function approach as a planned "Approach B" for future contributors
  • No OpenRouter, no Resend/SendGrid, no Edge Function deployment — just MCP tools users already have

What it requires

  • Claude Code or Claude Desktop (Code mode)
  • Open Brain MCP connected
  • Gmail MCP connected

Tested

Tested on my own Open Brain instance (2,172 thoughts). Scheduled task fires, queries thoughts via MCP, creates a formatted Gmail draft grouped by type with topic/people tags.

Notes

This is an early proof-of-concept. The Gmail MCP creates drafts (not auto-send), so it's a one-tap-to-send workflow. The Edge Function approach (Approach B) remains as a placeholder for a future full auto-send implementation.

🤖 Generated with Claude Code

Replaces the empty stub with a working zero-infrastructure approach
using Claude Code scheduled tasks + Open Brain MCP + Gmail MCP.
Preserves the Edge Function approach as a planned future option.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added the recipe Contribution: step-by-step recipe label Mar 25, 2026
@github-actions
Copy link
Copy Markdown

OB1 Automated Review

Folder structure — All files are in allowed directories
Required files — README.md and metadata.json found in all contribution folders
Metadata valid — All metadata.json files have required fields
No credentials — No API keys, tokens, or secrets detected
SQL safety — No destructive SQL or core table modifications
Category artifacts — Required file types present for each category
PR format — Title follows [category] Description format
No binary blobs — No oversized or binary files
README completeness — All READMEs include Prerequisites, Steps, and Expected Outcome
Primitive dependencies — All declared primitive dependencies exist and are linked in README
LLM clarity review — Covered by Claude PR Review workflow
Remote MCP pattern — No local MCP server patterns detected — uses remote MCP correctly
Tool audit link — Extensions/integrations link to the MCP Tool Audit guide
Scope check — All changes are within the contribution folder(s)
Internal links — All relative links in READMEs resolve to existing files

Result: All 15 checks passed! Ready for human review.


Post-Merge Tasks

These don't block merge — they're reminders for admins after this PR lands.

@matthallett1
Copy link
Copy Markdown
Collaborator Author

@claude review this PR

Copy link
Copy Markdown

@shansen3 shansen3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great upgrade — replaces the stub daily-digest recipe with an actionable Claude Code scheduled task approach. Clear prerequisites, numbered steps, troubleshooting section. Good to merge once CI is green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

recipe Contribution: step-by-step recipe

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants