PushNotifiMe
0
把 AI agent 的人在回路环节搬到你的手机上。agent 调用 pushnotifi_request_ack,你在 PushNotifi 手机应用上点按批准/拒绝/是/否(或输入回复),agent 的 pushnotifi_await_ack 返回你的答案后工作流继续。
4 条规则
# /pushnotifi init
Bootstrap PushNotifi in the current project. Idempotent — safe to run more than once.
## Steps (execute in order)
1. **Detect package manager.** Check, in order: `pnpm-lock.yaml` → use `pnpm`. `yarn.lock` → use `yarn`. `package-lock.json` → use `npm`. Otherwise default to `npm`. Do not change the lockfile format.
2. **Verify Node version.** Run `node --version`. If the major version is < 18, stop and tell the user: "PushNotifi SDK requires Node 18+ for global fetch. Upgrade Node before continuing."
3. **Install the SDK.** Run the install with the detected package manager:
- `npm install pushnotifime`
- `pnpm add pushnotifime`
- `yarn add pushnotifime`
4. **Write `.env.example`.** Append (do not overwrite — read the existing file first and only add missing keys) the following lines:
```env
# PushNotifi.me — get these from https://pushnotifi.me/dashboard
PUSHNOTIFI_USER_KEY=
PUSHNOTIFI_GROUP_KEY=
# Optional — omit to use the account default application
# PUSHNOTIFI_APPLICATION_KEY=
# Optional — per-user inbound webhook token (shell/CI shortcut)
# PUSHNOTIFI_WEBHOOK_TOKEN=
```
5. **Update `.gitignore`.** If `.env` is not already ignored, append `.env` and `.env.*` plus a `!.env.example` exception. Do not duplicate existing patterns.
6. **Print next-step instructions to the user**, exactly:
> PushNotifi installed.
>
> 1. Open https://pushnotifi.me/dashboard and copy your API key into `PUSHNOTIFI_USER_KEY`.
> 2. Create or pick a group and copy its `g…` send-to key into `PUSHNOTIFI_GROUP_KEY`.
> 3. Run `/pushnotifi test` to send a test notification to your phone.
## Failure modes the command must handle
- **No `package.json` in cwd:** stop and tell the user "/pushnotifi init must be run at the root of a Node project (no package.json found)." Do not create one.
- **Network failure during install:** report the package manager's exit code and stderr verbatim; do not retry silently.
- **`.env.example` write permission denied:** report the path and the OS error; do not attempt sudo.
## What this command does NOT do
- Never reads or writes `.env` (only `.env.example`).
- Never sends a real notification (that is `/pushnotifi test`).
- Never logs or echoes any environment variable values.相关插件
PushNotifiMe↓ 4
面向 AI agent 的人在回路(在你的手机上)。agent 调用 pushnotifi_request_ack,你在 PushNotifi 手机应用上点按批准/拒绝或回复,agent 的 pushnotifi_await_ack 返回你的答复并继续工作流。GitHub MCP Server↓ 39
GitHub MCP Server:访问仓库数据、用户画像、Trending、提交历史与开源分析。Code Quality Scanner↓ 30
Code Quality Scanner:AST 分析检测 AI 生成代码中的 vibe-code 反模式(Python/JS/Prompt)。Yahoo Finance MCP Server↓ 17
通过 Yahoo Finance 获取实时股票报价、财务报表、分析师推荐、期权链与全面市场数据,为 AI agent 提供实时金融情报,服务投资研究与组合分析。Easy Notion MCP↓ 12
面向 Cursor 的 Notion MCP 插件。Rootly MCP server↓ 9
将 Rootly 接入 Cursor,把事件、告警、值班排班与复盘作为原生 MCP 工具使用。humanpages↓ 7
雇佣真人完成 agent 无法独立完成的任务,例如 QA 测试、目录提交、Beta 测试、本地化审校、竞品监控等,无需浏览器、手动竞价或平台费用。Weather MCP Server↓ 6
提供天气预报、气候数据、历史天气模式和恶劣天气预警的 MCP 服务器,由 Apify 云基础设施驱动。