Xpersona
F

Feishu Voice (macOS)

CLAWHUB · Unverified

Send voice/audio messages to Feishu (Lark) chats using TTS. Automatically uses OpenAI TTS (gpt-4o-mini-tts) if OPENAI_API_KEY is set, otherwise falls back to... Skill: Feishu Voice (macOS) Owner: zihui Summary: Send voice/audio messages to Feishu (Lark) chats using TTS. Automatically uses OpenAI TTS (gpt-4o-mini-tts) if OPENAI_API_KEY is set, otherwise falls back to... Tags: latest:1.1.0 Version history: v1.1.0 | 2026-03-25T13:54:25.172Z | user Dual TTS engine: OpenAI TTS (gpt-4o-mini-tts) when OPENAI_API_KEY is set, macOS say as fallback. Supports openai_instructions for ac

62
Rank
84
Safety
983
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 983 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1795ke5fx44geb6kexdzn150n83k8xa:feishu-macos-voice
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zihui-feishu-macos-voice/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

22,617 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: feishu-voice
description: Send voice/audio messages to Feishu (Lark) chats using TTS. Automatically uses OpenAI TTS (gpt-4o-mini-tts) if OPENAI_API_KEY is set, otherwise falls back to macOS `say`. Transcodes to opus and delivers as a native Feishu audio message. Use when asked to "send a voice message", "发语音", "用语音说", or any request to send audio to Feishu/Lark.
metadata:
  openclaw:
    requires:
      bins:
        - ffmpeg
        - ffprobe
        - curl
        - python3
      bins_conditional:
        - bin: say
          condition: OPENAI_API_KEY not set (macOS fallback TTS)
      config:
        - path: ~/.openclaw/openclaw.json
          keys:
            - channels.feishu.appId
            - channels.feishu.appSecret
          reason: Feishu bot credentials (app_id + app_secret) for API authentication
      env_optional:
        - name: OPENAI_API_KEY
          reason: If set, uses OpenAI TTS (gpt-4o-mini-tts) instead of macOS say
      platform: macOS
---

# Feishu Voice Message

Send voice messages to Feishu (Lark) via TTS → opus → Feishu API.

## TTS Engine Priority

| Priority | Engine | Condition |
|----------|--------|-----------|
| 1st | **OpenAI TTS** (`gpt-4o-mini-tts`) | `OPENAI_API_KEY` env var is set |
| 2nd | **macOS `say`** (fallback) | No `OPENAI_API_KEY` |

## Prerequisites

- `ffmpeg` with libopus: `brew install ffmpeg`
- Feishu bot `app_id` + `app_secret` — read from `~/.openclaw/openclaw.json` → `channels.feishu`
- **OpenAI TTS (optional):** `OPENAI_API_KEY` environment variable

## Quick Send

```bash
scripts/feishu-voice.sh <text> <receive_id> [receive_id_type] [voice] [openai_instructions]
```

Examples:
```bash
# Auto-selects engine based on OPENAI_API_KEY
scripts/feishu-voice.sh "今天天气不错!" ou_xxxxxxxx open_id

# OpenAI TTS with Taiwan accent instructions
scripts/feishu-voice.sh "你好!" ou_xxxxxxxx open_id shimmer "Speak with a Taiwan Mandarin accent"

# macOS TTS with specific voice (when no OPENAI_API_KEY)
scripts/feishu-voice.sh "会议提醒" oc_xxxxxxxx chat_id Meijia

# Send to a group
scripts/feishu-voice.sh "下午三点开会" oc_xxxxxxxx chat_id
```

## Voice Options

### OpenAI TTS voices
| Voice | Character |
|-------|-----------|
| `shimmer` | Warm, expressive (recommended for Chinese) |
| `nova` | Friendly, natural |
| `alloy` | Neutral |
| `echo` | Clear |
| `fable` | Expressive |
| `onyx` | Deep |

Use `openai_instructions` (5th arg) for accent/style control, e.g.:
- `"Speak with a Taiwan Mandarin accent"`
- `"Use a warm and friendly tone"`

### macOS `say` voices (fallback)
| Voice | Language | Notes |
|-------|----------|-------|
| `Tingting` | 普通话 zh_CN | Recommended default |
| `Meijia` | 台湾 zh_TW | Taiwan accent |
| `Sinji` | 粤语 zh_HK | Cantonese |

List all: `say -v '?'`

## Manual Step-by-Step

### 1. Get credentials

```bash
APP_ID=$(python3 -c "import json; d=json.load(open('$HOME/.openclaw/openclaw.json')); print(d['channels']['feishu']['appId'])")
APP_SECRET=$(python3 -c "import json; d=json.load(ope

_meta.json

{
  "ownerId": "kn72f9pbb6yg7zx8szf285v0fx8393m2",
  "slug": "feishu-macos-voice",
  "version": "1.1.0",
  "publishedAt": 1774446865172
}

skill-card.md

## Description:

Send voice/audio messages to Feishu (Lark) chats using TTS, using OpenAI TTS when OPENAI_API_KEY is set and macOS say as a fallback.

This skill is ready for commercial/non-commercial use.

## Publisher:

[zihui](https://clawhub.ai/user/zihui)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to send spoken Feishu or Lark messages from an agent workflow, including direct chats and group chats. It is intended for macOS environments with Feishu bot credentials and audio tooling installed.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Message text and generated audio may be sent to Feishu recipients and to OpenAI when OPENAI_API_KEY is configured.

Mitigation: Use non-sensitive content, choose recipients explicitly, and avoid setting OPENAI_API_KEY when local macOS speech is sufficient.

Risk: The skill reads Feishu bot credentials from the user's OpenClaw configuration.

Mitigation: Run with ordinary user privileges and ensure the Feishu bot has only the permissions and recipient scope required for the message.

Risk: Security evidence reports unsafe shell handling in the bundled script.

Mitigation: Review or revise the script before installation, including mktemp usage, cleanup traps, JSON serialization, and receive_id_type validation.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/zihui/skills/feishu-macos-voice)
- [OpenAI audio speech API endpoint](https://api.openai.com/v1/audio/speech)
- [Feishu tenant access token endpoint](https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal)
- [Feishu file upload endpoint](https://open.feishu.cn/open-apis/im/v1/files)
- [Feishu message send endpoint](https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=open_id)

## Skill Output:

**Output Type(s):** [text, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline shell command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces Feishu voice-message guidance and command invocations that may send generated audio through Feishu and, when configured, OpenAI.]

## Skill Version(s):

1.1.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Feishu Voice (macOS) and adjacent AI workflows.