← 返回 Skills 市场
comphone

Group Logger

作者 comphone · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install group-logger
功能描述
บันทึกข้อความกลุ่ม LINE ที่มีคีย์เวิร์ดเกี่ยวกับงานลง CSV อัตโนมัติและสรุปข้อมูลเมื่อต้องการผ่าน @mention
使用说明 (SKILL.md)

group_logger

บันทึกข้อความจากกลุ่ม LINE อัตโนมัติ และสรุปข้อมูลตามลูกค้าหรืองาน

Description

Skill นี้ทำงาน 2 โหมด:

  1. โหมดบันทึก — รับทุกข้อความในกลุ่ม บันทึกลง CSV โดยไม่ตอบกลับ
  2. โหมดสรุป — เมื่อถูก @mention ให้ดึงข้อมูลจาก CSV มาสรุป

Triggers

โหมดบันทึก (ไม่ต้อง @mention):

  • ทุกข้อความที่มีคีย์เวิร์ด: JOB, งาน, ลูกค้า, ซ่อม, ติดตั้ง, ส่ง, รับ, เสร็จ, pending, นัด

โหมดสรุป (ต้อง @mention):

  • "สรุปงาน [ชื่อลูกค้า]"
  • "ดูงาน JOB-XXX"
  • "งานค้างทั้งหมด"
  • "สรุปวันนี้"
  • "รายงานประจำวัน"

File Paths

  • Log file: C:\Users\Server.openclaw\workspace\group_log.csv
  • Backup: C:\Users\Server.openclaw\workspace\group_log_backup.csv

CSV Format

timestamp,sender,group_id,message,keywords,job_id,customer_name,status

Implementation

โหมดบันทึก

  1. รับข้อความจากกลุ่ม
  2. ตรวจจับคีย์เวิร์ดสำคัญ
  3. ดึง job_id (รูปแบบ JOB-XXX) ถ้ามี
  4. ดึงชื่อลูกค้าจากข้อความ
  5. บันทึกลง group_log.csv
  6. ไม่ตอบกลับ (silent logging)

โหมดสรุป

  1. อ่านไฟล์ group_log.csv
  2. กรองข้อมูลตามชื่อลูกค้าหรือ JOB ที่ระบุ
  3. จัดกลุ่มข้อมูลตามลูกค้า
  4. สรุปเป็นรายงานภาษาไทย

Examples

บันทึกอัตโนมัติ

ข้อความในกลุ่ม: "ช่างโต้ไปหน้างาน JOB-029 บ้านเจนวิทย์แล้วครับ" บันทึก: timestamp, ช่างโต้, group_id, ข้อความ, keywords=[JOB,งาน], JOB-029, เจนวิทย์, in-progress

สรุปเมื่อถูก @mention

User: "@Comphone สรุปงานเจนวิทย์" Action: อ่าน CSV กรองชื่อ เจนวิทย์ สรุปทุกรายการ

ผลลัพธ์: 📋 สรุปงาน: เจนวิทย์โฮม

  • JOB-029 | นัด 9:30 น. 14/3/69
  • ช่างโต้ถึงหน้างานแล้ว 10:15 น.
  • สถานะ: In Progress

Keywords ที่ตรวจจับ

งาน, JOB, ลูกค้า, ซ่อม, ติดตั้ง, ส่ง, รับ, เสร็จ, pending, นัด, เช็คอิน, ถึงแล้ว, เดินทาง, อะไหล่, ค่าแรง, เก็บเงิน, Invoice, กล้อง, WiFi, ไฟ, สวิทช์, เราเตอร์, NVR, DVR

Notes

  • บันทึกทุกข้อความที่มี keyword เท่านั้น ข้อความทั่วไปไม่บันทึก
  • ไม่ตอบกลับเมื่อบันทึก เพื่อประหยัด token
  • Backup ไฟล์ทุกวันอัตโนมัติ
  • รองรับหลายกลุ่มในไฟล์เดียวกัน โดยแยกด้วย group_id
