audiobooks
Skill4 starsChanged 21 days agoMITView on GitHub
Manage audiobooks: download missing covers, organize metadata, embed cover art, and download from AudiobookBay. Use when working with audiobook libraries, cover images, or AudiobookBay searches.
- Reads credentials
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audiobookshelfSkill
- copilot-sdkSkill
- ebookSkill
- imdbSkill
- internetarchiveSkill
- jellyfinSkill
- kavitaSkill
- libgenSkill
- nyaaSkill
- plexSkill
- qbittorrentSkill
- tvdbSkill
- ytsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
AudiobookBay Downloader: Search and download audiobooks from AudiobookBay.
- Very specific: line 17
All settings are loaded from the .env file in the workspace root.
- Distinctive: line 99
After download, organize to the appropriate library folder.
- Very specific: line 106
Use uv as the Python package manager.
- Very specific: line 107
Create temporary files in $WORKSPACE_PATH/temp/.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Audiobook Manager
Core Capabilities
- Audiobook Organizer: Download missing covers, scan library, and embed metadata.
- AudiobookBay Downloader: Search and download audiobooks from AudiobookBay.
Configuration
All settings are loaded from the .env file in the workspace root.
# AudiobookBay credentials
AUDIOBOOKBAY_URL=https://audiobookbay.nl/
AUDIOBOOKBAY_USERNAME=your_username
AUDIOBOOKBAY_PASSWORD=your_password
# Library path
AUDIOBOOKS_PATH=/path/to/audiobooksLibrary Information
- Main Library: Configured via
AUDIOBOOKS_PATHin.env - Structure:
$AUDIOBOOKS_PATH/Author Name/Audiobook Title/
Reference
- Core Code Snippets:
scripts/core/ - Utility Code Snippets:
scripts/utils/ - CLI Tool:
scripts/cli/
Workflow: Identify & Fix Missing Covers
- Scan: List all audiobooks missing covers (
cover.jpg,folder.jpg, embedded art). - Search: Find cover art on Audible (start with audible.ca), Amazon, or Google Images.
- Download & Organize: Save as
cover.jpgin the book's folder. - Embed: Embed metadata and cover image into the audio files (
.m4b,.mp3, etc.).
Usage Examples (CLI)
# Scan library for missing covers
uv run python skills/audiobooks/scripts/cli/cover_manager.py scan --report
# List missing covers
uv run python skills/audiobooks/scripts/cli/cover_manager.py list --by-author
# Process a specific book (download & embed)
uv run python skills/audiobooks/scripts/cli/cover_manager.py process -i <INDEX> -u "<IMAGE_URL>"
# Embed existing cover into files
uv run python skills/audiobooks/scripts/cli/cover_manager.py embed -c cover.jpg -a "$AUDIOBOOKS_PATH/Author/Title"Python Module Structure
core/scanner.py: Library scanning logic.core/embedder.py: Cover embedding (mutagen).core/downloader.py: Cover downloading.utils/image_handler.py: Image conversion.utils/audio_handler.py: Audio file detection.
AudiobookBay Downloader
Reference
- Code Snippets:
scripts/audiobookbay/
Usage Example
from skills.audiobooks.scripts.audiobookbay.search import search, enrich_with_magnets
from skills.audiobooks.scripts.audiobookbay.client import AudiobookbayClient
# Simple search
results = search("Arifureta", max_pages=2)
# Get magnet links for all results
results = enrich_with_magnets(results)
# Print results
for result in results:
print(result.title, result.magnet_link)Important Notes for AudiobookBay
- Download ebooks to
$WORKSPACE_PATH/temp/audiobookbay_downloads/initially. - After download, organize to the appropriate library folder.
- Respect rate limits (1 request/2s).
General Notes
- Use
uvas the Python package manager. - Create temporary files in
$WORKSPACE_PATH/temp/. - Handle errors gracefully (missing directories, network issues).
- Backup original files before modifying metadata if requested.
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
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.

