360 Secure SkillHub
360 安全技能中心

libby-book-monitor

这是第三方Libby/OverDrive书籍监控工具,核心功能包括:搜索指定图书馆的书籍馆藏,添加书籍到关注列表,定期检查列表内书籍是否入库并推送提醒,还支持多用户独立维护关注列表。典型场景为追踪心仪书籍何时入馆,或帮家人管理关注需求。通过Python脚本执行命令操作,可搭配参数指定图书馆、作者等,输出为命令行信息,也可结合cron定时自动检查。

alexpolonsky
alexpolonsky
热度 61.01
最近更新 2026-05-11 17:26:34
分类:自动化依赖:代码执行 / 第三方 API / 读写文件应用场景:自动化脚本 / 任务管理 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add libby-book-monitor
Metadata
name
libby-book-monitor
version
1.0.0
description
Track book availability on Libby/OverDrive libraries. Search library catalogues, manage a watchlist, and get notified when books are added. Use for "libby", "check libby", "libby watchlist", "is book on libby", "book available", "overdrive", "library catalogue", "ספרייה", "ספרים".
author
Alex Polonsky (https://github.com/alexpolonsky)
homepage
https://github.com/alexpolonsky/agent-skill-libby-book-monitor
metadata
{"openclaw":{"emoji":"📚","os":["darwin","linux"],"requires":{"bins":["python3"]}}}

Libby/OverDrive Book Monitor

Track book availability on Libby/OverDrive libraries. Search catalogues, manage a watchlist, and get notified when books are added to your library's collection.

Disclaimer: This is an unofficial tool, not affiliated with or endorsed by OverDrive/Libby. Catalogue data queries APIs that power the website and may not reflect actual availability. This tool does NOT borrow books or place holds. Provided "as is" without warranty of any kind.

Quick Start

# Search a library catalogue
python3 {baseDir}/scripts/libby-book-monitor.py search telaviv "Project Hail Mary"

# Add a book to your watchlist
python3 {baseDir}/scripts/libby-book-monitor.py watch "Kafka on the Shore" --author "Haruki Murakami"

# Check your watchlist against the API
python3 {baseDir}/scripts/libby-book-monitor.py check

# Show your watchlist
python3 {baseDir}/scripts/libby-book-monitor.py list

Commands

Command Description
search <library> <query> Search a library catalogue by title/author
watch <title> Add a book to the watchlist
unwatch <title> Remove a book from the watchlist
list Show the watchlist with status
check Check all watchlist books against the API

Options

Option Commands Description
--profile <name> all Separate watchlist per user
--author <name> watch Specify book author
--library <code> watch Library code (default: from config)
--notify check Only print newly found books (for cron)
--data-dir <path> all Custom data directory

Profiles

Use --profile to maintain separate watchlists for different people:

python3 {baseDir}/scripts/libby-book-monitor.py --profile jane watch "Dune"
python3 {baseDir}/scripts/libby-book-monitor.py --profile bob check --notify

Configuration

Default library is telaviv Israel Digital. Edit ~/.libby-book-monitor/config.json to change:

{
  "default_library": "nypl",
  "libraries": {
    "nypl": "New York Public Library"
  }
}

The library code is the subdomain from your library's OverDrive site (e.g., nypl.overdrive.com -> nypl).

Cron Integration

Run a daily check that only outputs when books are newly found:

python3 {baseDir}/scripts/libby-book-monitor.py --profile jane check --notify

If any new books are found, send the results to the user.

Notes

  • Works with non-Latin scripts (Hebrew, Arabic, CJK, etc.)
  • Books are considered "found" when isOwned: true in the API response
  • 1-second delay between API calls when checking multiple books
  • No external dependencies (Python stdlib only)
  • Data stored in ~/.libby-book-monitor/ (configurable via --data-dir or $LIBBY_BOOK_MONITOR_DATA)