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.

76

Quality

95%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

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.

Audible Backup Skill

Process steps in order. Do not skip ahead.

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.

Otherwise proceed immediately to Step 2.

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.

Proceed immediately to Step 3.

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.

Proceed immediately to Step 4.

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).

Durations in the message are HH:MM — drop the seconds from the tool's HH:MM:SS duration value.

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

Finish here — the skill is complete.

Field Mapping Reference

The full CSV column ↔ JSON field mapping table lives at:

skills/audible-backup/field-mapping.md

skills

audible-backup

field-mapping.md

SKILL.md

CHANGELOG.md

pyrightconfig.json

README.md

tile.json