sg-md-writing thành skill bảo trì tri thức dự án cho AI:
- Gộp hướng dẫn viết skill/subagent/hook (từ writing-agent-context) vào.
- Bảng "đặt dòng ở đâu" theo chi phí nạp: root nạp mọi phiên; rule có `paths:`,
CLAUDE.md của module, skill, docs chỉ nạp khi cần.
- Chế độ sync: tự sửa đúng dòng .md bị sai trong cùng thay đổi, bump Last synced,
chỉ hỏi ý định code không trả lời được (bỏ cổng xác nhận từng file, phỏng vấn
từng câu, kiểm tra model yếu mỗi lần).
- Bỏ khẳng định sai "subagent không tự nạp CLAUDE.md" và lối viết in hoa.
21,6 KB → 9,1 KB.
sg-prompt-sharpening: tự lấp chỗ thiếu từ dự án, hiện bản prompt đã làm rõ
(mục tiêu, ở đâu, xong khi, giả định) rồi làm; chỉ hỏi một câu (có đề xuất)
khi các cách hiểu dẫn tới việc khác nhau; không kích hoạt với yêu cầu đã đủ rõ.
Eval (claude plugin eval, 2 lượt/case, có skill vs không):
- sharpening 3/3 (trước 2/3), Δ +0.67
- md-writing 5/5 (trước 1/5), Δ +0.40
README chỉ nói Node >= 22.5, nên máy cài xong chỉ phát hiện thiếu tmux lúc
bấm Start Run và không có gì giải thích vì sao. Thêm bảng yêu cầu
(Node/git/tmux), lệnh cài theo OS, ghi chú Windows phải dùng WSL2, và cách
tự kiểm tra bằng /agenthub-doctor (dòng `tmux` báo WARN khi thiếu).
Reverses the ccam removal in ee8748c: the team wants one marketplace to install from, so the dashboard belongs here.
Two things are fixed while restoring it. The entry is named `agenthub`, matching the `name` in the AgentHub repo's own .claude-plugin/plugin.json (the old entry called itself `ccam`, which matched nothing). And its url points at Smartgift-AI/AgentHub.git directly rather than the retired Claude-Code-Monitor.git — that old URL still works, but only through a Gitea rename redirect that stops the day someone turns it off.
README documents the one real hazard: the AgentHub repo also publishes its own marketplace, and installing the dashboard from both runs two hook-ingestion sets in parallel, double-counting every event's tokens and cost. It also states plainly that the 10 focused sub-plugins are not here — only in AgentHub's own marketplace — and gives the ccam@sg -> agenthub@sg migration commands.
The entry pointed at Smartgift-AI/Claude-Code-Monitor, a repo name that has since been renamed to AgentHub, and it duplicated an install path AgentHub already publishes from its own marketplace. Two routes to the same plugin means a double install runs two hook-ingestion sets in parallel.
README now points at the AgentHub marketplace instead, and documents the migration: after the next 'marketplace update sg' an existing ccam@sg shows '✘ failed to load' and the dashboard stops receiving events until the user switches over.
Sources from the Claude-Code-Monitor repo (ref: main) via a url plugin
source — the dashboard's hooks/server/CLI/MCP, installable independently
of sg-all/sg-dev/sg-common.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>