Agent skill
audio-tools
Text-to-speech synthesis, audio transcription, and music search. Use when the user needs to generate speech audio, transcribe audio files, or search for music on Spotify.
Install this agent skill to your Project
npx add-skill https://github.com/binome-dev/humcp/tree/main/src/tools/audio
SKILL.md
Audio Tools
Tools for text-to-speech, transcription, and music search.
ElevenLabs (Text-to-Speech)
Generate speech
result = await elevenlabs_text_to_speech(
text="Hello, welcome to the demo.",
voice_id="JBFqnCBsd6RMkjVDRZzb",
model_id="eleven_multilingual_v2",
output_format="mp3_44100_64"
)
List voices
result = await elevenlabs_list_voices()
Env: ELEVEN_LABS_API_KEY
Cartesia (Text-to-Speech)
Generate speech
result = await cartesia_text_to_speech(
text="Hello from Cartesia.",
voice_id="78ab82d5-25be-4f7d-82b3-7ad64e5b85b2",
model_id="sonic-2",
output_format="mp3"
)
Env: CARTESIA_API_KEY
DesiVocal (Text-to-Speech)
Generate speech
result = await desi_vocal_tts(
text="Namaste, yeh ek demo hai.",
voice_id="f27d74e5-ea71-4697-be3e-f04bbd80c1a8"
)
List voices
result = await desi_vocal_list_voices()
Env: DESI_VOCAL_API_KEY
MLX Transcribe (Speech-to-Text)
Transcribe audio
result = await mlx_transcribe(
audio_path="/path/to/audio.mp3",
model="mlx-community/whisper-large-v3-turbo",
language="en"
)
No API key required. Runs locally on Apple Silicon via MLX Whisper.
Requirements: pip install mlx-whisper, brew install ffmpeg
Spotify (Music Search)
Search tracks
result = await spotify_search(
query="Bohemian Rhapsody",
search_type="track",
limit=10
)
Get track details
result = await spotify_get_track(track_id="4u7EnebtmKWzUH433cf5Qv")
Get playlist
result = await spotify_get_playlist(playlist_id="37i9dQZF1DXcBWIGoYBM5M")
Env: SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET
Response Format
All tools return:
{
"success": true,
"data": { ... }
}
On error:
{
"success": false,
"error": "Error description"
}
When to Use
- Generating speech audio from text (ElevenLabs, Cartesia, DesiVocal)
- Transcribing audio files to text (MLX Transcribe)
- Searching for songs, albums, or playlists (Spotify)
- Building voice-enabled workflows
- Creating audio content pipelines
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
llm
Generate text, call tools, and get structured JSON output using LLM providers (Claude, OpenAI, Gemini, Ollama). Use when the user needs to call an LLM API for text generation, function calling, or structured data extraction.
weather-data
Fetches current weather conditions and forecasts using the OpenWeatherMap API. Use when the user asks about weather, temperature, or forecasts for any city.
batch-research
批量数据采集技能,负责分批并发调度 researcher agent 抓取所有数据源。
chinese-writing
专注科技周刊的中文写作与审稿技能指南,指导大模型生成与审核清晰、克制、无 AI 味的高质量周刊内容。
publish-weekly
使用 Payload REST API 将周刊发布到 CMS,正文不包含头部元数据,通过 users API Key 认证。
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?