dingtalk-integration

dingtalk-integration is a skill for Claude Code, Codex from nongjun/feishu-cursor-claw. It costs 48 tokens per session (491 once invoked), scanned A, original, MIT.

A guide for sending DingTalk group-robot messages through webhooks. DingTalk is a workplace messaging platform, and a webhook is a URL that accepts automated messages.

In plain words
What is it for?
It is for sending text or Markdown daily reports, submission-failure alerts, stuck-task alerts, and daily statistics through configurable DingTalk webhooks.
Why use it?
It removes the need to build notification delivery from scratch for daily reports and alerts, while keeping webhook credentials out of source code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for sending text or Markdown daily reports, submission-failure alerts, stuck-task alerts, and daily statistics through configurable DingTalk webhooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nongjun/feishu-cursor-claw/dingtalk-integration
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 nongjun/feishu-cursor-claw --skill dingtalk-integration
Clone the repo
git clone --depth 1 https://github.com/nongjun/feishu-cursor-claw

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 dingtalk-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/dingtalk-integration/github.svg)](https://agentmods.dev/skills/nongjun/feishu-cursor-claw/dingtalk-integration)
Your own site
<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/dingtalk-integration"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/dingtalk-integration/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 dingtalk-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/nongjun/feishu-cursor-claw/dingtalk-integration"><img src="https://agentmods.dev/badge/skills/nongjun/feishu-cursor-claw/dingtalk-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 491 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.
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.00048 $0.00491
Opus 5 $0.00024 $0.00246
Sonnet 5 $0.00010 $0.00098
Haiku 4.5 $0.00005 $0.00049

Measured 9d ago against content hash 8c9da0eda54c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

dingtalk-integration 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 9d ago.

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.

参考代码/njcursor/skills/dingtalk-integration/SKILL.md · 53 lines

What it actually says

钉钉 Webhook 集成

当前能力范围

Webhook 群机器人,不涉及 OAuth/JSAPI/免登录。

能力 说明
日报播报 每日定时发送业务统计(多巴胺配色 Markdown)
异常告警 任务卡住、提交失败等实时告警
消息格式 text / markdown

SOP:新增钉钉通知

  1. 在钉钉群创建自定义机器人,获取 Webhook URL
  2. 在模块 config.py 中添加 Webhook 环境变量
  3. 参考 DingtalkService 实现消息发送
  4. 调用 send_webhook_message() 发送消息

关键方法(DingtalkService)

方法 用途
send_webhook_message() 发送群机器人消息(text/markdown)
send_daily_report() 完整日报播报流程
send_submit_failure_alert() 任务提交失败告警
send_stuck_task_alert() 任务卡住告警
get_daily_statistics() 获取当日统计数据

重点关注

  • Webhook URL 放环境变量,禁止硬编码
  • 告警与日报用独立 Webhook(可配置)
  • Markdown 消息有字数限制(约 20000 字节)
  • 机器人安全设置建议用「自定义关键词」模式

环境变量

  • DINGTALK_MOMENT_DAILY_WEBHOOK — 日报 Webhook
  • DINGTALK_ALERT_WEBHOOK — 告警 Webhook(可选,默认复用日报)
  • DINGTALK_MOMENT_DAILY_ENABLED — 是否启用日报
  • DINGTALK_PADDING_WEBHOOK — 智能铺垫提醒 Webhook

参考文件

  • 朋友圈/后端服务/app/services/dingtalk_service.py
  • 联系人/后端服务/app/services/padding_reminder_service.py
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. 9d ago First seen · 53 lines · 48 tokens per session scan A 8c9da0eda54c

Subscribe to this mod's changes

dingtalk-integration is a skill published in the GitHub repository nongjun/feishu-cursor-claw (14 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 491 once invoked, about $0.0002 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.