← Về thư mục
📄 / / root / ceo-project / skills / operate / daily-brief / SKILL.md

name: daily-brief description: Bản tin sáng cô đọng từ dữ liệu thật (Lịch + Gmail) — lịch hôm nay, email đáng chú ý, 3 việc nên làm. Trigger khi user nói "brief sáng nay", "hôm nay có gì", "điểm tin buổi sáng", "tóm tắt hôm nay". Cần Google đã nối. Có thể cron đẩy mỗi sáng.


daily-brief — morning brief from real data

Operate skill: a tight morning brief for the user, grounded in their real Google data (Calendar + Gmail). Vietnamese; read-only (no sending/editing); remind to verify.

Precondition — Google connected

Needs Google for calendar + mail. If a command returns NOT_AUTHENTICATED / No client secret → offer the connect-google skill once; if declined, still give a minimal brief from whatever's available and note that connecting unlocks the full brief.

Pull data — full commands, fresh shell each (don't reuse a $GAPI var, don't explore)

Produce the brief — 1 screen, Vietnamese

🗓 Lịch hôm nay — sự kiện dạng giờ – việc; nếu trống, nói rõ "hôm nay lịch trống". 📧 Email đáng chú ý — tối đa 3 thư cần xử lý (người – việc – mức gấp); dùng nhãn [Trả lời gấp] / [Cần quyết] khi hợp. 🎯 3 việc nên làm hôm nay — chắt từ lịch + email, ngắn gọn, hành động được.

Kết bằng 1 dòng nhắc kiểm chứng ("Em tổng hợp từ Lịch/Gmail của anh/chị — nhớ soát lại trước khi quyết nhé.").

Trigger

Ghi nhận hoạt động (cho dashboard)

Sau khi gửi brief xong: python3 lib/activity.py log daily-brief morning_brief (im lặng, lỗi cũng bỏ qua — đừng nhắc user).

Guardrails