Agent Skills › yetanotherbrowser/yab › notification-activation

notification-activation

GitHub

启用网站浏览器通知并验证用户授权,支持监控特定事件。通过检查权限、点击控制按钮及读取状态完成配置,结合watch工具实现周期性检测与异常报告,确保仅开启相关推送设置。

Skills/notification-activation/SKILL.md yetanotherbrowser/yab

Trigger Scenarios

用户请求启用网站通知 用户请求监控特定网站事件

Install

npx skills add yetanotherbrowser/yab --skill notification-activation -g -y
More Options

Non-standard path

npx skills add https://github.com/yetanotherbrowser/yab/tree/main/Skills/notification-activation -g -y

Use without installing

npx skills use yetanotherbrowser/yab@notification-activation

指定 Agent (Claude Code)

npx skills add yetanotherbrowser/yab --skill notification-activation -a claude-code -g -y

安装 repo 全部 skill

npx skills add yetanotherbrowser/yab --all -g -y

预览 repo 内 skill

npx skills add yetanotherbrowser/yab --list

SKILL.md

Frontmatter
{
    "name": "notification-activation",
    "sites": [],
    "keywords": [
        "enable notifications",
        "browser notifications",
        "push notifications",
        "notify me",
        "включи уведомления",
        "уведомляй",
        "следи за"
    ],
    "description": "Enable a site's browser notifications and verify its own opt-in when the user asks for notifications or monitoring."
}

Site notifications

A working subscription needs both permission in Yab/macOS and the site's own notification opt-in. Yab supports site notifications and Web Push while it is running, including with the tab closed.

  1. Resolve the requested site from the current tab or task context. For monitoring, identify the exact event the user cares about, not every notification from every site.
  2. Inspect the site's settings or Enable notifications control. eval may read Notification.permission in a task tab; do not invoke requestPermission through eval.
  3. Click the site's own notification control. A browser permission prompt belongs to the user: hand over when it requires their action. If macOS blocks Yab, explain the permission shown by Yab and let the user complete that system setting. Do not silently change a denied permission.
  4. Enable only the relevant Desktop/Browser/Push setting within the site, then re-read its state. Do not enable email or SMS notifications unless requested. Report any unresolved step.
  5. Verify the opt-in state, or a test notification if the site offers one. Do not claim delivery was tested just because permission reads granted.

When the user requested monitoring, use watch for a reply thread or the available routine tools for a self-contained periodic check. Read their schemas for supported schedules and lifecycle. Keep a record of checked items, stay quiet while nothing relevant changes, and report only new matching events or a failure requiring the user. Enabling push does not itself start an agent routine, and Yab does not expose inbox/eventFilter/grantNotificationPermission APIs.

Version History

  • a4661df Current 2026-11-16 19:55

Same Skill Collection

Skills/1password/SKILL.md
Skills/airtable/SKILL.md
Skills/apple-passwords/SKILL.md
Skills/asana/SKILL.md
Skills/bitwarden/SKILL.md
Skills/boosts/SKILL.md
Skills/confluence/SKILL.md
Skills/dashlane/SKILL.md
Skills/google-accounts/SKILL.md
Skills/google-docs/SKILL.md
Skills/google-search/SKILL.md
Skills/image-search/SKILL.md
Skills/lastpass/SKILL.md
Skills/nordpass/SKILL.md
Skills/password-manager/SKILL.md
Skills/proton-pass/SKILL.md
Skills/skill-creator/SKILL.md
Skills/trello/SKILL.md
Skills/visual-reading/SKILL.md
Skills/visualize/SKILL.md
Skills/yab/SKILL.md
Skills/clickup/SKILL.md

Metadata

Files
0
Version
8821911
Hash
f708568f
Indexed
2026-11-16 19:55

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-20 12:41
浙ICP备14020137号-1