安全使用建议
Before installing, ask the skill author to provide: (1) explicit integration details — how messages are delivered (LINE webhook, channel token), and the exact env vars required (e.g., LINE_CHANNEL_SECRET/TOKEN) so you can audit credential use; (2) an install or deployment spec if any code will run to receive webhooks; (3) confirmation the hardcoded Windows paths are intentional (or make paths configurable) and that the agent environment has appropriate permissions; (4) a data retention/encryption plan for the CSV and backups, and access controls; (5) whether group members consent to logging. If you proceed, test in a sandboxed agent, restrict the skill's invocation to only the necessary groups, store logs in an encrypted/secure location, rotate and limit retention, and require explicit opt-in for sensitive groups. The current SKILL.md under-declares required credentials and operational details, so treat it as incomplete and do not deploy it to production until those gaps are resolved.
功能分析
Type: OpenClaw Skill Name: group-logger Version: 1.0.0 The skill is a productivity tool designed to log job-related messages from LINE groups into a local CSV file (group_log.csv) and provide summaries on demand. It features a 'silent logging' mode triggered by specific keywords (e.g., JOB, customer, repair) to save tokens, which is clearly documented in SKILL.md. There is no evidence of data exfiltration, unauthorized remote execution, or malicious prompt injection intended to subvert the agent's behavior.
能力评估
Purpose & Capability
The skill claims to capture every LINE group message matching keywords, but the package declares no required environment variables, tokens, or hooks for connecting to LINE (webhook URL, CHANNEL_SECRET, CHANNEL_TOKEN, etc.). A legitimate implementation would need explicit credentials or a delivery mechanism; that is missing. The SKILL.md also hardcodes a Windows path (C:\Users\Server\.openclaw\workspace\...) which assumes the agent runs on Windows and has write access there.
Instruction Scope
Runtime instructions ask the agent to 'รับข้อความจากกลุ่ม' (receive messages) and to silently log matching messages to CSV, plus perform daily backups — but they do not describe who delivers messages to the skill, what integration is used, nor any consent/retention policy. The instructions direct read/write of specific local file paths and automatic backups, which give the skill persistent access to possibly sensitive chat content. There is no mention of limiting data retained, encryption, or access controls.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, so nothing will be written to disk by an installer. That lowers supply-chain risk. The regex scanner had no files to analyze.
Credentials
No environment variables or credentials are declared even though the feature requires continuous access to group messages (which in practice needs LINE API/webhook credentials or an agent-side forwarder). The skill therefore under-declares required secrets and access. Also it requests writing to local workspace files (logs and backups) without justifying storage/retention/encryption choices — raising privacy and exfiltration concerns.
Persistence & Privilege
The skill is not marked always:true (good) and does not require special platform privileges, but it writes persistent CSV and backup files into the agent workspace and relies on autonomous invocation behavior (logging mode triggers without an @mention). Autonomous invocation plus silent logging increases privacy risk; consider limiting invocation scope or requiring explicit forwarding of messages.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install group-logger
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /group-logger 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of group-logger skill: - Automatically logs LINE group messages containing specific keywords to a CSV file. - Supports two modes: silent logging and summary on @mention. - Summaries are generated per customer or job upon request. - Daily automatic CSV backup included. - Supports multiple groups; logs separated by group_id. - No replies in logging mode to minimize message noise.
元数据
Slug group-logger
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Group Logger 是什么?

บันทึกข้อความกลุ่ม LINE ที่มีคีย์เวิร์ดเกี่ยวกับงานลง CSV อัตโนมัติและสรุปข้อมูลเมื่อต้องการผ่าน @mention. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 Group Logger?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install group-logger」即可一键安装,无需额外配置。

Group Logger 是免费的吗?

是的,Group Logger 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Group Logger 支持哪些平台?

Group Logger 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Group Logger?

由 comphone(@comphone)开发并维护,当前版本 v1.0.0。

💬 留言讨论