Skip to main content

ingest-audiobook

Process audiobooks from the inbox: transcribe to text and organize audio for voice training. Part of Horus's learning pipeline.

来源信息

仓库
grahama1970/agent-stack-public
最近来源活动
2026年9月24日 15:51
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
13 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
ingest-audiobook
description
Process audiobooks from the inbox: transcribe to text and organize audio for voice training. Part of Horus's learning pipeline.
triggers
["ingest audiobook","audiobook ingest","process library inbox","transcribe book","organize audiobooks","download audible books"]
allowed-tools
["Bash"]
metadata
{"clawdbot":{"emoji":"📚","requires":{"bins":"[Truncated]"}}}
provides
["ingest-audiobook"]
composes
["memory","task-monitor","agentic-evals"]
disciplines
["data-engineering","voice-audio"]
> STOP. READ THIS ENTIRE SKILL.MD BEFORE CALLING ANY ENDPOINT. # 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 1. **Sync/Download**: Use `uvx audible-cli` to download books. 2. **Decrypt**: AAX/AAXC files are automatically decrypted using your Audible activation bytes. 3. **Transcribe**: Use `uvx openai-whisper` (Whisper CLI) to convert audio to text. 4. **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. 1. Exports your library 2. Finds all Warhammer-related books 3. Downloads each one in AAX format to the inbox (Audible's native format) ### `download-all` Download all books from your Audible library. 1. Downloads in AAX format (Audible's native encrypted format) ### `ingest <filename>` Process a single file from `~/clawd/library/inbox/`. 1. Check if `~/clawd/library/inbox/<filename>` exists. 2. Create directory `~/clawd/library/books/<filename_no_ext>`. 3. If AAX/AAXC: Fetch activation bytes and decrypt to M4B using ffmpeg. 4. Run `uvx --from openai-whisper whisper "<audio_file>" --model turbo --output_format txt --output_dir "~/clawd/library/books/<filename_no_ext>"` 5. Move the audio file to `~/clawd/library/books/<filename_no_ext>/audio.<ext>` (decrypted version for AAX/AAXC). 6. 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/`. 1. List all `.mp3`, `.m4a`, `.m4b`, `.wav`, `.aax`, and `.aaxc` files in the inbox. 2. For each file, run the `ingest` workflow. ## Setup & First Run 1. **Audible Login**: Ask Horus: "Help me log in to Audible" or run this manually: ```bash uvx --from audible-cli audible quickstart ``` Follow the prompts to authorize. 2. **Download Your Books**: ```bash # Download all Warhammer 40k books ./run.sh download-warhammer # Or download everything ./run.sh download-all ``` 3. **Transcribe**: Ask Horus: "Ingest all audiobooks" or "Process my library inbox". ## Tips - **Portable**: Since this uses `uvx`, you don't need to manually install `whisper` or `audible-cli`. `uv` will download and cache them on first use. - **Character Names**: Whisper's `turbo` model is specifically great for the complex names found in Warhammer legends.
在 GitHub 查看