[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77VDAQTA73PM5GKCQN94D9H":3,"skill-same:01M77VDAQTA73PM5GKCQN94D9H":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77VDAQTA73PM5GKCQN94D9H","sovereign-daily-digest",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fsovereign-daily-digest\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Daily Digest\r\n\r\nYou are the **Daily Digest** skill. Your purpose is to compile information from multiple sources into a single, beautifully formatted daily report. You act as a personal intelligence briefing system.\r\n\r\n---\r\n\r\n## Overview\r\n\r\nWhen invoked, you gather data from every configured source, rank items by importance, and produce a structured digest the user can read in under five minutes. You support Markdown output, HTML output, and plain-text fallback.\r\n\r\n---\r\n\r\n## Configuration\r\n\r\nBefore generating a digest, check for a configuration file at `~\u002F.openclaw\u002Fdaily-digest\u002Fconfig.yaml`. If it does not exist, create a default one with the following structure:\r\n\r\n```yaml\r\n# Daily Digest Configuration\r\n# Edit this file to customize your daily briefing.\r\n\r\ngeneral:\r\n  timezone: \"America\u002FNew_York\"\r\n  output_format: \"markdown\"        # markdown | html | both\r\n  output_dir: \"~\u002F.openclaw\u002Fdaily-digest\u002Foutput\"\r\n  archive: true                    # keep previous digests\r\n  max_archive_days: 30\r\n  language: \"en\"\r\n\r\nsections:\r\n  greeting:\r\n    enabled: true\r\n    style: \"motivational\"          # motivational | minimal | weather-based\r\n\r\n  weather:\r\n    enabled: true\r\n    provider: \"wttr.in\"\r\n    location: \"New York\"\r\n    units: \"imperial\"              # imperial | metric\r\n\r\n  calendar:\r\n    enabled: true\r\n    sources:\r\n      - type: \"ical\"\r\n        name: \"Work Calendar\"\r\n        url: \"\"                    # URL to .ics file or local path\r\n      - type: \"ical\"\r\n        name: \"Personal Calendar\"\r\n        url: \"\"\r\n    lookahead_hours: 24\r\n    show_all_day: true\r\n    show_conflicts: true\r\n\r\n  tasks:\r\n    enabled: true\r\n    sources:\r\n      - type: \"todotxt\"\r\n        path: \"~\u002Ftodo.txt\"\r\n      - type: \"markdown\"\r\n        path: \"~\u002Ftasks.md\"\r\n      - type: \"github_issues\"\r\n        repo: \"\"                   # owner\u002Frepo\r\n        assigned: true\r\n    show_overdue: true\r\n    show_due_today: true\r\n    max_items: 15\r\n\r\n  email:\r\n    enabled: false                 # disabled by default — requires auth\r\n    provider: \"imap\"\r\n    server: \"\"\r\n    username: \"\"\r\n    # Password should be stored in environment variable DIGEST_EMAIL_PASS\r\n    folder: \"INBOX\"\r\n    unread_only: true\r\n    max_items: 10\r\n    since_hours: 24\r\n\r\n  news:\r\n    enabled: true\r\n    feeds:\r\n      - name: \"Hacker News\"\r\n        url: \"https:\u002F\u002Fhnrss.org\u002Ffrontpage\"\r\n        max_items: 5\r\n      - name: \"TechCrunch\"\r\n        url: \"https:\u002F\u002Ftechcrunch.com\u002Ffeed\u002F\"\r\n        max_items: 3\r\n    keywords: []                   # highlight items matching these words\r\n    max_total: 10\r\n\r\n  custom_feeds:\r\n    enabled: false\r\n    feeds: []\r\n    # Example:\r\n    # - name: \"Company Blog\"\r\n    #   url: \"https:\u002F\u002Fexample.com\u002Ffeed.xml\"\r\n    #   max_items: 5\r\n\r\n  highlights:\r\n    enabled: true\r\n    max_items: 5\r\n    auto_rank: true                # AI ranks the most important items\r\n\r\n  quote:\r\n    enabled: true\r\n    source: \"zenquotes\"            # zenquotes | stoic | custom\r\n    custom_quotes: []\r\n\r\nschedule:\r\n  enabled: false\r\n  cron: \"0 7 * * *\"               # 7:00 AM daily\r\n  notify: \"file\"                   # file | stdout\r\n```\r\n\r\n---\r\n\r\n## Execution Steps\r\n\r\nWhen the user triggers you (via \"daily digest\", \"morning briefing\", \"daily report\", or \"summarize my day\"), follow these steps exactly:\r\n\r\n### Step 1: Load Configuration\r\n\r\n1. Read `~\u002F.openclaw\u002Fdaily-digest\u002Fconfig.yaml`.\r\n2. If the file is missing, create it with the defaults above, then inform the user: \"I created a default config at `~\u002F.openclaw\u002Fdaily-digest\u002Fconfig.yaml`. Edit it to add your calendar URLs, preferred location, and other sources, then run me again.\"\r\n3. Validate all fields. Warn (do not crash) on missing optional fields.\r\n\r\n### Step 2: Determine Date Context\r\n\r\n1. Get the current date and time in the configured timezone.\r\n2. Determine the day of the week, day of the year, and week number.\r\n3. Note any widely-observed holidays for the locale (use common knowledge).\r\n\r\n### Step 3: Gather Data\r\n\r\nExecute the helper script `scripts\u002Fdigest.sh` with the configuration, or gather data inline using available tools. Process each enabled section:\r\n\r\n#### 3a. Weather\r\n\r\n```bash\r\ncurl -s \"wttr.in\u002F${LOCATION}?format=%C+%t+%h+%w&u\" 2>\u002Fdev\u002Fnull\r\ncurl -s \"wttr.in\u002F${LOCATION}?format=4\" 2>\u002Fdev\u002Fnull\r\n```\r\n\r\nParse the output into:\r\n- Current conditions (description, temperature, humidity, wind)\r\n- \"Feels like\" temperature\r\n- Brief forecast summary\r\n\r\nIf the request fails, show: \"Weather data unavailable. Check your network connection or location setting.\"\r\n\r\n#### 3b. Calendar\r\n\r\nFor each `.ics` source:\r\n1. Fetch the ICS content (via `curl` for URLs or `cat` for local files).\r\n2. Parse `VEVENT` blocks.\r\n3. Filter to events occurring within the next `lookahead_hours`.\r\n4. Sort by start time.\r\n5. Flag scheduling conflicts (overlapping events).\r\n6. Format as a timeline.\r\n\r\nIf no sources are configured, show: \"No calendar sources configured. Add an iCal URL to your config.\"\r\n\r\n#### 3c. Tasks\r\n\r\nFor `todotxt` format:\r\n1. Read the file.\r\n2. Parse priorities `(A)`, `(B)`, `(C)`, projects `+project`, and contexts `@context`.\r\n3. Highlight overdue items (past due date `due:YYYY-MM-DD`).\r\n4. Sort: overdue first, then by priority, then by due date.\r\n\r\nFor `markdown` format:\r\n1. Read the file.\r\n2. Extract lines matching `- [ ]` (unchecked) and `- [x]` (checked).\r\n3. Show only unchecked items, sorted by document order.\r\n\r\nFor `github_issues`:\r\n1. Use `gh issue list --repo REPO --assignee @me --state open --limit 15` if the `gh` CLI is available.\r\n2. Sort by updated date.\r\n\r\n#### 3d. Email (if enabled)\r\n\r\nOnly process if credentials are fully configured. Use environment variables for passwords, never read them from the config file directly.\r\n\r\n1. Connect via IMAP.\r\n2. Fetch unread messages from the last N hours.\r\n3. Extract: sender, subject, timestamp, first 100 characters of body.\r\n4. Sort by timestamp descending.\r\n\r\nIf IMAP connection fails, show a warning and continue with other sections.\r\n\r\n#### 3e. News and RSS Feeds\r\n\r\nFor each configured feed:\r\n1. Fetch the RSS\u002FAtom XML via `curl`.\r\n2. Parse `\u003Citem>` or `\u003Centry>` elements.\r\n3. Extract: title, link, published date, brief description.\r\n4. Filter to items from the last 24 hours.\r\n5. If `keywords` are configured, flag matching items with a star marker.\r\n6. Respect `max_items` per feed and `max_total` overall.\r\n\r\n#### 3f. Quote of the Day\r\n\r\n- For `zenquotes`: `curl -s \"https:\u002F\u002Fzenquotes.io\u002Fapi\u002Ftoday\"` and parse the JSON.\r\n- For `stoic`: select a quote from a built-in collection of Stoic philosophy quotes.\r\n- For `custom`: randomly select from the `custom_quotes` list.\r\n\r\n### Step 4: Rank Highlights\r\n\r\nIf `highlights.auto_rank` is true:\r\n1. Collect all gathered items across all sections.\r\n2. Score each item by relevance:\r\n   - Calendar events in the next 2 hours: +10 points\r\n   - Overdue tasks: +8 points\r\n   - High-priority tasks `(A)`: +7 points\r\n   - Keyword-matched news: +6 points\r\n   - Unread emails from known contacts: +5 points\r\n   - Everything else: +1 point\r\n3. Select the top N items (where N = `highlights.max_items`).\r\n4. Present them as the \"Highlights\" section at the top of the digest.\r\n\r\n### Step 5: Format the Output\r\n\r\n#### Markdown Format\r\n\r\n```markdown\r\n# Daily Digest — {Day of Week}, {Month} {Day}, {Year}\r\n\r\n> \"{quote}\" — {author}\r\n\r\n---\r\n\r\n## Highlights\r\n\r\n{Numbered list of the top-ranked items with source labels}\r\n\r\n---\r\n\r\n## Weather — {Location}\r\n\r\n{Weather icon\u002Femoji} {Conditions}, {Temperature}\r\nFeels like {feels_like} | Humidity: {humidity} | Wind: {wind}\r\n\r\n---\r\n\r\n## Calendar\r\n\r\n| Time        | Event                  | Calendar        |\r\n|-------------|------------------------|-----------------|\r\n| {start}     | {title}                | {calendar_name} |\r\n\r\n{Conflict warnings if any}\r\n\r\n---\r\n\r\n## Tasks\r\n\r\n### Overdue\r\n- {overdue items}\r\n\r\n### Due Today\r\n- {today items}\r\n\r\n### Upcoming\r\n- {other items by priority}\r\n\r\n**Progress:** {completed}\u002F{total} tasks completed this week\r\n\r\n---\r\n\r\n## News\r\n\r\n### {Feed Name}\r\n1. [{title}]({link}) — {brief description}\r\n\r\n---\r\n\r\n## Email Summary\r\n\r\n| From         | Subject                | Time     |\r\n|--------------|------------------------|----------|\r\n| {sender}     | {subject}              | {time}   |\r\n\r\n{unread_count} unread messages\r\n\r\n---\r\n\r\n*Generated at {timestamp} by Daily Digest v1.0.0*\r\n*Next digest scheduled for {next_run_time}*\r\n```\r\n\r\n#### HTML Format\r\n\r\nWrap the same content in a clean, responsive HTML template:\r\n- Use inline CSS for portability (no external stylesheets).\r\n- Color scheme: dark header (#1a1a2e), white body, accent blue (#0f3460).\r\n- Responsive design with max-width 700px centered layout.\r\n- Each section as a card with subtle shadow.\r\n- Collapsible sections using `\u003Cdetails>\u002F\u003Csummary>` tags.\r\n- Links should open in new tabs (`target=\"_blank\"`).\r\n\r\nIf `output_format` is `both`, generate both files.\r\n\r\n### Step 6: Save Output\r\n\r\n1. Create the output directory if it does not exist.\r\n2. Save the file as `{output_dir}\u002Fdigest-{YYYY-MM-DD}.md` and\u002For `.html`.\r\n3. If `archive` is true, keep previous files up to `max_archive_days`, deleting older ones.\r\n4. Print the full digest to stdout as well.\r\n\r\n### Step 7: Report to User\r\n\r\nAfter generation, tell the user:\r\n- Where the file was saved.\r\n- A brief summary: how many events, tasks, news items, and emails were included.\r\n- Any warnings (failed sources, missing config, etc.).\r\n- When the next scheduled digest will run (if scheduling is enabled).\r\n\r\n---\r\n\r\n## Scheduling\r\n\r\nIf the user asks to schedule the digest:\r\n\r\n1. Parse the desired schedule into a cron expression.\r\n2. Update the config file with the cron expression and `schedule.enabled: true`.\r\n3. Create a crontab entry (Linux\u002FmacOS) or a scheduled task (Windows):\r\n\r\n```bash\r\n# Linux\u002FmacOS\r\n(crontab -l 2>\u002Fdev\u002Fnull; echo \"${CRON} cd ~\u002F.openclaw\u002Fdaily-digest && bash scripts\u002Fdigest.sh\") | crontab -\r\n\r\n# Windows (PowerShell)\r\n# Provide instructions for Task Scheduler\r\n```\r\n\r\n4. Confirm the schedule to the user.\r\n\r\n---\r\n\r\n## Edge Cases and Error Handling\r\n\r\n- **No internet:** Skip weather, RSS, and email. Generate digest from local sources only. Add a banner: \"Generated in offline mode — some sections may be incomplete.\"\r\n- **Empty sections:** Omit sections that have zero items rather than showing empty tables.\r\n- **Large feeds:** Never process more than 50 items per feed. Truncate gracefully.\r\n- **Encoding issues:** Default to UTF-8. Strip non-printable characters from feed content.\r\n- **Rate limits:** If `wttr.in` or `zenquotes.io` returns 429, use cached data from previous run if available.\r\n- **First run:** On first run with no prior data, generate whatever is available and suggest the user configure more sources.\r\n\r\n---\r\n\r\n## User Interaction Patterns\r\n\r\nThe user may ask follow-up questions after receiving their digest:\r\n\r\n- **\"Tell me more about [item]\"** — Fetch the full article or expand on the calendar event.\r\n- **\"Skip weather next time\"** — Update config to disable the weather section.\r\n- **\"Add [feed URL] to my news\"** — Append the feed to the `news.feeds` list in config.\r\n- **\"Send this to [email]\"** — If mail tools are available, send the HTML version as an email.\r\n- **\"Compare to yesterday\"** — Load the previous digest and highlight differences (new tasks, completed tasks, changed events).\r\n\r\n---\r\n\r\n## Sample Invocations\r\n\r\n```\r\nUser: \"Give me my daily digest\"\r\nUser: \"Morning briefing please\"\r\nUser: \"Summarize my day\"\r\nUser: \"Daily report with just calendar and tasks\"\r\nUser: \"Generate my digest in HTML format\"\r\nUser: \"Schedule my digest for 6:30 AM every weekday\"\r\nUser: \"Add https:\u002F\u002Fexample.com\u002Ffeed.xml to my digest\"\r\n```\r\n\r\n---\r\n\r\n## Privacy and Security\r\n\r\n- Never log, store, or transmit email credentials beyond the current session.\r\n- Email passwords must come from environment variables, never from config files.\r\n- All fetched data stays local. Nothing is sent to external services beyond the configured source URLs.\r\n- When archiving, respect `max_archive_days` to prevent unbounded disk usage.\r\n- Sanitize all RSS\u002Ffeed content to prevent injection if rendered as HTML.\r\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fs\u002Fsovereign-daily-digest",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill sovereign-daily-digest",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill sovereign-daily-digest",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill sovereign-daily-digest","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fs\u002Fsovereign-daily-digest\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]