Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add grahama1970/agent-skills --skill "audiobook-ingest"
Install specific skill from multi-skill repository
# Description
>
# SKILL.md
name: audiobook-ingest
description: >
Process audiobooks from the inbox: transcribe to text and organize audio
for voice training.
triggers:
- ingest audiobook
- process library inbox
- transcribe book
- organize audiobooks
- download audible books
allowed-tools:
- Bash
metadata:
clawdbot:
emoji: "📚"
requires:
bins:
- uv
- ffmpeg
Audiobook Ingest (The Black Library)
Process and organize your audiobook collection. This skill uses uvx to run its tools, making it self-contained and portable.
Workflow
- Sync/Download: Use
uvx audible-clito download books. - Decrypt: AAX/AAXC files are automatically decrypted using your Audible activation bytes.
- Transcribe: Use
uvx openai-whisper(Whisper CLI) to convert audio to text. - Organize: Moves files to
~/clawd/library/books/<Title>/.
Commands
list-warhammer
List all Warhammer 40k books in your Audible library (searches for Warhammer, Horus, Gaunt, Siege of Terra, etc.).
download-warhammer
Download ONLY your Warhammer 40k books. Perfect for building the Horus Lupercal voice model.
- Exports your library
- Finds all Warhammer-related books
- Downloads each one in AAX format to the inbox (Audible's native format)
download-all
Download all books from your Audible library.
- Downloads in AAX format (Audible's native encrypted format)
ingest <filename>
Process a single file from ~/clawd/library/inbox/.
- Check if
~/clawd/library/inbox/<filename>exists. - Create directory
~/clawd/library/books/<filename_no_ext>. - If AAX/AAXC: Fetch activation bytes and decrypt to M4B using ffmpeg.
- Run
uvx --from openai-whisper whisper "<audio_file>" --model turbo --output_format txt --output_dir "~/clawd/library/books/<filename_no_ext>" - Move the audio file to
~/clawd/library/books/<filename_no_ext>/audio.<ext>(decrypted version for AAX/AAXC). - Rename output:
mv "~/clawd/library/books/<filename_no_ext>/<filename>.txt" "~/clawd/library/books/<filename_no_ext>/text.md"
ingest-all
Process all audio files found in ~/clawd/library/inbox/.
- List all
.mp3,.m4a,.m4b,.wav,.aax, and.aaxcfiles in the inbox. - For each file, run the
ingestworkflow.
Setup & First Run
-
Audible Login:
Ask Horus: "Help me log in to Audible" or run this manually:bash uvx --from audible-cli audible quickstartFollow the prompts to authorize.
-
Download Your Books:
```bash
Download all Warhammer 40k books
./run.sh download-warhammer
Or download everything
./run.sh download-all
``` -
Transcribe:
Ask Horus: "Ingest all audiobooks" or "Process my library inbox".
Tips
- Portable: Since this uses
uvx, you don't need to manually installwhisperoraudible-cli.uvwill download and cache them on first use. - Character Names: Whisper's
turbomodel is specifically great for the complex names found in Warhammer legends.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.