360 Secure SkillHub
360 安全技能中心

Communication Assistant

该 Skill 提供一条命令:先用 Prettier 与 markdownlint 格式化 Markdown 文本,再调用 send-notification.sh,经 Himalaya 发送邮件、经 BlueBubbles 发送 iMessage。需预置 Himalaya 配置文件并设置 BlueBubbles 服务地址与密码环境变量,邮箱与电话至少提供一项。

terrycarter1985
terrycarter1985
热度 49.21
最近更新 2026-05-12 05:26:57
分类:协作依赖:代码执行 / 读写文件 / 第三方 API应用场景:邮件起草 / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add communication-assistant
Metadata
name
communication-assistant
description
Send formatted notifications via email (himalaya) and iMessage (BlueBubbles). Use when you need to broadcast markdown-formatted messages to email recipients and phone numbers in a single step.
tags
["email","imessage","notification","communication","himalaya","bluebubbles"]

Communication Assistant

Send formatted notifications via email and iMessage from a single command.

Prerequisites

  • Himalaya CLI configured (config/himalaya.toml)
  • BlueBubbles server running with env vars set:
    • BLUEBUBBLES_SERVER — server URL
    • BLUEBUBBLES_PASSWORD — API password

Usage

./scripts/send-notification.sh \
  --content <markdown-file> \
  --emails <comma-separated-emails> \
  --phones <comma-separated-phone-numbers>

Arguments

Flag Required Description
--content Yes Path to markdown file to send
--emails No* Comma-separated email recipients
--phones No* Comma-separated phone numbers (iMessage)

* At least one of --emails or --phones must be provided.

Example

# Format first
prettier --write announcement.md --config config/.prettierrc.json
markdownlint announcement.md --config config/.markdownlint.json

# Send to team
./scripts/send-notification.sh \
  --content announcement.md \
  --emails team@company.com \
  --phones +15555550123

Workflow

  1. Draft your message in markdown
  2. Format with Prettier + markdownlint per workspace config
  3. Run send-notification.sh to deliver via email and/or iMessage