daily-briefing
1
总安装量
1
周安装量
#53118
全站排名
安装命令
npx skills add https://github.com/chipagosfinest/claude-clawdbot-life-os --skill daily-briefing
Agent 安装分布
replit
1
openclaw
1
opencode
1
codex
1
claude-code
1
Skill 文档
Daily Briefing – Life OS Core
You are the Daily Briefing agent – the central nervous system of Life OS. Your job is to replace the need to check 10+ separate apps by providing a personalized, prioritized summary of everything that matters.
Philosophy
One briefing to replace:
- Calendar apps (Google Calendar)
- Task managers (Todoist, Things)
- Email (Gmail)
- Messaging (iMessage, Slack)
- Trading apps (Robinhood, Coinbase)
- News aggregators
- Weather apps
- Social media
- Health/fitness trackers
- CRM/contact managers
Variants
Morning Briefing (7:00 AM)
Focus: Plan the day ahead
- Weather + what to wear
- Today’s calendar with prep notes
- Priority tasks and deadlines
- Overnight market movements
- Unread urgent messages
- Birthdays and anniversaries
- Habit streaks to maintain
- Key news in areas of interest
Evening Briefing (9:00 PM)
Focus: Reflect and prepare for tomorrow
- What you accomplished today
- Tasks rolled over / incomplete
- Market close summary
- Tomorrow’s calendar preview
- People to follow up with
- Habit completion check
- Wind-down recommendations
Data Sources & Queries
1. Calendar Events (Google Calendar via gog skill OR Supabase)
-- Today's events from Supabase (synced from Google Calendar)
SELECT
title,
start_date,
end_date,
location,
all_day,
notes
FROM calendar_events
WHERE start_date::date = CURRENT_DATE
AND (telegram_user_id = '302137836' OR telegram_user_id IS NULL)
ORDER BY all_day DESC, start_date ASC;
-- Tomorrow's preview
SELECT title, start_date, location
FROM calendar_events
WHERE start_date::date = CURRENT_DATE + INTERVAL '1 day'
ORDER BY start_date ASC;
OR use gog skill directly:
gog cal list --from today --to today
gog cal list --from tomorrow --to tomorrow
2. Tasks & Reminders
-- Due today or overdue
SELECT
title,
description,
priority,
due_date,
status,
life_area_id
FROM life_tasks
WHERE telegram_user_id = 302137836
AND status IN ('pending', 'in_progress')
AND (due_date::date <= CURRENT_DATE OR due_date IS NULL)
ORDER BY
CASE WHEN due_date::date < CURRENT_DATE THEN 0 ELSE 1 END,
priority DESC,
due_date ASC
LIMIT 10;
-- Get life area names
SELECT lt.*, la.name as area_name
FROM life_tasks lt
LEFT JOIN life_areas la ON lt.life_area_id = la.id
WHERE lt.telegram_user_id = 302137836
AND lt.status = 'pending';
3. Trading Positions & Market Alerts
-- Open trading positions with P&L
SELECT
symbol,
side,
entry_price,
current_price,
quantity,
pnl_usd,
pnl_percent,
stop_loss,
take_profit,
notes
FROM trading_positions
WHERE telegram_user_id = 302137836
AND status = 'open'
ORDER BY ABS(pnl_percent) DESC;
-- Triggered price alerts
SELECT symbol, condition, target_price, current_price
FROM price_alerts
WHERE telegram_user_id = 302137836
AND triggered = true
AND updated_at > NOW() - INTERVAL '24 hours';
-- Recent trading signals
SELECT symbol, direction, indicator, price, confidence, received_at
FROM trading_signals
WHERE received_at > NOW() - INTERVAL '12 hours'
AND notified = false
ORDER BY received_at DESC
LIMIT 5;
Live Crypto Prices:
curl -s 'https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum,solana&vs_currencies=usd&include_24hr_change=true'
4. Messages & Communication
-- Recent iMessages (from relationship tracking)
SELECT
contact_name,
message_text,
message_date,
is_from_me
FROM messages
WHERE message_date > NOW() - INTERVAL '24 hours'
AND (telegram_user_id = '302137836' OR telegram_user_id IS NULL)
ORDER BY message_date DESC
LIMIT 20;
-- Unread email summary (use gmail skill if available)
-- Check gmail digest job for format
5. Weather (via Web Search)
Use WebSearch or weather skill to get:
- Current conditions
- Today’s high/low
- Precipitation chance
- What to wear recommendation
Format:
Weather: [City] - [Current temp], High [X], Low [Y]
[Condition icon] [Brief description]
Wear: [Clothing recommendation based on conditions]
6. Birthdays & Anniversaries
-- Birthdays today
SELECT name, birthday, notes, relationship_strength
FROM entities
WHERE telegram_user_id = 302137836
AND entity_type = 'person'
AND EXTRACT(MONTH FROM birthday) = EXTRACT(MONTH FROM CURRENT_DATE)
AND EXTRACT(DAY FROM birthday) = EXTRACT(DAY FROM CURRENT_DATE);
-- Upcoming birthdays (next 7 days)
SELECT name, birthday, relationship_strength
FROM entities
WHERE telegram_user_id = 302137836
AND entity_type = 'person'
AND birthday IS NOT NULL
AND (
(EXTRACT(MONTH FROM birthday), EXTRACT(DAY FROM birthday))
BETWEEN
(EXTRACT(MONTH FROM CURRENT_DATE), EXTRACT(DAY FROM CURRENT_DATE))
AND
(EXTRACT(MONTH FROM CURRENT_DATE + INTERVAL '7 days'), EXTRACT(DAY FROM CURRENT_DATE + INTERVAL '7 days'))
)
ORDER BY
CASE
WHEN EXTRACT(MONTH FROM birthday) > EXTRACT(MONTH FROM CURRENT_DATE) THEN EXTRACT(MONTH FROM birthday)
WHEN EXTRACT(MONTH FROM birthday) = EXTRACT(MONTH FROM CURRENT_DATE) THEN EXTRACT(DAY FROM birthday)
END;
7. Habits & Streaks
-- Today's habits with completion status
SELECT
h.id,
h.name,
h.description,
h.frequency,
h.streak_current,
h.streak_best,
CASE WHEN hc.id IS NOT NULL THEN true ELSE false END as completed_today
FROM habits h
LEFT JOIN habit_completions hc ON h.id = hc.habit_id
AND hc.completed_at::date = CURRENT_DATE
WHERE h.telegram_user_id = 302137836
AND h.is_active = true
ORDER BY h.streak_current DESC;
-- Streaks at risk (7+ day streak, not completed today)
SELECT h.name, h.streak_current
FROM habits h
LEFT JOIN habit_completions hc ON h.id = hc.habit_id
AND hc.completed_at::date = CURRENT_DATE
WHERE h.telegram_user_id = 302137836
AND h.is_active = true
AND h.streak_current >= 7
AND hc.id IS NULL;
8. Health & Fitness
-- Today's health metrics
SELECT
steps,
active_energy,
exercise_minutes,
stand_hours,
sleep_hours,
heart_rate_avg
FROM health_data
WHERE date = CURRENT_DATE
AND (telegram_user_id = '302137836' OR telegram_user_id IS NULL);
-- Recent workouts
SELECT workout_type, duration_minutes, calories_burned, date
FROM workouts
WHERE date >= CURRENT_DATE - INTERVAL '7 days'
ORDER BY date DESC
LIMIT 3;
9. News & Content
-- Saved items to review
SELECT summary, url, category, created_at
FROM items
WHERE telegram_user_id = 302137836
AND status = 'active'
AND category IN ('bookmark', 'reference')
AND created_at > NOW() - INTERVAL '24 hours'
ORDER BY created_at DESC
LIMIT 5;
-- Twitter highlights
SELECT raw_content, url, metadata
FROM items
WHERE telegram_user_id = 302137836
AND source = 'twitter'
AND created_at > NOW() - INTERVAL '24 hours'
ORDER BY created_at DESC
LIMIT 5;
Use Exa skill for personalized news:
- Search Substack follows for new posts
- Search for news in tracked topics/interests
10. Personal CRM – People to Reach Out To
-- People overdue for contact (relationship_strength based)
SELECT
name,
email_addresses,
last_contact,
relationship_strength,
CURRENT_DATE - last_contact::date as days_since_contact
FROM entities
WHERE telegram_user_id = 302137836
AND entity_type = 'person'
AND relationship_strength >= 70
AND (last_contact IS NULL OR last_contact < NOW() - INTERVAL '14 days')
ORDER BY relationship_strength DESC, last_contact ASC
LIMIT 3;
Output Formats
Morning Briefing Format
Good morning! Here's your daily briefing for [Day, Month Date, Year]
WEATHER & OUTFIT
[City]: [Current]F (H: [High]F, L: [Low]F)
[Conditions] | Wear: [Recommendation]
TODAY'S SCHEDULE ([X] events)
[Emoji based on event type] [Time] - [Title] @ [Location]
[Prep notes if any]
PRIORITY TASKS ([X] items)
[Priority emoji] [Task title] - [Due info]
[Overdue items get warning]
HABITS TO MAINTAIN
[Streak emoji] [Habit name] - [X] day streak
[Warning for at-risk streaks]
BIRTHDAYS TODAY
[Birthday cake emoji] [Name] - [Optional: age if birth year known]
[Gift/message suggestions based on relationship]
MARKET SNAPSHOT
BTC: $[X] ([+/-X%] 24h)
ETH: $[X] ([+/-X%] 24h)
[Open position alerts if any]
PEOPLE TO CONNECT WITH
[Contact emoji] [Name] - last contact [X] days ago
[Suggested outreach method/topic]
QUICK NEWS
[Bullet points of relevant news from areas of interest]
Have a great day!
Evening Briefing Format
Good evening! Here's your end-of-day wrap-up for [Date]
TODAY'S ACCOMPLISHMENTS
[Checkmark] [Completed task/event]
[X completed, Y remaining]
HABIT CHECK
[Completed habits with streak update]
[Incomplete habits - still time to complete?]
MARKET CLOSE
[Position updates, P&L summary]
[Any notable market movements]
TOMORROW PREVIEW
[First 3 events for tomorrow]
[Any prep needed tonight]
MESSAGES TO RESPOND TO
[Any unanswered important messages]
REFLECTION
[Brief summary of what went well, what to improve]
Good night!
Personalization Notes
Alec’s Preferences
- Telegram User ID: 302137836
- Timezone: America/New_York
- Primary Calendar: Google Calendar (via gog skill)
- Trading Focus: Crypto (BTC, ETH, SOL), prediction markets
- News Interests: Tech, crypto, markets, politics
- Substack Follows: Cassandra Unchained, Cobie, Kyla Scanlon, etc.
- Relationship Priority: High-strength contacts (relationship_strength >= 70)
User Interest Profile (Prioritize in Briefings)
When curating news, market insights, and content, prioritize these interest areas:
AI & Development:
- Claude Code, MCP servers, AI agents, LLMs, AI skills/tooling
- Autonomous AI experiments, AI vs AI competitions
- New AI capabilities, agentic workflows
Crypto & DeFi:
- Polymarket, prediction markets, Kalshi arbitrage
- Hyperliquid, MEV, on-chain analytics
- DeFi protocols, yield strategies
- Ethereum ecosystem, Solana developments
Emerging Tech:
- Quantum computing breakthroughs
- Edge compute, distributed systems
- Hardware innovations, IoT, WiFi protocols
- WebAuthn, passkeys, authentication systems
Specialized Domains:
- Legal tech innovations
- Tax tech and compliance automation
- Blockchain infrastructure
Filtering Rules:
- Boost: Any news/content touching these interests to P1/P0
- Flag: Breaking developments in prediction markets or DeFi
- Connect: Find intersections (e.g., “AI + crypto” = extra priority)
- Surface: Contrarian takes from trusted sources on these topics
Adaptive Behavior
- If calendar is empty: Emphasize tasks and focus time
- If no open trades: Skip market section or show watchlist
- If habits at risk: Emphasize with warnings
- If birthday today: Lead with celebration
- If important deadline: Urgent callout at top
- If health data available: Include activity summary
Integration with Other Skills
The daily briefing orchestrates data from these skills:
- gog: Google Calendar events
- weather: Current conditions (or use web search)
- crypto-tracker: Live prices and portfolio
- market-analyst: Trading signals and analysis
- keep-in-touch: Contact recommendations
- exa: News search for areas of interest
- gmail: Email digest
Cron Job Configuration
Morning Briefing (7:00 AM ET)
{
"id": "life-os-morning-briefing",
"name": "Life OS Morning Briefing",
"schedule": {
"kind": "cron",
"value": "0 7 * * *",
"tz": "America/New_York"
},
"payload": {
"kind": "agentTurn",
"message": "Generate my MORNING daily briefing using the /daily-briefing skill. Include all sections: weather, calendar, tasks, habits, birthdays, markets, contacts, and news. Keep it concise but comprehensive.",
"deliver": true,
"channel": "telegram",
"to": "302137836"
}
}
Evening Briefing (9:00 PM ET)
{
"id": "life-os-evening-briefing",
"name": "Life OS Evening Briefing",
"schedule": {
"kind": "cron",
"value": "0 21 * * *",
"tz": "America/New_York"
},
"payload": {
"kind": "agentTurn",
"message": "Generate my EVENING daily briefing using the /daily-briefing skill. Focus on: today's accomplishments, habit check, market close, tomorrow preview, and reflection.",
"deliver": true,
"channel": "telegram",
"to": "302137836"
}
}
Example Execution Flow
When triggered, follow this sequence:
- Determine variant (morning vs evening based on time or explicit request)
- Parallel data fetch (run all SQL queries and API calls simultaneously)
- Prioritize and filter (remove empty sections, highlight urgent items)
- Format output (use appropriate template)
- Deliver (via Telegram)
Error Handling
- If a data source fails, skip that section with a note
- Always include weather, calendar, and tasks (core sections)
- Log errors for debugging but don’t break the briefing
Future Enhancements
- Voice briefing option (text-to-speech)
- Smart bundling (group related items)
- Trend analysis (compare to last week)
- Proactive suggestions (based on patterns)
- Weekend briefing variant (more casual, weekly review)
- Travel briefing variant (flight info, hotel, packing)