Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ops-comms

БесплатноБез исполняемых скриптовНе проверен

Send and read messages across all channels. Routes based on arguments — whatsapp, email, slack, telegram, discord, notion, or natural language like "send…

davepoonот davepoon★ 3 815 звёзд на GitHub

Об этом скилле

OPS ► COMMS

Runtime Context

Before executing, load available context:

  1. Daemon health: Read ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/daemon-health.json

    • Check wacli-sync status before any WhatsApp operation
    • Also check ~/.wacli/.health — if not status=connected, surface auth issue before proceeding
  2. Ops memories: Before drafting any message, check ${CLAUDE_PLUGIN_DATA_DIR}/memories/:

    • contact_*.md — load profile for the recipient
    • preferences.md — match user's communication style, language, and tone
    • donts.md — restrictions that must not appear in any draft
  3. Preferences: Read ${CLAUDE_PLUGIN_DATA_DIR}/preferences.json for default_channels to determine which channel to prefer when multiple are available for a contact.

CLI/API Reference

wacli (WhatsApp)

Health file — check ~/.wacli/.health BEFORE any wacli command:

  • status=connected → proceed
  • status=needs_auth or status=needs_reauth → prompt user for QR scan, do NOT run wacli commands
Command Usage Output
wacli doctor --json Check auth/connected/lock/FTS {data: {authenticated, connected, lock_held, fts_enabled}}
wacli chats list --json All chats {data: [{JID, Name, Kind, LastMessageTS}]}
wacli messages list --chat "<JID>" --limit N --json Messages for chat {data: {messages: [{FromMe, Text, Timestamp, SenderName, ChatName}]}}
wacli messages search --query "<text>" --json FTS search Same as above
wacli contacts --search "<name>" --json Contact lookup Contact objects
wacli send --to "<JID>" --message "<msg>" Send text Success/error

gog CLI (Gmail/Calendar)

Command Usage Output
gog gmail search "in:inbox" --max 50 -j --results-only --no-input Search inbox JSON array of threads
gog gmail thread get <threadId> -j Get full thread with all messages Full message JSON
gog gmail send --to "[email protected]" --subject "subj" --body "text" Send new email Send result
gog gmail send --reply-to-message-id <msgId> --reply-all --body "text" Reply all Send result
gog gmail send --to "[email protected]" --subject "subj" --body "text" --attach /path/file With attachment Send result
gog gmail archive <messageId> ... --no-input --force Archive messages Archive result

Parse $ARGUMENTS and route immediately:

Routing table

Pattern Action
whatsapp Show WhatsApp recent chats — offer to read or send
email Show recent email threads via Gmail MCP
slack Show recent Slack activity
telegram Show Telegram recent chats
discord Show recent Discord channel activity (via bin/ops-discord)
notion Search Notion workspace — pages, comments, tasks
send * to * Parse message and contact, determine best channel, send
read * Read the specified channel or contact's messages
(empty) Show channel picker menu

Natural-language parsing: phrases like send "deploy done" to #general on discord or to #ops-alerts on Discord should resolve to the discord branch below. Extract the channel token (the word after #, case-insensitive) and pass it as the first arg to bin/ops-discord send.


Send flow: send [message] to [contact]

  1. Parse contact name and message from $ARGUMENTS.
  2. Determine channel by contact lookup:
    • Check WhatsApp: wacli contacts --search "[contact]" --json 2>/dev/null
    • Check Slack: mcp__claude_ai_Slack__slack_search_users with query: "[contact]"
    • Check email: known from context or ask
  3. If multiple channels found, use AskUserQuestion: [WhatsApp] / [Slack] / [Email]
  4. Always preview before sending. Use AskUserQuestion to confirm:
Ready to send via [channel]:
  To: [contact name] ([identifier])
  Message: "[full message text]"

  [Send now]  [Edit message]  [Cancel]

If user picks "Edit message", use AskUserQuestion with free-text to get the revised message, then re-preview.

  1. Send via the chosen channel. Confirm with: Sent to [contact] via [channel] ✓

WhatsApp send

CRITICAL — READ BEFORE SENDING: Before drafting ANY WhatsApp reply, you MUST:

  1. Read the full conversation: wacli messages list --chat "<JID>" --limit 20 --json
  2. Understand which messages are from the user (FromMe: true) vs the contact
  3. Summarize what the conversation is about and what the contact is asking
  4. Only THEN draft a reply that addresses what the contact actually said

Never send a reply based on a single message. A message like "can you pull it f

Полный SKILL.md на GitHub

Установить ops-comms в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Grep
Glob
Skill
AskUserQuestion
mcp__claude_ai_Gmail__search_threads
mcp__claude_ai_Gmail__get_thread
mcp__claude_ai_Gmail__create_draft
mcp__claude_ai_Slack__slack_send_message
mcp__claude_ai_Slack__slack_read_channel
mcp__claude_ai_Slack__slack_search_users
mcp__claude_ai_Slack__slack_search_public_and_private
mcp__claude_ops_telegram__send_message
mcp__claude_ops_telegram__get_updates
mcp__claude_ops_telegram__list_chats
mcp__claude_ai_Notion__notion-search
mcp__claude_ai_Notion__notion-fetch
mcp__claude_ai_Notion__notion-get-comments
mcp__claude_ai_Notion__notion-create-comment
mcp__claude_ai_Notion__notion-update-page
mcp__claude_ai_Notion__notion-create-pages

FAQ

Что делает скилл ops-comms?

Send and read messages across all channels. Routes based on arguments — whatsapp, email, slack, telegram, discord, notion, or natural language like "send [msg] to [contact]".

Как установить скилл ops-comms?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ops-comms запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ops-comms с