ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified communication Safety 4/5

chat_logger

对话记录 - 自动记录飞书/钉钉消息(严格触发规则版) ⚠️ 严格触发规则: - 消息 "chatlog汇总" → 只能执行此 Skill,禁止主 Agent 处理 - 消息 "今日简报" → 只能执行此 Skill,禁止主 Agent 处理 - 消息 "我的记录" → 只能执行此 Skill,禁止主 Agent 处理 设计原则: - 精确匹配触发,不经过主 Agent 判断 - 提供清晰的 API 供主 Agent 使用 - 自检功能确保记录正常

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bjmfjoy/chat-logger
Or

What This Skill Does

Chat Logger is a specialized OpenClaw agent skill designed for robust, high-reliability message tracking across communication platforms like Feishu and DingTalk. It functions as a dual-layer logging system that combines automated message hooking with mandatory explicit calling to ensure zero data loss. Unlike generic logging tools, this skill implements a strict command-trigger architecture, preventing the main OpenClaw agent from attempting to process specific analytical queries (like "今日简报") by mandating an immediate handover to the chat_logger engine. This decoupling ensures that data retrieval remains consistent, clean, and isolated from the agent's generative reasoning loops.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/bjmfjoy/chat-logger Ensure your agent environment is configured with write permissions for the local file system, as the skill periodically writes chat logs to local storage. After installation, verify the setup by running the built-in health check function, which validates the file structure and write access.

Use Cases

  1. Corporate Knowledge Management: Automatically log internal team communications for historical reference without manual intervention.
  2. Daily Performance Tracking: Use the "今日简报" command to get a summarized overview of today's interactions, helping team leads maintain situational awareness.
  3. Audit and Compliance: Maintain a secure, structured record of private direct messages, ensuring that important business decisions made via chat are captured and indexed.
  4. Personal Productivity: Use the "我的记录" feature to quickly retrieve your own interaction history for project reflection or follow-up tasks.

Example Prompts

  1. "chatlog汇总"
  2. "今日简报"
  3. "我的记录"

Tips & Limitations

  • Strict Adherence: Developers must strictly follow the provided AGENTS.md guidelines. If the main agent processes queries like "今日简报" instead of delegating, the logs may conflict with the agent's logic. Always return immediately after calling handle_chat_query().
  • File System: Ensure the host server has adequate disk space for persistent logging. The skill creates multiple files based on the channel and user context.
  • Security: Because this skill performs file-read and file-write operations, ensure that your OpenClaw environment is running in a secure, restricted directory to avoid unauthorized log access.

Metadata

Author@bjmfjoy
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bjmfjoy-chat-logger": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#chat-logger#automation#messaging#productivity#data-tracking
Safety Score: 4/5

Flags: file-write, file-read, data-collection