Stats
Actions
Tags
From vn-stock-trader
Thu thập tin tức mới từ CafeF/Vietstock/VNExpress, deduplicate với archive, chỉ hiển thị tin chưa từng thấy. Dùng khi user muốn cập nhật tin tức mới nhất mà không bị lặp lại tin cũ.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vn-stock-trader:news-updateThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Chạy 1 lệnh duy nhất:
Chạy 1 lệnh duy nhất:
Bash("cd /home/hieutran/projects/tam/stock-trader && python3 scripts/news_update.py")
Nếu có SYMBOL (lọc tin theo mã):
Bash("cd /home/hieutran/projects/tam/stock-trader && python3 scripts/news_update.py VNM")
data/news_archive.json (tạo mới nếu chưa có)title.lower().strip() với archive + intra-batch dedup[text](url) — Telegram không render được.📰 NEWS UPDATE
🆕 {N} tin mới | 📦 Archive: {total} bài
• Tóm tắt ngắn 1 câu
https://cafef.vn/article/123 (CafeF)
• Tóm tắt ngắn 1 câu
https://vietstock.vn/article/456 (Vietstock)
• Tóm tắt ngắn 1 câu
https://vnexpress.net/article/789 (VNExpress)
[... list TẤT CẢ tin mới, tối đa 15 ...]
... và {N-15} tin khác đã lưu vào archive. ← khi N > 15
✅ Không có tin mới — tất cả đã đọc. ← khi N = 0
data/news_archive.json không tồn tại → tạo mới với [].venv/bin/python3)npx claudepluginhub hieutrtr/vn-stock-trader --plugin vn-stock-traderGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.