Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

sovereign-daily-digest主权日报文摘

Agent Skill

sovereign-daily-digest 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,939

周安装

755

GitHub Stars

公开资料未说明

下载量

6,282
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sovereign-daily-digest(主权日报文摘)
来源仓库:https://github.com/ryudi84/sovereign-daily-digest
安装命令:
openclaw skills install sovereign-daily-digest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sovereign-daily-digest

简介

聚合新闻、天气、日程等数据生成个性化日报。

  • 适用于日常信息整理与任务提醒场景。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 通过 clawhub 安装并配置数据源后使用。
  • 注意网络权限及第三方服务调用限制。
  • sovereign-daily-digest 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Daily Digest

You 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.


Overview

When 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.


Configuration

Before generating a digest, check for a configuration file at ~/.openclaw/daily-digest/config.yaml. If it does not exist, create a default one with the following structure:

# Daily Digest Configuration
# Edit this file to customize your daily briefing.

general:
  timezone: "America/New_York"
  output_format: "markdown"        # markdown | html | both
  output_dir: "~/.openclaw/daily-digest/output"
  archive: true                    # keep previous digests
  max_archive_days: 30
  language: "en"

sections:
  greeting:
    enabled: true
    style: "motivational"          # motivational | minimal | weather-based

  weather:
    enabled: true
    provider: "wttr.in"
    location: "New York"
    units: "imperial"              # imperial | metric

  calendar:
    enabled: true
    sources:
      - type: "ical"
        name: "Work Calendar"
        url: ""                    # URL to .ics file or local path
      - type: "ical"
        name: "Personal Calendar"
        url: ""
    lookahead_hours: 24
    show_all_day: true
    show_conflicts: true

  tasks:
    enabled: true
    sources:
      - type: "todotxt"
        path: "~/todo.txt"
      - type: "markdown"
        path: "~/tasks.md"
      - type: "github_issues"
        repo: ""                   # owner/repo
        assigned: true
    show_overdue: true
    show_due_today: true
    max_items: 15

  email:
    enabled: false                 # disabled by default — requires auth
    provider: "imap"
    server: ""
    username: ""
    # Password should be stored in environment variable DIGEST_EMAIL_PASS
    folder: "INBOX"
    unread_only: true
    max_items: 10
    since_hours: 24

  news:
    enabled: true
    feeds:
      - name: "Hacker News"
        url: "https://hnrss.org/frontpage"
        max_items: 5
      - name: "TechCrunch"
        url: "https://techcrunch.com/feed/"
        max_items: 3
    keywords: []                   # highlight items matching these words
    max_total: 10

  custom_feeds:
    enabled: false
    feeds: []
    # Example:
    # - name: "Company Blog"
    #   url: "https://example.com/feed.xml"
    #   max_items: 5

  highlights:
    enabled: true
    max_items: 5
    auto_rank: true                # AI ranks the most important items

  quote:
    enabled: true
    source: "zenquotes"            # zenquotes | stoic | custom
    custom_quotes: []

schedule:
  enabled: false
  cron: "0 7 * * *"               # 7:00 AM daily
  notify: "file"                   # file | stdout

Execution Steps

When the user triggers you (via "daily digest", "morning briefing", "daily report", or "summarize my day"), follow these steps exactly:

Step 1: Load Configuration

  1. Read ~/.openclaw/daily-digest/config.yaml.
  2. If the file is missing, create it with the defaults above, then inform the user: "I created a default config at ~/.openclaw/daily-digest/config.yaml. Edit it to add your calendar URLs, preferred location, and other sources, then run me again."
  3. Validate all fields. Warn (do not crash) on missing optional fields.

Step 2: Determine Date Context

  1. Get the current date and time in the configured timezone.
  2. Determine the day of the week, day of the year, and week number.
  3. Note any widely-observed holidays for the locale (use common knowledge).

Step 3: Gather Data

Execute the helper script scripts/digest.sh with the configuration, or gather data inline using available tools. Process each enabled section:

3a. Weather

curl -s "wttr.in/${LOCATION}?format=%C+%t+%h+%w&u" 2>/dev/null
curl -s "wttr.in/${LOCATION}?format=4" 2>/dev/null

Parse the output into:

  • Current conditions (description, temperature, humidity, wind)
  • "Feels like" temperature
  • Brief forecast summary

If the request fails, show: "Weather data unavailable. Check your network connection or location setting."

3b. Calendar

For each .ics source:

  1. Fetch the ICS content (via curl for URLs or cat for local files).
  2. Parse VEVENT blocks.
  3. Filter to events occurring within the next lookahead_hours.
  4. Sort by start time.
  5. Flag scheduling conflicts (overlapping events).
  6. Format as a timeline.

If no sources are configured, show: "No calendar sources configured. Add an iCal URL to your config."

3c. Tasks

For todotxt format:

  1. Read the file.
  2. Parse priorities (A), (B), (C), projects +project, and contexts @context.
  3. Highlight overdue items (past due date due:YYYY-MM-DD).
  4. Sort: overdue first, then by priority, then by due date.

For markdown format:

  1. Read the file.
  2. Extract lines matching - [ ] (unchecked) and - [x] (checked).
  3. Show only unchecked items, sorted by document order.

For github_issues:

  1. Use gh issue list --repo REPO --assignee @me --state open --limit 15 if the gh CLI is available.
  2. Sort by updated date.

3d. Email (if enabled)

Only process if credentials are fully configured. Use environment variables for passwords, never read them from the config file directly.

  1. Connect via IMAP.
  2. Fetch unread messages from the last N hours.
  3. Extract: sender, subject, timestamp, first 100 characters of body.
  4. Sort by timestamp descending.

