返回顶部
b

books

CLI for AI agents to search and lookup books for their humans. Uses Open Library API. No auth required.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,391
下载量
1
收藏
概述
安装方式
版本历史

books

# Book Lookup CLI for AI agents to search and lookup books for their humans. "What's that fantasy series about the magic university?" — now your agent can answer. Uses Open Library API. No account or API key needed. ## Usage ``` "Search for books called The Name of the Wind" "Find books by Patrick Rothfuss" "Tell me about work ID OL27448W" "Who is author OL23919A?" ``` ## Commands | Action | Command | |--------|---------| | Search | `books search "query"` | | Get book details | `books info <work_id>` | | Get author info | `books author <author_id>` | ### Examples ```bash books search "the name of the wind" # Find books by title books search "author:brandon sanderson" # Search by author books info OL27448W # Get full details by work ID books author OL23919A # Get author bio and works ``` ## Output **Search output:** ``` [OL27448W] The Name of the Wind — Patrick Rothfuss, 2007, ⭐ 4.5 ``` **Info output:** ``` 📚 The Name of the Wind Work ID: OL27448W First Published: March 27, 2007 Subjects: Fantasy, Magic, Coming of Age 📖 Description: [Full description text] 🖼️ Cover: https://covers.openlibrary.org/b/id/12345-L.jpg ``` **Author output:** ``` 👤 Patrick Rothfuss Born: June 6, 1973 Author ID: OL23919A 📖 Bio: [Author biography] === Works === [OL27448W] The Name of the Wind, 2007 [OL16313124W] The Wise Man's Fear, 2011 ``` ## Notes - Uses Open Library API (openlibrary.org) - No authentication required - Work IDs look like: OL27448W - Author IDs look like: OL23919A - Search supports `author:`, `title:`, `subject:` prefixes - Cover images available in S, M, L sizes --- ## Agent Implementation Notes **Script location:** `{skill_folder}/books` (wrapper to `scripts/books`) **When user asks about books:** 1. Run `./books search "title or author"` to find work ID 2. Run `./books info <work_id>` for full details 3. Run `./books author <author_id>` for author info and bibliography **Search tips:** - Use `author:name` to search specifically by author - Use `title:name` to search specifically by title - Use `subject:topic` to search by genre/subject **Don't use for:** E-books, audiobooks, purchasing, or reading the actual content.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 books-1776362295 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 books-1776362295 技能

通过命令行安装

skillhub install books-1776362295

下载 Zip 包

⬇ 下载 books v1.0.0

文件大小: 2.7 KB | 发布时间: 2026-4-17 15:02

v1.0.0 最新 2026-4-17 15:02
Initial release — search and lookup books using Open Library via CLI.

- Search books by title, author, or subject (with prefix support).
- Retrieve detailed book info by work ID.
- Lookup author bios and bibliography by author ID.
- Outputs include key data: titles, publication year, ratings, subjects, descriptions, and cover links.
- No authentication or API key required; uses bash, curl, and jq.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部