chat-quality-agent

作者 tanviet12已验证

Chat Quality Agent - Agent phân tích chất lượng CSKH bằng AI

292
Stars
275
Forks
Go
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/tanviet12/chat-quality-agent

快速入门

使用 chat-quality-agent 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Chat Quality Agent (CQA)

Docker Hub License: MIT

Hệ thống phân tích chất lượng chăm sóc khách hàng bằng AI. Tự động đồng bộ tin nhắn từ Zalo OA, Facebook Messenger, dùng AI (Claude/Gemini) đánh giá chất lượng CSKH và gửi cảnh báo qua Telegram/Email.

📖 Hướng dẫn sử dụng chi tiết: https://tanviet12.github.io/chat-quality-agent/

Dashboard

Tính năng

  • Đồng bộ tin nhắn từ Zalo OA và Facebook Messenger
  • Đánh giá chất lượng CSKH bằng AI (Claude hoặc Gemini) — Đạt/Không đạt, điểm 0-100, nhận xét chi tiết
  • Phân loại chat theo chủ đề tùy chỉnh (khiếu nại, góp ý, hỏi giá...)
  • Cảnh báo tự động qua Telegram và Email
  • Batch AI mode — gom nhiều cuộc chat/lần gọi AI, tiết kiệm chi phí
  • Dashboard với biểu đồ, thống kê, cảnh báo gần đây
  • Multi-tenant — nhiều công ty trên 1 hệ thống, phân quyền Owner > Admin > Member
  • Tích hợp MCP cho Claude Web/Desktop
  • SSL tự động qua Let's Encrypt (tùy chọn)

Cài đặt nhanh

Cách 1: Cài tự động (khuyến nghị)

curl -s https://raw.githubusercontent.com/tanviet12/chat-quality-agent/main/install.sh | sudo bash

Script tự cài Docker, tạo secrets ngẫu nhiên, pull images và khởi chạy.

Cách 2: Build từ source

git clone https://github.com/tanviet12/chat-quality-agent.git
cd chat-quality-agent
cp .env.example .env
# Sửa .env
docker compose up -d --build

Truy cập: http://your-server-ip (hoặc http://localhost nếu cài trên máy local) — Lần đầu sẽ hiện trang Setup để tạo tài khoản admin.

Bật SSL (tùy chọn)

Thêm vào file .env:

LEGO_DOMAIN=cqa.yourdomain.com
LEGO_EMAIL=admin@yourdomain.com

Trỏ DNS A record về IP server, sau đó restart:

docker compose restart nginx

SSL sẽ tự động tạo và gia hạn qua Let's Encrypt.

Công nghệ

Thành phầnCông nghệ
BackendGo 1.25+ / Gin
FrontendVue 3 + Vuetify 4 + Vite
DatabaseMySQL 8.0
AIClaude (Anthropic) / Gemini (Google)
Reverse ProxyNginx + Let's Encrypt (Lego)
DeployDocker Compose

Kiến trúc

                    ┌──────────────┐
  Internet ────────>│    Nginx     │ Port 80/443
                    │  (SSL + RP)  │
                    └──────┬───────┘
                           │
                    ┌──────┴───────┐
                    │   CQA App    │ Port 8080 (internal)
                    │ Go + Vue SPA │
                    └──────┬───────┘
                           │
                    ┌──────┴───────┐
                    │   MySQL 8.0  │ Port 3306 (internal)
                    └──────────────┘

Cấu trúc dự án

chat-quality-agent/
├── backend/            # Go API server
│   ├── ai/             # AI providers (Claude, Gemini)
│   ├── api/            # REST API handlers + middleware
│   ├── channels/       # Zalo OA, Facebook adapters
│   ├── db/             # GORM models + MySQL
│   ├── engine/         # Analyzer + Sync + Scheduler
│   ├── mcp/            # MCP server cho Claude
│   └── notifications/  # Telegram + Email
├── frontend/           # Vue 3 SPA
├── docker/             # Nginx + SSL configs
├── docs/               # Tài liệu hướng dẫn (VitePress)
├── docker-compose.yml      # Build từ source
├── docker-compose.hub.yml  # Dùng image Docker Hub
└── Dockerfile

Hướng dẫn sử dụng

  1. Kết nối kênh chat: Cài đặt > Kênh chat > Kết nối Facebook/Zalo
  2. Đồng bộ tin nhắn: Bấm "Đồng bộ ngay" hoặc chờ tự động
  3. Cấu hình AI: Cài đặt > AI > Chọn Claude/Gemini + nhập API key
  4. Tạo công việc: Công việc > Tạo mới > Wizard 6 bước
  5. Chạy phân tích: Chi tiết công việc > Chạy thử hoặc Chạy ngay
  6. Xem kết quả: Chi tiết công việc > Kết quả đánh giá

Biến môi trường

BiếnMô tảBắt buộc
DB_PASSWORDMật khẩu MySQL
MYSQL_ROOT_PASSWORDMật khẩu root MySQL
JWT_SECRETSecret cho JWT tokens (min 32 ký tự)
ENCRYPTION_KEYKey 32 bytes cho AES-256-GCM
LEGO_DOMAINDomain cho SSL tự độngKhông
LEGO_EMAILEmail cho Let's EncryptKhông
APP_URLURL công khai (cho links notification)Không

Xem đầy đủ trong .env.example.

Screenshots

SetupDashboard
Trang Setup lần đầuDashboard
Kết nối kênhTạo công việc
Kết nối kênh chatTạo công việc
Kết quả QCKết quả phân loại
Kết quả đánh giá QCKết quả phân loại
Chi tiết tin nhắnChi tiết kênh
Chi tiết tin nhắn + đánh giáChi tiết kênh chat

Changelog

Xem lịch sử thay đổi tại: CHANGELOG.md

Tài liệu

Xem tài liệu chi tiết tại: https://tanviet12.github.io/chat-quality-agent/

License

MIT - SePay

常见问题

What is chat-quality-agent?

chat-quality-agent is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by tanviet12. Chat Quality Agent - Agent phân tích chất lượng CSKH bằng AI. It has 292 GitHub stars.

Is chat-quality-agent safe to use?

Yes. chat-quality-agent passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install chat-quality-agent?

Clone the repository with "git clone https://github.com/tanviet12/chat-quality-agent" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is chat-quality-agent written in?

chat-quality-agent is primarily written in Go. It is open-source under tanviet12 on GitHub, so you can review or fork the full source.

Are there alternatives to chat-quality-agent?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh chat-quality-agent against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情