Skill này làm gì
Skill này chuyển các yêu cầu WhatsApp đến đúng công cụ: một kho lưu trữ cục bộ chỉ đọc cho lịch sử, và một công cụ thiết bị liên kết cho các tài khoản trực tiếp. Dành cho người muốn tìm lịch sử WhatsApp hoặc quản lý tin nhắn.
Khi nào nên dùng
- ✓Khi bạn muốn tìm hoặc đọc tin nhắn WhatsApp cũ từ máy tính.
- ✓Khi bạn muốn dùng một tài khoản WhatsApp liên kết thứ hai.
- ✓Khi bạn muốn gửi tin nhắn hoặc thay đổi một chat, sau khi bạn yêu cầu rõ ràng.
Liên kết skill
https://github.com/steipete/agent-scripts/blob/main/skills/whatsapp/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm trong lịch sử WhatsApp trên máy tính của tôi tin nhắn nơi chúng ta nói về hợp đồng thuê nhà.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dùng công cụ kho lưu trữ chỉ đọc cho lịch sử và tìm kiếm, và chỉ dùng công cụ tài khoản liên kết cho các hành động trực tiếp. Nó không bao giờ gửi hay thay đổi một chat trừ khi bạn yêu cầu rõ ràng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Use this as the first stop for WhatsApp work. Keep the source boundary sharp:
wacrawl: primary WhatsApp Desktop archive. Read-only, best local history, no network, no sending.wacli: linked-device accounts. Use for alt accounts, live sync, auth, sending, chat/group mutation, and WhatsApp Web protocol questions.
If the user names wacrawl or wacli repo work specifically, read that tool's own skill too.
Routing
- Primary WhatsApp reads/search/history: use
wacrawl. - Read/unread counts from WhatsApp Desktop: use
wacrawl; it has chat-level unread counts, not per-message read state. - Freshness-sensitive primary reads: check
wacrawl status; runwacrawl syncwhen asked or when current data matters. - Alt accounts such as
me,molty, or named stores: usewacli --account NAME. - Sending, reactions, presence, archive/pin/mute/mark-read, group/channel mutations: use
waclionly after explicit user intent. - Comparing coverage between sources: treat
wacrawlas Desktop archive truth for primary history, andwaclias linked-device/live coverage with protocol limits.
Safety
- Never send or mutate WhatsApp state unless explicitly requested.
- Prefer read-only
waclicommands for inspection: pass--read-onlyor setWACLI_READONLY=1. - Do not write into WhatsApp Desktop's app container.
- Do not edit
waclisession.dbdirectly. - Keep named
wacliaccounts isolated; do not merge stores. - Report source freshness, account name, and known gaps when answering from local stores.
Common Commands
Primary Archive
Freshness and status:
wacrawl status
wacrawl doctor
wacrawl sync
Unread triage:
wacrawl chats --limit 20
wacrawl unread --limit 20
wacrawl --json unread --limit 100
Search and slice messages:
wacrawl messages --after 2026-01-01 --limit 50
wacrawl messages --chat JID --asc --limit 100
wacrawl messages --has-media --limit 50
wacrawl --json search "query"
wacrawl search "query" --after 2026-01-01 --from-them
Archive media or backups, only when asked:
wacrawl import --copy-media
wacrawl backup status
wacrawl --sync never backup push
Alt/Live Accounts
Account discovery and read-only inspection:
wacli accounts list --json
wacli --account me auth status --read-only --json
wacli --account me chats list --read-only --json
wacli --account me messages list --read-only --json --limit 50
wacli --account me messages search --read-only --json "query"
Background live sync, only when requested. Prefer tmux for follow-mode:
wacli --account me sync --follow --events
wacli --account me sync --once --events
Media, sending, and live mutations, only when explicitly requested:
wacli --account me media download --chat JID --id MESSAGE_ID
wacli --account me send text --to JID_OR_NAME --message "message"
wacli --account me send file --to JID_OR_NAME --file ./file.jpg --caption "caption"
wacli --account me send text --to JID --reply-to MESSAGE_ID --message "reply"
Comparisons
When comparing wacrawl and wacli, compare both counts and overlap:
- message counts and date spans
- chat counts
- newest message timestamp
- overlap by
msg_id - overlap by
chat_jid + msg_idwhen JIDs are normalized enough - obvious gaps explained by linked-device history limits vs Desktop archive coverage
Repo Pointers
~/Projects/wacrawl: Desktop archive importer/search/backup.~/Projects/wacli: linked-device client/sync/send.- Global skill copies:
~/Projects/agent-scripts/skills/wacrawland~/Projects/agent-scripts/skills/wacli.
Câu hỏi thường gặp
Nó có tự gửi tin nhắn không?
Không. Việc gửi hoặc thay đổi một chat chỉ xảy ra sau khi bạn yêu cầu rõ ràng.
Nguồn nào được dùng cho lịch sử?
Kho lưu trữ chỉ đọc của ứng dụng WhatsApp Desktop.
Nó có dùng được nhiều hơn một tài khoản không?
Có. Có thể dùng các tài khoản liên kết thay thế theo tên.
Chi tiết
Mô tả gốc của tác giả
WhatsApp router: history/search/read/send; wacrawl read, wacli live.
repo: steipete/agent-scripts
Độ phổ biến
- Sao GitHub
- 7.4k
- Vị trí xếp hạng
- #13256
- Giấy phép
- MIT
- Cập nhật
- 30/10/2026
Bình luận
- …
Thêm skill từ kho mã này
beeper
7.4kGiúp agent của bạn tìm trong lịch sử chat Beeper cục bộ để tìm tin nhắn và xác định chat hoặc liên hệ nào mà một gợi ý mơ hồ đang nhắc đến.
cloudflare-registrar
7.4kGiúp agent của bạn kiểm tra giá và tình trạng khả dụng của tên miền trên Cloudflare Registrar, và đăng ký hoặc liệt kê tên miền với bước xác nhận.
codexbar
7.4kGiúp agent của bạn kiểm tra còn bao nhiêu hạn mức sử dụng các dịch vụ AI như Codex, Claude và Kimi, gồm giới hạn, tín dụng và thời gian đặt lại.
create-cli
7.4kGiúp agent của bạn thiết kế lệnh, cờ, văn bản trợ giúp, đầu ra và lỗi của một công cụ dòng lệnh, để nó hoạt động tốt cho cả người lẫn script.
Skill tương tự
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
configure-channel
394kHướng dẫn agent của bạn kết nối một ứng dụng chat như Telegram với OpenClaw, lưu token bot an toàn và kiểm tra tin nhắn có đi qua được không.
discord
394kGiúp agent của bạn đọc, gửi, sửa và thả biểu cảm cho tin nhắn Discord qua OpenClaw, và kiểm tra đúng tin nhắn trước khi thay đổi.