返回顶部
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,400
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

books

图书查询

面向AI代理的CLI工具,用于为用户搜索和查询图书信息。那个关于魔法大学的奇幻系列是什么?——现在你的代理可以回答这个问题。

使用Open Library API。无需账户或API密钥。

使用方法

搜索名为《风之名》的书籍
查找帕特里克·罗斯福斯所著的书籍
查询作品ID为OL27448W的信息
作者OL23919A是谁?

命令

操作命令
搜索books search 查询内容
获取图书详情
books info <作品ID> | | 获取作者信息 | books author <作者ID> |

示例

bash
books search 风之名 # 按书名搜索
books search author:布兰登·桑德森 # 按作者搜索
books info OL27448W # 通过作品ID获取完整详情
books author OL23919A # 获取作者简介和作品列表

输出

搜索输出:

[OL27448W] 风之名 — 帕特里克·罗斯福斯,2007年,⭐ 4.5

详情输出:

📚 风之名
作品ID:OL27448W
首次出版:2007年3月27日
主题:奇幻、魔法、成长

📖 描述:
[完整描述文本]

🖼️ 封面:https://covers.openlibrary.org/b/id/12345-L.jpg

作者输出:

👤 帕特里克·罗斯福斯
出生日期:1973年6月6日
作者ID:OL23919A

📖 简介:
[作者传记]

=== 作品列表 ===
[OL27448W] 风之名,2007年
[OL16313124W] 智者之惧,2011年

备注

  • - 使用Open Library API(openlibrary.org)
  • 无需身份验证
  • 作品ID格式如:OL27448W
  • 作者ID格式如:OL23919A
  • 搜索支持author:、title:、subject:前缀
  • 封面图片提供S、M、L三种尺寸

代理实现说明

脚本位置: {skill_folder}/books(指向scripts/books的包装器)

当用户询问图书信息时:

  1. 1. 运行./books search 书名或作者查找作品ID
  2. 运行./books info <作品ID>获取完整详情
  3. 运行./books author <作者ID>获取作者信息和著作列表

搜索技巧:

  • - 使用author:姓名按作者精确搜索
  • 使用title:书名按书名精确搜索
  • 使用subject:主题按类型/主题搜索

不适用于: 电子书、有声书、购买或阅读实际内容。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 books-1776362295 技能

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

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

通过命令行安装

skillhub install books-1776362295

下载

⬇ 下载 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
返回顶部