chat_logger
对话记录 - 自动记录飞书/钉钉消息(严格触发规则版) ⚠️ 严格触发规则: - 消息 "chatlog汇总" → 只能执行此 Skill,禁止主 Agent 处理 - 消息 "今日简报" → 只能执行此 Skill,禁止主 Agent 处理 - 消息 "我的记录" → 只能执行此 Skill,禁止主 Agent 处理 设计原则: - 精确匹配触发,不经过主 Agent 判断 - 提供清晰的 API 供主 Agent 使用 - 自检功能确保记录正常
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bjmfjoy/chat-loggerWhat 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
- Corporate Knowledge Management: Automatically log internal team communications for historical reference without manual intervention.
- Daily Performance Tracking: Use the "今日简报" command to get a summarized overview of today's interactions, helping team leads maintain situational awareness.
- Audit and Compliance: Maintain a secure, structured record of private direct messages, ensuring that important business decisions made via chat are captured and indexed.
- Personal Productivity: Use the "我的记录" feature to quickly retrieve your own interaction history for project reflection or follow-up tasks.
Example Prompts
- "chatlog汇总"
- "今日简报"
- "我的记录"
Tips & Limitations
- Strict Adherence: Developers must strictly follow the provided
AGENTS.mdguidelines. If the main agent processes queries like "今日简报" instead of delegating, the logs may conflict with the agent's logic. Always return immediately after callinghandle_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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bjmfjoy-chat-logger": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, data-collection
Related Skills
bailian-usage-proxy
阿里百炼大模型平台的多人共享账号用量统计代理服务。用于解决公司共用阿里百炼账号时无法区分个人用量的问题。当用户需要:1) 部署阿里百炼用量统计代理,2) 统计多人Token用量和调用次数,3) 管理大模型API调用配额时激活此技能。
contract_auditor
合同审计 Skill - AI 辅助审查合同条款,识别风险和问题 功能: - 自动提取合同文本(Word 格式) - 审查金额条款(一致性、付款节点、违约金) - 审查交付条款(时间、标准、延期责任) - 审查合规性(签章、日期、关键条款) - 风险提示(不利条款、模糊表述) - 生成审计报告 + 批注文档