DingTalk Group Saver for Openclaw

A background utility that automatically archives DingTalk group metadata and IDs to persistent storage whenever the agent is @mentioned.

jiangzhiyu
v1.0.0
Mar 2, 2026
1
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dingtalk-group-saver

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dingtalk-group-saver using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is DingTalk Group Saver?

DingTalk Group Saver is a specialized automation utility designed to bridge the gap between real-time chat interactions and long-term agent memory. Within the ecosystem of Openclaw Skills, this tool monitors incoming DingTalk messages and triggers a dual-write persistence routine whenever the agent is @mentioned. It ensures that critical metadata, such as unique conversation IDs and group names, is never lost between sessions.

By maintaining both a structured JSON database and a human-readable Markdown log, the skill allows agents to "remember" which groups they belong to and provides the necessary IDs for future outbound communications. This makes it an essential backbone for any developer looking to build persistent, context-aware bots on the DingTalk platform.

DingTalk Group Saver Use Cases

  • Automatically logging new group details when an agent is first introduced to a chat.
  • Retrieving specific conversation IDs for automated reporting or push notification workflows.
  • Maintaining an organized registry of active DingTalk channels for administrative oversight.
  • Ensuring group context is shared across different agent sessions via the global memory file.

How DingTalk Group Saver Works

  1. The skill listens for DingTalk group messages where the agent is explicitly @mentioned.
  2. It extracts the unique conversationId and the group display name from the incoming metadata.
  3. The skill performs a dual-save operation, first updating a structured JSON file for programmatic access.
  4. It then synchronizes the data with the global MEMORY.md file, ensuring the information is available to all Openclaw Skills.
  5. Tracking metrics such as mentionCount and lastActiveAt are updated to provide analytics on group engagement.

DingTalk Group Saver Setup

This skill is designed to work out of the box within your agent workspace. Ensure the files are placed in the following directory structure:

# Standard directory structure
~/.openclaw/workspace/skills/dingtalk-group-saver/index.js
~/.openclaw/workspace/skills/dingtalk-group-saver/SKILL.md

No manual execution is required. The skill will trigger automatically when the OpenClaw environment is active and receives a DingTalk mention.

DingTalk Group Saver Data Schema & Taxonomy

The skill organizes data into two primary formats to balance machine readability and human accessibility:

JSON Metadata (dingtalk-groups.json)

Field Description
conversationId The unique internal ID for the DingTalk group.
groupName The name of the group as reported by the API.
firstSeenAt Timestamp of the initial interaction.
lastActiveAt Timestamp of the most recent @mention.
mentionCount Total frequency of interactions within the group.

Markdown Persistence (MEMORY.md)

Updates the "DingTalk Group List" section with a formatted table for cross-session availability.

DingTalk Group Saver Advanced Features

  • Dual-Write Persistence: Saves to both JSON for data processing and Markdown for human editing.
  • Intelligent Deduplication: Recognizes existing groups and updates activity timestamps rather than creating duplicate entries.
  • Cross-Session Context: By writing to the global MEMORY.md, it ensures that every new session started by Openclaw Skills has immediate access to known group IDs.
  • Engagement Analytics: Tracks mention counts to help identify the most active communication channels.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*