AI Agent Hub
Back to skills
🤖

WeCom Voice Message Assistant

AI Agent Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md and install @user_1a470ba8/wecom-voice-agent.

About this skill

Problem

In private WeCom chats, voice messages often carry office requests such as checking a schedule, creating a todo, or sending a message. Text-only bots struggle with ambiguous, multi-step speech. This skill connects WeCom bot voice callbacks to a local agent that treats the transcribed text as structured intent, while keeping raw audio away from third-party processing.

How It Works

  • Message intake: watches msgtype: voice, reads voice.content, then deduplicates, checks message freshness, and maintains session context.
  • Intent parsing: uses intent_registry with YAML-declared intents, keyword matching, and confidence scoring; low-confidence cases ask clarifying questions instead of guessing.
  • Task execution: supports schedule lookup, todo creation, weather lookup, and message sending; message sending requires confirmation, and weather queries only call wttr.in.
  • Call management: v2.0 adds outbound calling, IVR handling, and multi-turn voice sessions through a state_machine covering IDLE → DIALING → LISTENING → ENDING, with automatic timeout after 30 seconds of silence.
  • Compliant storage: recordings and transcripts stay in local ~/.wecom_voice/records/ and SQLite; outbound calls require admin authorization and user consent.

Boundaries

It is best suited for private single-chat voice messages in a quiet environment, with each clip under 60 seconds and one task per message. Group chat, long recordings, speaker identification, and multimodal messages are outside the current scope; avoid transmitting sensitive information by voice.

Use Cases

  • A support agent receives a private WeCom voice message, parses intent, creates a todo, and confirms.
  • A sales user asks a private voice clip for next week's schedule, and the skill extracts dates via the schedule API.
  • Before a call, the agent notifies a customer of meeting time through a WeCom voice call with consent-gated recording.
  • A user asks about weather in a quiet setting, and the skill resolves the city and calls wttr.in for clothing advice.

Best For

  • WeCom admins who need private-chat voice messages turned into schedules, todos, and outbound messages.
  • Customer support leads who need compliant outbound call recording, call minutes, and user consent flows.
  • Team members who prefer quiet private-chat dialect commands for weather, schedules, and message sending.
  • AI agent developers who need multi-turn voice state management and local storage auditability.