smart-messenger

smart-messenger is a skill for Claude Code, Codex from xyva-yuangui/XyvaClaw. It costs 63 tokens per session (1,474 once invoked), scanned A, original, MIT.

A tool for sending messages in Feishu, a workplace chat and collaboration app, including text, images, interactive cards, and scheduled messages. It also supports reusable message templates.

In plain words
What is it for?
Use it to send text, screenshots, cards, scheduled notifications, or template-based reports to Feishu chats.
Why use it?
It adds a confirmation step before sending and avoids manually preparing repeated reports or different message formats.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to send text, screenshots, cards, scheduled notifications, or template-based reports to Feishu chats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyva-yuangui/xyvaclaw/smart-messenger
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xyva-yuangui/XyvaClaw --skill smart-messenger
Clone the repo
git clone --depth 1 https://github.com/xyva-yuangui/XyvaClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smart-messenger

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/smart-messenger/github.svg)](https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/smart-messenger)
Your own site
<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/smart-messenger"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/smart-messenger/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for smart-messenger

Your own site · 80×15
<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/smart-messenger"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/smart-messenger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,474 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01474
Opus 5 $0.00032 $0.00737
Sonnet 5 $0.00013 $0.00295
Haiku 4.5 $0.00006 $0.00147

Measured 12d ago against content hash 69a69928bcbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

smart-messenger scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check.py, scripts/send_message.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

config-base/workspace/skills/smart-messenger/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smart Messenger

飞书消息助手。触发后必须先询问用户确认,再发送消息。

触发场景 询问确认内容
文本消息 确认接收人/群、消息内容、发送时间
图片消息 确认图片来源、接收人、是否添加说明
卡片报告 确认报告类型、数据源、接收人
定时消息 确认发送时间、重复频率、消息内容

执行流程: 触发 → 询问用户 → 用户确认 → 发送消息 → 记录发送状态

Full docs: read SKILL-REFERENCE.md

Send rich, multi-format messages to Feishu chats with templates and scheduling.

Capabilities

  1. Text messages — plain text, markdown-formatted
  2. Image messages — send local images or screenshots to chats
  3. Interactive cards — structured cards with titles, content, buttons
  4. Scheduled messages — time-delayed or cron-based message delivery
  5. Message templates — reusable templates for recurring reports

1. Send Text Message

The agent can send messages directly via Feishu channel tools. For formatted messages:

# Send via openclaw CLI (if available)
# Or use the feishu plugin's built-in message sending capability

# Template-based sending
python3 {baseDir}/scripts/send_message.py \
  --chat "__GROUP_ID__" \
  --template "daily-report" \
  --vars '{"date": "2026-03-02", "summary": "完成5项任务"}'

2. Send Image Message

Combine with screenshot-sender:

# Capture and send screenshot
node ~/.openclaw/workspace/skills/screenshot-sender/scripts/capture-and-send.mjs \
  --chat "__GROUP_ID__" \
  --caption "当前屏幕截图"

# Send existing image
node ~/.openclaw/workspace/skills/screenshot-sender/scripts/capture-and-send.mjs \
  --file /path/to/image.png \
  --chat "__GROUP_ID__"

3. Interactive Card Format

For sending structured information, use Feishu interactive cards:

{
  "msg_type": "interactive",
  "card": {
    "header": {
      "title": { "tag": "plain_text", "content": "📊 每日选股报告" },
      "template": "blue"
    },
    "elements": [
      {
        "tag": "markdown",
        "content": "**日期**: 2026-03-02\n**推荐股票**: 10只\n**最高评分**: 85.3"
      },
      {
        "tag": "hr"
      },
      {
        "tag": "markdown",
        "content": "| 排名 | 股票 | 评分 |\n|---|---|---|\n| 1 | 000001 | 85.3 |\n| 2 | 600036 | 82.1 |"
      }
    ]
  }
}

Read the full file on GitHub · 183 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 183 lines · 63 tokens per session scan A 69a69928bcbc

Subscribe to this mod's changes

smart-messenger is a skill published in the GitHub repository xyva-yuangui/XyvaClaw (21 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 1,474 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.