Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

macos-notification-readermacOS notification reader 搜索

Agent Skill

macos-notification-reader 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,011

周安装

473

GitHub Stars

1

下载量

3,860
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install macos-notification-reader

简介

从本地数据库读取最近的 macOS 通知,并将其导出到按日期组织的 Markdown 文件以供查看和记录。

SKILL.md

macOS Notification Reader

Reads the macOS notification center database and exports recent notifications to markdown files. Also supports automated work notification summary with filtering and delivery.

Features

  • 📱 Multi-app support: WeChat, Teams, Outlook, Mail, iMessage, Calendar, Reminders, and more
  • Time filtering: Fetch notifications from the last N minutes or hours
  • 📅 Date-organized output: Exports to memory/YYYY-MM-DD/computer_io/notification/
  • 🤖 Cron scheduling: Designed for automated periodic exports
  • 📊 Work notification summary: Auto-filter work-related notifications (Teams/Outlook) and generate summaries
  • 🔒 Privacy-friendly: Reads from local database only, no cloud upload

Quick Start

1. Grant Full Disk Access (Required)

This skill requires Full Disk Access to read the macOS notification database.

# Verify permission
python3 -c "import os; print('OK' if os.access(os.path.expanduser('~/Library/Group Containers/group.com.apple.usernoted/db2/db'), os.R_OK) else 'FAIL')"

If it returns FAIL, follow these steps:

  1. Open System SettingsPrivacy & SecurityFull Disk Access
  2. Click the 🔒 lock and enter your password
  3. Click +, press Cmd+Shift+G, enter /usr/bin/python3, click Open
  4. Ensure the toggle is ON
Note: If using a virtual environment, add the Python binary from that venv instead.

2. Test the Scripts

# Navigate to the skill directory
cd /path/to/macos-notification-reader

# Basic: Read notifications from the last 35 minutes
python3 scripts/read_notifications.py --minutes 35

# Basic: Read notifications from the last 24 hours
python3 scripts/read_notifications.py --hours 24

# Advanced: Generate work notification summary (every 30 min)
bash scripts/work-summary.sh

3. Set Up Cron Jobs (Recommended)

Option A: Basic Notification Export (every 30 min)

# Edit crontab
crontab -e

# Add this line:
*/30 * * * * /path/to/macos-notification-reader/scripts/export-notification.sh

Option B: Work Notification Summary (every 30 min)

This filters work-related notifications (Teams, Outlook) and generates a summary:

crontab -e

# Add this line:
*/30 * * * * /path/to/macos-notification-reader/scripts/work-summary.sh

Or use OpenClaw's built-in cron:

openclaw cron add --name "Work Notification Summary" --every "30m" --message "Run work-summary.sh"

Scripts

ScriptPurpose
read_notifications.pyCore script - reads raw notifications from database
export-notification.shExports all notifications to markdown
work-summary.shFilters work notifications and generates summary

Work Notification Summary

The work-summary.sh script does:

  1. Filters work apps: Teams, Outlook, WeChat (work-related)
  2. Extracts action items: Identifies pending tasks from message content
  3. Generates summary: Creates a structured markdown report
  4. Saves to: memory/YYYY-MM-DD/computer_io/notification/work-summary-YYYYMMDD-HHMMSS.md

Summary Output Format

# 工作通知摘要
- Lookback: 过去 35 分钟
- 总工作通知: 5 条

## 渠道分布
- Teams: 3
- Outlook: 2

## 待处理事项(自动提取)
- [时间] (app) 消息内容摘要

## 最近工作通知(去重后)
- [时间] (app) 消息内容

Output Directory

By default, exports go to:

~/.openclaw/workspace/memory/YYYY-MM-DD/computer_io/notification/

To customize, edit the scripts and change the OUTPUT_DIR variable.

Supported Apps

The script recognizes these apps by default:

Bundle IDDisplay Name
com.tencent.xinWeChatWeChat
com.microsoft.teams2Teams
com.microsoft.OutlookOutlook
com.apple.mailMail
com.apple.mobilesmsiMessage
com.apple.icalCalendar
com.apple.remindersReminders

To add more apps, edit the simplify_app_name() function in read_notifications.py.

Limitations

  • ⚠️ macOS only: This skill only works on macOS
  • ⚠️ Full Disk Access required: Must be granted manually (see above)
  • ⚠️ Limited retention: macOS automatically deletes notifications after ~3-7 days
  • ⚠️ Notification state: Cannot read notifications that have been dismissed

File Structure

macos-notification-reader/
├── SKILL.md                       # This file
├── _meta.json                     # Skill metadata
├── scripts/
│   ├── read_notifications.py      # Core script (file output)
│   ├── export-notification.sh     # Basic export wrapper
│   └── work-summary.sh            # Work notification summary (NEW)
└── references/
    └── permission-setup.md        # Detailed permission guide

Use Cases

  • 📊 Review missed notifications: See what you missed while away
  • 🔍 Debug notification issues: Check if a specific app sent a notification
  • 📝 Daily logging: Automatically archive notifications
  • 💼 Work summary: Get incremental work notification summaries every 30 min
  • 🤖 Automation: Integrate with other tools via markdown output

Troubleshooting

"Permission denied" error

Grant Full Disk Access. See references/permission-setup.md.

"Cannot find notification database"

  • Ensure macOS 15.0 or later
  • Check: ls -la ~/Library/Group\ Containers/group.com.apple.usernoted/db2/

Notifications are empty

  • macOS may have deleted old notifications
  • Try reducing time window: --minutes 10

Author: OpenClaw Community Version: 1.1.0 Platform: macOS 15.0+ License: MIT

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

78.75%
按下载量换算3,040

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills