Community程式設計與開發github.com

wacli

透過 wacli 傳送第三方 WhatsApp 訊息,或同步/搜尋 WhatsApp 歷史記錄,不適用於一般主動對話。

wacli 是什麼?

wacli 是一個專為開發者與 AI 代理設計的 WhatsApp CLI 工具,主要用於處理非一般對話的情境。當使用者明確要求聯繫其他第三方人士(非正在與代理人對話的人)或需要同步/搜尋 WhatsApp 聊天歷史時,才應啟用此工具。若使用者正在透過 WhatsApp 與代理人直接對話,則不應使用 wacli,因為 OpenClaw 會自動處理這類使用者對話。支援的平臺包括 Claude Code、Cursor、Codex 等 AI 代理環境。wacli 提供身分驗證(QR 掃碼登入)、連續同步、查詢聊天與訊息、歷史回填以及傳送文字、群組或檔案訊息等功能。使用前需確認收件人與訊息內容,避免誤傳。此工具不適用於例行使用者對話,而是專為跨對象通訊與歷史資料管理而設計。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/wacli

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

wacli 是做什麼的?

僅在使用者明確要求您透過 WhatsApp 聯絡其他人,或要求同步/搜尋 WhatsApp 歷史記錄時,才使用 wacli。 請勿 將 wacli 用於一般使用者對話;OpenClaw 會自動處理 WhatsApp 上的對話路由。 如果使用者正在透過 WhatsApp 與您聊天,除非他們要求您聯絡第三方,否則不應使用此工具。

安全性

  • 需要明確的收件人 + 訊息文字。
  • 傳送前確認收件人 + 訊息。
  • 如果任何資訊不明確,請提出澄清問題。

驗證 + 同步

  • wacli auth(QR 登入 + 初始同步)
  • wacli sync --follow(持續同步)
  • wacli doctor

尋找聊天對話 + 訊息

  • wacli chats list --limit 20 --query "名稱或號碼"
  • wacli messages search "查詢" --limit 20 --chat <jid>
  • wacli messages search "發票" --after 2025-01-01 --before 2025-12-31

歷史回填

  • wacli history backfill --chat <jid> --requests 2 --count 50

傳送

  • 文字:wacli send text --to "+14155551212" --message "哈囉!下午3點有空嗎?"
  • 群組:wacli send text --to "[email protected]" --message "我會晚5分鐘到。"
  • 檔案:wacli send file --to "+14155551212" --file /path/agenda.pdf --caption "議程"

備註

  • 儲存目錄:~/.wacli(可使用 --store 覆蓋)。
  • 解析時請使用 --json 以取得機器可讀的輸出。
  • 回填需要您的電話在線上;結果為盡力而為。
  • 一般使用者對話不需要 WhatsApp CLI;它僅用於與其他人傳送訊息。
  • JID:直接聊天顯示為 <number>@s.whatsapp.net;群組顯示為 <id>@g.us(可使用 wacli chats list 查詢)。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相關技能