npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dai_ming/plugin-reminder-guard

v1.0.0

Published

OpenClaw reminder guard plugin — prevent false reminder success replies and ensure cron is allowed for reminder flows

Downloads

133

Readme

@dai_ming/plugin-reminder-guard

OpenClaw 提醒兜底插件。

它主要做两件事:

  1. 监听运行时的 cron.add 调用,只有真正创建成功了 cron job,才允许“已创建提醒 / 我会在 XX 提醒你”这类回复原样发出去。
  2. 在安装时把已有 tools.allow 白名单里的 cron 自动补齐,避免实例因为没放开 cron 工具而永远只能“口头答应”。

适用问题

  • 中文场景下模型回复“已为你创建提醒”,但 pod 里没有任何 cron job
  • 当前实例的 tools.allow 缺少 cron,导致提醒能力实际不可用
  • 希望热装到现有 pod,而不是改 OpenClaw 原始镜像

包内文件

| 文件 | 作用 | |------|------| | index.js | 运行时 hook:跟踪 cron.add 成败,重写假成功提醒 | | install.js | 热装脚本:复制插件到 extensions-extra,更新 openclaw.json,补齐 cron allowlist | | openclaw-plugin.json | 兼容当前 gateway / initContainer 插件清单 | | openclaw.plugin.json | OpenClaw 运行时插件清单 |

Helm / Pod 安装

把插件加入 installPlugins

installPlugins:
  - "@dai_ming/[email protected]"

手动热装

TMP_DIR="$(mktemp -d)"
cd "$TMP_DIR"
npm pack @dai_ming/[email protected] --registry https://registry.npmjs.org
mkdir pkg
tar xzf ./*.tgz -C pkg --strip-components=1
node pkg/install.js --plugin-root "$TMP_DIR/pkg" --home /home/node/.openclaw
sleep 20

验证

重点检查:

  1. ~/.openclaw/openclaw.json 中是否包含 plugins.entries.plugin-reminder-guard
  2. plugins.load.paths 是否包含 ~/.openclaw/extensions-extra/plugin-reminder-guard
  3. 相关 agent 的 tools.allow 是否已包含 cron
  4. 发送提醒请求后,如果没有真实 cron.add 成功,最终回复是否变成“这次提醒还没有真正创建成功,所以不会自动触发”

发布

cd packages/plugin-reminder-guard
npm publish --registry https://registry.npmjs.org --access public