Libby 图书监控器:追踪图书馆藏书可用性 - Openclaw Skills
作者:互联网
2026-03-31
什么是 Libby 图书监控器?
Libby 图书监控器是一款强大的自动化工具,旨在优化用户与数字图书馆目录的交互方式。作为 Openclaw Skills 生态系统中的一个通用组件,它可以无缝搜索和监控 Libby 或 OverDrive 馆藏。它有效地弥补了手动搜索与自动通知之间的差距,提供了一种程序化方式来随时了解图书馆的采编动态。
该工具专注于简单性和效率,除了 Python 标准库外无需任何外部依赖。对于管理多张借书卡并希望集中追踪高需求书目的研究人员和书迷来说,这是一个必不可少的实用程序。通过利用 Openclaw Skills,用户可以将这些图书馆检查集成到更广泛的自动化流程中。
下载入口:https://github.com/openclaw/skills/tree/main/skills/alexpolonsky/libby-book-monitor
安装与下载
1. ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install libby-book-monitor
2. 手动安装
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
3. 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 libby-book-monitor。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
Libby 图书监控器 应用场景
- 监控多个图书馆目录以获取特定书籍的发布情况。
- 针对高需求书目自动执行每日可用性检查。
- 为不同的家庭成员或个人资料管理独立的阅读监视列表。
- 识别当地图书馆何时购入特定作者的新作品。
- 用户在配置中指定图书馆子域名(例如,纽约公共图书馆为 nypl)。
- 将书籍添加到本地监视列表,并可选择包含作者和图书馆元数据。
- 脚本针对图书馆的后端服务执行 API 查询。
- 工具分析 isOwned 状态以确定该书目是否属于数字馆藏。
- 在自动化运行期间,状态更新会报告给用户或传递给通知系统。
Libby 图书监控器 配置指南
确保您的系统中安装了 Python 3。此技能已针对 Openclaw Skills 框架内的使用进行了优化。
# 搜索书籍以查找正确的元数据
python3 scripts/libby-book-monitor.py search nypl "Dune"
# 将书籍添加到您的监视列表
python3 scripts/libby-book-monitor.py watch "The Great Gatsby"
# 运行检查以查看当前状态
python3 scripts/libby-book-monitor.py check
Libby 图书监控器 数据架构与分类体系
该技能管理 ~/.libby-book-monitor/ 目录下的数据。结构组织如下:
| 组件 | 描述 |
|---|---|
| config.json | 存储图书馆定义和默认图书馆代码。 |
| 监视列表数据 | 包含书籍、作者列表及其最后已知的可用性状态。 |
| 配置文件 (Profiles) | 通过 --profile 标志为每个用户维护的独立监视列表。 |
| 数据目录 | 通过 --data-dir 或环境变量配置的存储路径。 |
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 |
Search a library catalogue by title/author |
watch |
Add a book to the watchlist |
unwatch |
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 |
all | Separate watchlist per user |
--author |
watch | Specify book author |
--library |
watch | Library code (default: from config) |
--notify |
check | Only print newly found books (for cron) |
--data-dir |
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: truein 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-diror$LIBBY_BOOK_MONITOR_DATA)
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
DHT11 传感器集成:温湿度监控 - Openclaw Skills
自动推文调度器:Twitter 内容管理 - Openclaw Skills
膳食规划器:自动化的每周菜单和购物清单 - Openclaw Skills
verify-claim: 实时事实核查与数据验证 - Openclaw Skills
Jarvis 事故时间线编写器:自动化技术工作流 - Openclaw Skills
DuckDuckGo 网页搜索:AI 智能体私密搜索 - Openclaw Skills
Peloton 统计:通过 API 追踪骑行表现 - Openclaw Skills
TS4:TypeScript 单元、快照及变异测试 - Openclaw Skills
HFT 模拟交易员:自主加密货币交易技能 - Openclaw Skills
Fork 与技能扫描器终极版:GitHub 洞察自动化 - Openclaw Skills
AI精选
