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
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
The epic (jbaruch/nanoclaw#404) lists the precheck signal for this sub-skill as "YouTube channel comment-count delta since last run". Two options were considered:
Have the precheck call the YouTube Data API and count comments in the last 7 days. Wake only when the count is positive.
Why rejected (same reasoning slice 1's nightly-undated-task-sweep applied to a Tasks-API gate):
nanoclaw-admin (heartbeat-precheck.py, morning-brief-precheck.py, precheck-undated-task-sweep.py, precheck-state-purge.py) reads from SQLite or the local filesystem only. None of them shells out to a network API.Precheck reads <state_dir>/youtube-comment-check-cursor.json. If last_run is missing or older than the cadence cap (value in scripts/precheck-youtube-comment-check.py), wake; otherwise skip. The skill stamps the cursor in Step 3, after Steps 1 (fetch) and 2 (report) both succeed. The cap value and the reason it sits below the weekly cron interval live in the precheck's CADENCE comment (jbaruch/nanoclaw#803).
Why this works:
task_run_logs will show the check fire at most once per ISO week; on weeks where weekly-housekeeping fires multiple times (continuation cycle, manual re-run), only the first fire reaches Step 2.If task_run_logs shows the gating savings are insufficient (e.g. the check wakes every cycle because the cursor write keeps failing, or the cap is too tight for the actual rate of new comments), revisit the option matrix. A count-based gate via the YouTube API remains an option once the OAuth / failure-mode concerns above are addressed at the plugin level — as a shared precheck client, not a per-skill ad-hoc.