CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/nanoclaw-media

Personal entertainment-media skills for NanoClaw: Trakt watch-history sync, TV-show and audiobook recommendations, watchlist release checks, YouTube channel-comment digests, and Audible backup — with a weekly cadence companion. NanoClaw per-chat overlay tile.

73

Quality

92%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Risky

Do not use without reviewing

Overview
Quality
Evals
Security
Files

SKILL.mdskills/audible-backup/

name:
audible-backup
description:
Back up new Audible audiobook purchases, decrypt to M4B, and append to books-library.csv. Use on "audible backup", "check new audiobooks", "sync audible library", or from weekly scheduled task.

Every step below is mandatory. Execute them in order. Do not skip, reorder, or abbreviate any step.

Step 1: Run audible backup dry-run

Call the mcp__nanoclaw__audible_backup MCP tool with dryRun: true.

Parse the response. If new_books is 0 or books array is empty, report "No new Audible purchases" and stop.

If the tool errors (auth failure, Docker issue), report the error and stop.

Step 2: Download new books

If Step 1 found new books, call mcp__nanoclaw__audible_backup with dryRun: false to download and decrypt them.

Parse the response. Note which books succeeded (status: "ok") and which failed.

Step 3: Append to CSV

For each book with status: "ok", pipe the full backup response JSON to the CSV append script:

echo '<JSON>' | python3 /home/node/.claude/skills/tessl__audible-backup/scripts/csv-append.py

The script deduplicates by ASIN. Outputs JSON summary with appended count.

Step 4: Report results

Send a message summarizing what was downloaded. Format:

<b>Audible Backup</b>

• <b>Title</b> by Author (Series Name #N) — HH:MM
• <b>Title</b> by Author — HH:MM

N new books added to library (total: M).

If nothing new → silence (for scheduled runs). If user-initiated → "No new purchases."

Field Mapping Reference

CSV ColumnJSON FieldTransform
ASINasinas-is
Titletitleas-is
Authorauthorsas-is
Narrated Bynarratorsas-is
Genregenresas-is
Ave. Ratingratingas-is
Rating Countnum_ratingsas-is
Purchase Datepurchase_datedate part only
Release Daterelease_dateas-is
Durationruntime_length_minmin→HH:MM:00
Series Nameseries_titlemay be absent
Series Sequenceseries_sequencemay be absent
Image URLcover_urlas-is
Read Statusis_finishedtrue→"Finished"
M4Bm4b_pathdownload path

skills

audible-backup

SKILL.md

CHANGELOG.md

README.md

tile.json