If IMAP connection fails, show a warning and continue with other sections.

3e. News and RSS Feeds

For each configured feed:

  1. Fetch the RSS/Atom XML via curl.
  2. Parse <item> or <entry> elements.
  3. Extract: title, link, published date, brief description.
  4. Filter to items from the last 24 hours.
  5. If keywords are configured, flag matching items with a star marker.
  6. Respect max_items per feed and max_total overall.

3f. Quote of the Day

  • For zenquotes: curl -s "https://zenquotes.io/api/today" and parse the JSON.
  • For stoic: select a quote from a built-in collection of Stoic philosophy quotes.
  • For custom: randomly select from the custom_quotes list.

Step 4: Rank Highlights

If highlights.auto_rank is true:

  1. Collect all gathered items across all sections.
  2. Score each item by relevance:

- Calendar events in the next 2 hours: +10 points - Overdue tasks: +8 points - High-priority tasks (A): +7 points - Keyword-matched news: +6 points - Unread emails from known contacts: +5 points - Everything else: +1 point

  1. Select the top N items (where N = highlights.max_items).
  2. Present them as the "Highlights" section at the top of the digest.

Step 5: Format the Output

Markdown Format

# Daily Digest — {Day of Week}, {Month} {Day}, {Year}

> "{quote}" — {author}

---

## Highlights

{Numbered list of the top-ranked items with source labels}

---

## Weather — {Location}

{Weather icon/emoji} {Conditions}, {Temperature}
Feels like {feels_like} | Humidity: {humidity} | Wind: {wind}

---

## Calendar

| Time        | Event                  | Calendar        |
|-------------|------------------------|-----------------|
| {start}     | {title}                | {calendar_name} |

{Conflict warnings if any}

---

## Tasks

### Overdue
- {overdue items}

### Due Today
- {today items}

### Upcoming
- {other items by priority}

**Progress:** {completed}/{total} tasks completed this week

---

## News

### {Feed Name}
1. [{title}]({link}) — {brief description}

---

## Email Summary

| From         | Subject                | Time     |
|--------------|------------------------|----------|
| {sender}     | {subject}              | {time}   |

{unread_count} unread messages

---

*Generated at {timestamp} by Daily Digest v1.0.0*
*Next digest scheduled for {next_run_time}*

HTML Format

Wrap the same content in a clean, responsive HTML template:

  • Use inline CSS for portability (no external stylesheets).
  • Color scheme: dark header (#1a1a2e), white body, accent blue (#0f3460).
  • Responsive design with max-width 700px centered layout.
  • Each section as a card with subtle shadow.
  • Collapsible sections using <details>/<summary> tags.
  • Links should open in new tabs (target="_blank").

If output_format is both, generate both files.

Step 6: Save Output

  1. Create the output directory if it does not exist.
  2. Save the file as {output_dir}/digest-{YYYY-MM-DD}.md and/or .html.
  3. If archive is true, keep previous files up to max_archive_days, deleting older ones.
  4. Print the full digest to stdout as well.

Step 7: Report to User

After generation, tell the user:

  • Where the file was saved.
  • A brief summary: how many events, tasks, news items, and emails were included.
  • Any warnings (failed sources, missing config, etc.).
  • When the next scheduled digest will run (if scheduling is enabled).

Scheduling

If the user asks to schedule the digest:

  1. Parse the desired schedule into a cron expression.
  2. Update the config file with the cron expression and schedule.enabled: true.
  3. Create a crontab entry (Linux/macOS) or a scheduled task (Windows):
# Linux/macOS
(crontab -l 2>/dev/null; echo "${CRON} cd ~/.openclaw/daily-digest && bash scripts/digest.sh") | crontab -

# Windows (PowerShell)
# Provide instructions for Task Scheduler
  1. Confirm the schedule to the user.

Edge Cases and Error Handling

  • 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."
  • Empty sections: Omit sections that have zero items rather than showing empty tables.
  • Large feeds: Never process more than 50 items per feed. Truncate gracefully.
  • Encoding issues: Default to UTF-8. Strip non-printable characters from feed content.
  • Rate limits: If wttr.in or zenquotes.io returns 429, use cached data from previous run if available.
  • First run: On first run with no prior data, generate whatever is available and suggest the user configure more sources.

User Interaction Patterns

The user may ask follow-up questions after receiving their digest:

  • "Tell me more about [item]" — Fetch the full article or expand on the calendar event.
  • "Skip weather next time" — Update config to disable the weather section.
  • "Add [feed URL] to my news" — Append the feed to the news.feeds list in config.
  • "Send this to [email]" — If mail tools are available, send the HTML version as an email.
  • "Compare to yesterday" — Load the previous digest and highlight differences (new tasks, completed tasks, changed events).

Sample Invocations

User: "Give me my daily digest"
User: "Morning briefing please"
User: "Summarize my day"
User: "Daily report with just calendar and tasks"
User: "Generate my digest in HTML format"
User: "Schedule my digest for 6:30 AM every weekday"
User: "Add https://example.com/feed.xml to my digest"

Privacy and Security

  • Never log, store, or transmit email credentials beyond the current session.
  • Email passwords must come from environment variables, never from config files.
  • All fetched data stays local. Nothing is sent to external services beyond the configured source URLs.
  • When archiving, respect max_archive_days to prevent unbounded disk usage.
  • Sanitize all RSS/feed content to prevent injection if rendered as HTML.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.61%
按下载量换算5,378

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills