← 返回 Skills 市场
Skill Openclaw Library Monitor
作者
Shuai YUAN
· GitHub ↗
· v1.0.1
329
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install library-book-monitor
功能描述
Monitor library book availability and get notified when books become available for borrowing. Supports Shenzhen Library and extensible for other libraries.
使用说明 (SKILL.md)
Library Book Monitor Skill
A skill to monitor library book availability and get notified when books become available for borrowing.
When to Use
Use this skill when you want to:
- Track book availability at Shenzhen Library
- Get notified when a book becomes available for borrowing
- Monitor multiple books and their availability status
- Automate library book availability checking
Setup
Before using this skill, ensure:
- Python 3.8+ is installed
- Dependencies are installed:
pip install -r requirements.txt - Configuration file
config.yamlis set up (copy fromconfig.yaml.example)
Commands
Add a Book
Add book "Python Programming" by "Guido van Rossum" with monitoring enabled
List All Books
List all monitored books
Check Book Availability
Check availability of all books
Remove a Book
Remove book with ID abc123
Toggle Monitoring
Toggle monitoring for book abc123
Start Scheduled Monitoring
Start monitoring scheduler
Configuration
The skill uses config.yaml for settings:
library:
name: "Shenzhen Library"
base_url: "https://www.szlib.org.cn/"
search_url: "https://www.szlib.org.cn/opac/"
timeout: 30
scheduler:
enabled: true
interval_minutes: 30
retry_on_failure: true
max_retries: 3
notification:
enabled: true
methods:
- console
- email
email:
smtp_server: smtp.qq.com
smtp_port: 587
sender: [email protected]
password: your_smtp_password
recipients:
- [email protected]
Notes
- The skill supports Shenzhen Library by default
- Other libraries can be added by implementing custom scrapers
- Book data is stored in
book_list.json - Please set reasonable check intervals to avoid overloading library servers
安全使用建议
This skill appears to do what it says. Before installing or running it: 1) Review and create config.yaml yourself if you enable email notifications — the SMTP password is stored in that file (treat it as a secret and keep it local). 2) Install the listed Python dependencies in an isolated environment (virtualenv) and run the monitor from a user-controlled directory so book_list.json and config.yaml are kept where you expect. 3) Choose a reasonable scheduler interval to avoid overloading the library API. 4) If you want extra assurance, inspect the included files (library_scraper.py and notifier.py) yourself or run the code in a sandboxed environment; there are no hidden network endpoints or obfuscated behaviors found in the source.
功能分析
Type: OpenClaw Skill
Name: library-book-monitor
Version: 1.0.1
The library-book-monitor skill is a legitimate utility designed to track book availability at the Shenzhen Library. The codebase is well-structured, using standard Python libraries like requests for API interaction, schedule for periodic checks, and argparse for the CLI. It manages book data in a local JSON file and supports email notifications via SMTP. No evidence of malicious intent, data exfiltration, or prompt injection was found; the requested shell and network permissions are appropriate for its stated functionality.
能力评估
Purpose & Capability
Name/description align with code and runtime instructions: the package implements book management, a Shenzhen library scraper, scheduled checks, and notifications. Declared permissions (network, filesystem, shell) are appropriate for scraping, storing book_list.json, and running the CLI.
Instruction Scope
SKILL.md directs the agent to run Python CLI commands (main.py add/list/check/remove/toggle/monitor). The runtime instructions and code operate on local config.yaml/book_list.json and the Shenzhen library API; they do not instruct reading unrelated system files or environment secrets.
Install Mechanism
No installation script is provided (instruction-only install), and included code uses standard Python packages. requirements.txt lists commonly used libraries; there are no downloads from untrusted URLs or archive extraction steps.
Credentials
The skill does not require environment variables. It does use an on-disk config.yaml that can contain SMTP credentials (sender/password) for email notifications — this is proportionate to the email notification feature but is a sensitive local secret the user must supply and protect.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or global agent settings. It persists its own data to local book_list.json and relies on config.yaml as expected.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install library-book-monitor - 安装完成后,直接呼叫该 Skill 的名称或使用
/library-book-monitor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added core modules: book manager, scheduler, scraper, and notification support.
- Introduced config file for flexible library, scheduling, and notification settings.
- Implemented main script for command-line operations: add, list, check, remove, toggle, and monitor books.
- Skill now supports scheduled background monitoring and notification when book availability changes.
- Dependency management and initial project structure established.
v1.0.0
Initial release: Monitor library book availability and get notified when books become available for borrowing
元数据
常见问题
Skill Openclaw Library Monitor 是什么?
Monitor library book availability and get notified when books become available for borrowing. Supports Shenzhen Library and extensible for other libraries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 329 次。
如何安装 Skill Openclaw Library Monitor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install library-book-monitor」即可一键安装,无需额外配置。
Skill Openclaw Library Monitor 是免费的吗?
是的,Skill Openclaw Library Monitor 完全免费(开源免费),可自由下载、安装和使用。
Skill Openclaw Library Monitor 支持哪些平台?
Skill Openclaw Library Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Skill Openclaw Library Monitor?
由 Shuai YUAN(@yszheda)开发并维护,当前版本 v1.0.1。
推荐 Skills