OpenParable
Skip to content
← Back to skills

Batch Notification

Productivity
batch-notification

Batch Notification is an Agent Skill for productivity published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

批量向用户发送IM消息。用于通知特定用户群体、筛选表格数据后发送、全员通知等场景。当管理员请求批量通知、群发消息、表格筛选后通知时使用此 Skill。触发词:通知/发送/群发 + 用户/批量/表格。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/development/batch-notification-harryoung-efka/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/batch-notification, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

批量用户通知

支持管理员批量向用户发送 IM 通知消息。

典型场景

  1. 上传表格 + 筛选条件:通知所有福利积分大于0的用户
  2. 上传目标清单:通知指定的用户列表
  3. 全员通知:通知所有人

快速开始

全员通知

mcp__{channel}__send_markdown_message(
    touser="@all",
    content="## 通知标题\n\n通知内容..."
)

筛选后通知

python3 -c "
import pandas as pd
mapping = pd.read_excel('knowledge_base/企业管理/人力资源/user_mapping.xlsx')
business = pd.read_excel('/tmp/data.xlsx')
filtered = business[business['积分'] > 0]
result = pd.merge(filtered, mapping, on='工号', how='inner')
print('|'.join(result['企业微信用户ID'].tolist()))
"

详细流程

完整的5阶段工作流程,见 WORKFLOW.md

pandas 查询模式

常用筛选、JOIN、日期处理模式,见 PANDAS_PATTERNS.md

示例场景

完整的端到端示例,见 EXAMPLES.md

核心原则

  1. 隐私保护:通知为一对一私聊,消息不得包含其他人信息
  2. 必须确认:构建消息后必须等待管理员回复"确认发送"
  3. Python优先:所有表格处理使用 pandas
  4. 结果透明:清晰报告发送结果(成功/失败人数)

可用工具

  • Bash:执行 pandas 脚本
  • mcp__{channel}__send_markdown_message:发送 Markdown 消息
  • mcp__{channel}__send_text_message:发送纯文本消息