agentleFS
b1rdmaniab1rdmania/ghostclaw/.claude/skills/add-voice-reply/SKILL.md

add-voice-reply

Skill91 starsChanged 7 months agoMITView on GitHub

Add ElevenLabs voice replies so the bot responds to voice notes with voice notes.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When someone sends a voice note, the bot replies with a voice note instead of text.

    line 8
  2. Distinctive:

    Ask the user to:

    line 14
  3. Distinctive:

    Ask: "Which voice should the bot use?

    line 26
  4. Distinctive:

    If they have a specific voice, get the voice ID from the ElevenLabs dashboard.

    line 28
  5. Distinctive:

    If they skip this, the default voice will be used.

    line 35
  6. Very specific:

    Remove ELEVENLABS_API_KEY from .env and restart.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add Voice Replies (ElevenLabs)

When someone sends a voice note, the bot replies with a voice note instead of text. Uses ElevenLabs TTS.

Setup

1. ElevenLabs API key

Ask the user to:

  1. Sign up at elevenlabs.io
  2. Go to Settings > API Keys
  3. Copy the API key

Add to .env:

ELEVENLABS_API_KEY=<key>

2. Pick a voice

Ask: "Which voice should the bot use? You can browse voices at elevenlabs.io/voice-library, or use a custom/cloned voice."

If they have a specific voice, get the voice ID from the ElevenLabs dashboard. If not, suggest they browse the library and pick one that fits.

Add to .env:

ELEVENLABS_VOICE_ID=<voice_id>

If they skip this, the default voice will be used.

3. Rebuild and restart

npm run build
launchctl kickstart -k gui/$(id -u)/com.ghostclaw  # macOS
# systemctl --user restart ghostclaw                # Linux

4. Test

Tell the user to send a voice note to the bot. It should reply with a voice note using the selected voice. Text messages still get text replies.

How it works

The bot detects when an incoming message is a voice note (tagged [Voice: ...] after transcription). When replying to a voice message, it converts the text response to audio via ElevenLabs TTS and sends it as a voice note. Text messages always get text replies.

Disabling

Remove ELEVENLABS_API_KEY from .env and restart. The bot will fall back to text replies for everything.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.