diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 28fa485..e55dd3d 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -24,6 +24,16 @@ "source": "./plugins/common", "description": "All staff — sg-prompt-sharpening skill for disambiguating requests before acting.", "category": "productivity" + }, + { + "name": "ccam", + "source": { + "source": "url", + "url": "https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor.git", + "ref": "main" + }, + "description": "Claude Code Agent Monitor — the local-first dashboard as a plugin. Installs the event hooks, boots the dashboard server, puts the ccam CLI on PATH, and connects the MCP tools. No checkout, no npm run setup.", + "category": "monitoring" } ] } \ No newline at end of file diff --git a/README.md b/README.md index de9d81d..c15c288 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ Marketplace nội bộ chứa các skill Claude Code của Smartgift. Đăng ký | `sg-all` | **Mặc định — ai muốn tất cả** | `sg-md-writing` + `sg-prompt-sharpening` | Gói cả hai skill. Cài một cái là có tất cả. | | `sg-dev` | Team dev | `sg-md-writing` | Soạn & bảo trì file `CLAUDE.md` / `AGENTS.md` ràng buộc hành vi AI: routing map, reuse inventory, an toàn với model yếu, tự đề xuất cập nhật khi code đổi (hỏi confirm trước khi ghi). | | `sg-common` | Chung | `sg-prompt-sharpening` | Trước khi hành động với yêu cầu ngắn/mơ hồ, mở rộng thành các cách hiểu rõ ràng, nêu giả định, định nghĩa tiêu chí "xong". | +| `ccam` | Ai muốn theo dõi session Claude Code | hooks + server + CLI + MCP | Claude Code Agent Monitor — dashboard local-first. Source lấy trực tiếp từ repo [Claude-Code-Monitor](https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor) (nhánh `main`), không phải code trong repo này. | -**Khuyến nghị: cài `sg-all`.** Đã cài `sg-all` thì **KHÔNG cần** cài thêm `sg-dev` hay `sg-common` — cài trùng sẽ nạp lặp skill. Chỉ cài `sg-dev`/`sg-common` riêng nếu có lý do muốn giới hạn phạm vi. +**Khuyến nghị: cài `sg-all`.** Đã cài `sg-all` thì **KHÔNG cần** cài thêm `sg-dev` hay `sg-common` — cài trùng sẽ nạp lặp skill. Chỉ cài `sg-dev`/`sg-common` riêng nếu có lý do muốn giới hạn phạm vi. `ccam` độc lập, cài kèm `sg-all`/`sg-dev`/`sg-common` không xung đột. ## Cài đặt @@ -29,4 +30,12 @@ claude plugin install sg-dev@sg # chỉ sg-md-writing claude plugin install sg-common@sg # chỉ sg-prompt-sharpening ``` -Xem: `claude plugin list`. Gỡ: `claude plugin uninstall sg-all@sg` (hoặc `sg-dev@sg` / `sg-common@sg` tùy plugin đã cài). +Cài dashboard (độc lập với các plugin trên): + +```bash +claude plugin install ccam@sg +``` + +Cần Node **>= 22.5** trên máy cài (server dùng `node:sqlite`, không có `better-sqlite3` native). Chi tiết bootstrap, các lệnh `/ccam-doctor` `/ccam-update` `/ccam-open`, và cách gỡ sạch: xem [docs/PLUGINS.md của Claude-Code-Monitor](https://git.smartgift.io.vn/Smartgift-AI/Claude-Code-Monitor/src/branch/main/docs/PLUGINS.md). + +Xem: `claude plugin list`. Gỡ: `claude plugin uninstall sg-all@sg` (hoặc `sg-dev@sg` / `sg-common@sg` / `ccam@sg` tùy plugin đã cài).