跳到正文
cccskills
免费在 GitHub 公开

whatsapp-voice

Transcribe WhatsApp voice messages using local Whisper CLI. Use when: owner or contact sends an audio/ogg voice message. Combines Whisper transcription + CRM update + task creation. Works offline for short clips, uses OpenAI API for long clips. Hebrew and English supported.

中文简介正在准备中。当前显示原文说明。

集成工具OpenAI

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

WhatsApp Voice — Use-Case Skill

This is a use-case skill, not a standalone integration. It combines:

  • openai-whisper CLI — transcription
  • personal-crm — update contact's Last Topic if a person is mentioned
  • monday / task tracker — save task if needed

Transcription Strategy (Auto-Select by Duration)

Select model based on audio length:

TierModelWhenEst. Time
1 — Fasttiny (local)≤ 15 seconds5-15s
2 — Balancedsmall (local)15-60 seconds30-90s
3 — AccurateOpenAI Whisper API> 60 seconds2-5s

Auto-Select Script

#!/bin/bash
FILE="$1"

# Get duration
DURATION=$(ffprobe -v quiet -show_entries format=duration -of csv=p=0 "$FILE" 2>/dev/null | cut -d. -f1)
DURATION=${DURATION:-0}

if [ "$DURATION" -le 15 ]; then
  MODEL="tiny"; TIMEOUT=30
elif [ "$DURATION" -le 60 ]; then
  MODEL="small"; TIMEOUT=120
else
  USE_API=true
fi

if [ "${USE_API:-false}" = true ]; then
  RESULT=$(curl -s https://api.openai.com/v1/audio/transcriptions \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -F file="@$FILE" \
    -F model="whisper-1" \
    -F language="he" \
    | jq -r '.text')
else
  OUTDIR="/tmp/whisper-$$"
  mkdir -p "$OUTDIR"
  whisper "$FILE" --model "$MODEL" --language he --output_format txt --output_dir "$OUTDIR" 2>/dev/null
  RESULT=$(cat "$OUTDIR/"*.txt 2>/dev/null)

  # If tiny returned too few words, retry with small
  WORD_COUNT=$(echo "$RESULT" | wc -w)
  if [ "$MODEL" = "tiny" ] && [ "$WORD_COUNT" -le 1 ]; then
    whisper "$FILE" --model small --language he --output_format txt --output_dir "$OUTDIR" 2>/dev/null
    RESULT=$(cat "$OUTDIR/"*.txt 2>/dev/null)
  fi
fi

echo "$RESULT"

Installation

# Install Whisper CLI (local)
pip install openai-whisper

# ffprobe for duration detection
apt install ffmpeg   # Linux
brew install ffmpeg  # macOS

Models download automatically to ~/.cache/whisper/ on first run.


Full Use-Case Flow: Voice → CRM → monday

When owner sends a voice message:

  1. Transcribe (Whisper) — convert OGG to text
  2. Identify intent — read the text, understand what's needed
  3. If a person is mentioned (personal-crm) — search CRM board, update Last Topic
  4. If a task is needed — create item in monday Task Tracker
  5. Execute — do what was asked
Voice OGG → [Whisper] → Text → [Intent] → [CRM update] + [monday task] + [execute]

Hebrew-Specific Notes

  • Always pass --language he — auto-detect often defaults to English
  • Names and technical terms may be transcribed phonetically
  • small model handles natural Hebrew speech well

Known Issues

  • FP16 warning on CPU = expected, not an error
  • Clips < 2 seconds may hallucinate — ask to re-record
  • No GPU = slow. OpenAI API is the fast path for long clips (~$0.006/min)

File Location (OpenClaw)

WhatsApp inbound media:

/path/to/openclaw/media/inbound/<uuid>.ogg

File path is in system metadata for each inbound media attachment.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ai-pa

免费

AI Personal Assistant network skill for multi-agent PA coordination. Use when: contacting another PA, coordinating with peer agents, scheduling meetings between owners, broadcasting messages to PA groups, or looking up contacts from the local PA directory. Reads contact data from data/pa-directory.json in the workspace.

中文简介正在准备中。当前显示原文说明。

netanel-abergel/pa-skills62026年5月10日 更新

ai-pa

免费

Route and execute inter-PA coordination tasks in the OpenClaw multi-agent PA network. Triggers when: contacting another PA, passing a message between owners, broadcasting to a PA group, handling group lead/silence rules, or adding a new PA to the directory. NOT for: contact lookups (use contact-list skill), calendar invites (use meetings skill), or billing issues (use billing-monitor skill).

中文简介正在准备中。当前显示原文说明。

netanel-abergel/pa-skills62026年5月10日 更新

ai-pa

免费

AI Personal Assistant network skill. Use when: contacting another PA, coordinating with peer agents, scheduling meetings between owners, broadcasting messages, looking up contacts from the local PA directory, or performing any cross-PA task. Reads contact data from data/pa-directory.json in the workspace. Does NOT contain hardcoded contact data — each PA maintains their own directory file.

中文简介正在准备中。当前显示原文说明。

netanel-abergel/pa-skills62026年5月10日 更新

OpenClaw API gateway proxy for authenticated SaaS calls (100+ services in references/SERVICES.md). Use ONLY when making an HTTP request to a third-party service that requires the gateway's stored credentials. NOT for direct API calls with bearer tokens already in scope, NOT for monday.com (use monday-for-agents), NOT for WhatsApp (use heleni-whatsapp). Triggers: "call the X API", "fetch from <service>", "send to Slack via gateway", "use the gateway for".

中文简介正在准备中。当前显示原文说明。

netanel-abergel/pa-skills62026年5月10日 更新

Automatically creates new skills from complex problem-solving sessions. Triggers at the end of multi-step tasks that required novel approaches, debugging sessions, or workflow creation. Use when: a task took 3+ tool calls, involved a non-obvious solution, or established a pattern likely to recur. Also triggers on: "create a skill from this", "save this as a skill", "this should be a skill".

中文简介正在准备中。当前显示原文说明。

netanel-abergel/pa-skills62026年5月10日 更新

Monitor for API billing errors and alert the owner and admin immediately. Use when: an API billing error is detected, a peer PA reports a billing error, or during routine health checks. Handles detection, notification, and fallback model switching. Model-agnostic: works with any LLM provider (Anthropic, OpenAI, Google, etc.).

中文简介正在准备中。当前显示原文说明。

netanel-abergel/pa-skills62026年5月10日 更新

查看 netanel-abergel 的全部技能

报告此技能的问题