chat-quality-agent

by tanviet12Verified

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

292
Stars
275
Forks
Go
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

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

Getting Started

Guides for using skills like chat-quality-agent.

Security Report

Verified

Last scanned: —

{
  "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

Frequently Asked Questions

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.

Comments (0)

No comments yet. Be the first to share your thoughts!

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 Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

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 Agentsai-agentsanthropicclaude-code
View details

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 Agentsclaude-codeai-tools
View details

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 Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this 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 Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

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 Serversapisai-tools
View details

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 Agentsai-agentsanthropicclaude-code
View details

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 Agentsclaude-codeai-tools
View details