360 Secure SkillHub
360 安全技能中心

Amazon Books

按书名、作者或关键词在本地图书库、Google Books 与 Open Library 中检索图书,返回包含书名、作者、简介、摘要和 Amazon 购买链接的格式化文本,默认直接输出可读文本。

heardlyapp
heardlyapp
热度 59.26
最近更新 2026-05-11 17:35:03
分类:搜索依赖:第三方 API / 代码执行应用场景:推荐 / 购物

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add amazon-books
Metadata
name
amazon_books
description
Search books across all sources with summaries and Amazon purchase links. Triggered when user asks about finding, buying, or searching for books.
keywords
["book","search","amazon","purchase","summary","author"]
triggers
["search for books","find books about","where can I buy","books by author","book recommendations","looking for a book"]

amazon-books

Search books across all sources with summaries and Amazon purchase links.

What it does

  • Search books by title, author, or keyword across multiple sources
  • Return full book descriptions from Google Books API
  • Provide direct Amazon purchase links
  • Show Heardly summary if available
  • Support multiple book sources (Heardly, Google Books, Open Library)
  • Return user-friendly formatted text by default

When to use this skill

Use this skill when the user asks:

  • "Do you have books by Kevin Kelly?"
  • "Where can I buy books about happiness?"
  • "Search for books on machine learning"
  • "Find me books by Elon Musk"
  • "What books are available about AI?"

Installation

clawhub install amazon-books

Usage

const AmazonBooksSkill = require('amazon-books');
const skill = new AmazonBooksSkill();

// Search books (returns formatted text)
const result = await skill.searchBooks({
  query: 'Kevin Kelly',
  limit: 5
});
console.log(result); // Directly readable text output

Output

Formatted text with:

  • Title, author, description
  • Amazon purchase link
  • Heardly summary (if available)
  • Ready to display to users

Data Sources

  1. Heardly Database (5904 books) — fastest, local
  2. Google Books API (free, millions of books)
  3. Open Library API (free, open source)
  4. Amazon Search Links (no API needed)

License

MIT