← Back to Skills Marketplace
jimbozhang

midasheng-audio-tagging

by Junbo Zhang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
163
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install midasheng-audio-tagging
Description
Audio tagging service for environmental sound recognition. Use when user needs to identify environmental sounds in audio files (water sounds, snoring, etc.)...
README (SKILL.md)

dasheng-audio-tag

Audio tagging service that identifies environmental sounds in audio files.

Quick Start

Tag an audio file:

python3 scripts/audiotag.py \x3Caudio_file>
# 服务地址: https://llmplus.ai.xiaomi.com/dasheng/audio/tag

Check queue status:

python3 scripts/audiotag.py --queue

API Details

Tagging Endpoint: POST https://llmplus.ai.xiaomi.com/dasheng/audio/tag

  • Method: POST, multipart form-data with file upload

Queue Metrics Endpoint: POST https://llmplus.ai.xiaomi.com/metrics?path=/dasheng/audio/tag

  • Returns: active(当前活跃请求数)、avg_latency_ms(平均耗时)
  • 预估等待时长 = active × avg_latency_ms

Usage Patterns

Basic tagging

python3 scripts/audiotag.py audio.mp3

Check queue / waiting status

python3 scripts/audiotag.py --queue

Programmatic usage

from scripts.audiotag import tag_audio, check_queue, format_queue_status

# Tag audio
result = tag_audio("sample-0.mp3")

# Check queue
queue_info = check_queue()
print(format_queue_status(queue_info))

Queue Status(排队情况)

何时调用

  1. IM 即将超时但 tag 服务还未返回结果时:调用 --queue 查排队情况,告知用户当前排队状态并请用户稍后来问任务是否完成。
  2. 用户稍后询问任务进度但 tag 服务仍未返回时:调用 --queue 返回最新排队情况给用户。

返回字段说明

字段 说明
active 当前活跃请求数(排队中)
avg_latency_ms 平均处理耗时(毫秒)
estimated_wait_sec 预估等待时长(秒)= active × avg_latency_ms
total_processed 累计已处理请求数

状态分级

  • 🟢 active=0 或预估等待 \x3C5s → 服务空闲/很快完成
  • 🟡 预估等待 5-30s → 轻微排队
  • 🔴 预估等待 >30s → 排队较长,建议稍后重试

Supported Audio Formats

Common audio formats: mp3, wav, m4a, ogg, flac

Troubleshooting

  • File not found: Check the audio file path
  • API request failed: Verify network connectivity and API endpoint availability
  • Unsupported format: Try converting to mp3 or wav format
  • Long wait: Use --queue to check current queue status
Usage Guidance
This skill appears to be what it says: a client that uploads audio files to a remote tagging API. Before installing or using it, consider the following: - Privacy: Using the skill will upload audio files to https://llmplus.ai.xiaomi.com. Do not upload audio containing sensitive personal data, private conversations, or recordings you do not own or have permission to share. - Trust & policy: Verify who runs the endpoint and review their privacy policy and retention practices if you plan to send real data. - Local testing: Test with non-sensitive sample audio first to confirm behavior and outputs. - Dependency: The script uses the Python 'requests' library; ensure your runtime environment has it installed. - Alternate endpoints: The script allows overriding the API URL; if you have an on-prem or trusted tagging service, pass that URL instead to avoid sending data to the default remote service. If you need the skill to run without sending data externally, consider using or requesting a version that performs tagging locally or points to a self-hosted inference endpoint.
Capability Analysis
Type: OpenClaw Skill Name: midasheng-audio-tagging Version: 1.0.0 The skill bundle provides a legitimate interface for an audio tagging service hosted on a Xiaomi domain (llmplus.ai.xiaomi.com). The Python script (scripts/audiotag.py) and instructions (SKILL.md) are well-documented and perform only the stated functions: uploading audio files for analysis and checking service queue status.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md, and the included script all describe and implement an audio-tagging client that uploads audio to a remote tagging API and checks queue metrics. The required capabilities align with the stated purpose.
Instruction Scope
The instructions and script are narrowly scoped to two actions: POST a multipart file to the tagging endpoint and POST to the metrics endpoint. However, both actions transmit user audio (or contact the service) over the network to https://llmplus.ai.xiaomi.com; the SKILL.md and code do not warn about privacy/PII implications. No other local files, credentials, or unrelated system state are read.
Install Mechanism
This is an instruction-only skill with a single Python script and no install spec. Nothing is downloaded or installed by the skill itself. The only runtime dependency is the 'requests' Python library (not declared), which is a minor packaging mismatch but not a security problem.
Credentials
The skill requests no environment variables or credentials (proportional). The main risk is data exposure: it sends user audio files to an external service (Xiaomi domain). Users should evaluate whether they are comfortable uploading potentially sensitive audio to that endpoint and confirm the service's privacy/legal policies.
Persistence & Privilege
The skill does not request persistent or privileged presence (always=false). It does not modify other skills or system configuration and does not require special privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install midasheng-audio-tagging
  3. After installation, invoke the skill by name or use /midasheng-audio-tagging
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the environmental audio tagging service. - Supports identification and classification of environmental sounds in common audio formats (mp3, wav, m4a, ogg, flac). - Provides command-line and programmatic interfaces for audio tagging and queue status checking. - Includes queue metrics with estimated wait time and queue state indicators (green/yellow/red). - Troubleshooting guidance for common issues like file errors, unsupported formats, and long queue times.
Metadata
Slug midasheng-audio-tagging
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is midasheng-audio-tagging?

Audio tagging service for environmental sound recognition. Use when user needs to identify environmental sounds in audio files (water sounds, snoring, etc.)... It is an AI Agent Skill for Claude Code / OpenClaw, with 163 downloads so far.

How do I install midasheng-audio-tagging?

Run "/install midasheng-audio-tagging" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is midasheng-audio-tagging free?

Yes, midasheng-audio-tagging is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does midasheng-audio-tagging support?

midasheng-audio-tagging is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created midasheng-audio-tagging?

It is built and maintained by Junbo Zhang (@jimbozhang); the current version is v1.0.0.

💬 Comments