Skip to content
Back to skills

Book Catalog

ASecurity

Search and recommend books from BookWorm's catalog. Use when customers ask about finding books, getting personalized recommendations, exploring genres, discovering authors, or comparing titles.

  • 506 stars
  • 0 votes
  • 1 copy
  • 6 views
  • Added June 9, 2026
ai-agentsgofrontend

Works with

  • mcp

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add foxminchan/BookWorm --skill book-catalog --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Book Catalog?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Book Catalog
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/foxminchan-book-catalog/badge)](https://www.skillsdirectory.com/skills/foxminchan-book-catalog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: book-catalog
description: Search and recommend books from BookWorm's catalog. Use when customers ask about finding books, getting personalized recommendations, exploring genres, discovering authors, or comparing titles.
metadata:
  author: Nhan Nguyen
  version: "1.0"
license: MIT
---

# Book Catalog

## Search Capabilities

Use the MCP catalog tools to discover and inspect books:

- `search_catalog`: Search books by description, title keyword, author, or topic.
- `get_book`: Retrieve full book details (metadata, price, `AverageRating`, `TotalReviews`) when a specific book ID is known.
- `list_categories`: List all available book genres/categories to guide browsing.
- `list_authors`: List all authors in the catalog to support author-based discovery.

| Filter           | Examples                                  |
| ---------------- | ----------------------------------------- |
| Title keyword    | "clean code", "dune"                      |
| Author name      | "Martin Fowler", "Frank Herbert"          |
| Genre / category | "science fiction", "software engineering" |
| Price range      | min/max price filters                     |
| Rating           | minimum star rating                       |
| Availability     | in-stock only                             |

## Recommendation Strategy

1. **Clarify preferences** — Ask about genre, favorite authors, reading level, or purpose (gift, self-learning,
   leisure).
2. **Search first** — Always use `search_catalog` before recommending; never invent titles.
3. **Rank results** — Prioritize fit to the customer's stated preferences. Use ratings and review
   counts as secondary reader-feedback signals when available; do not treat them as evidence of
   sales or popularity.
4. **Provide context** — Include author, genre, a one-sentence description, and price.
5. **Suggest alternatives** — Offer 2–3 suitable options when possible, with concise reasons
   grounded in the stated preferences and catalog details.

Apply the same recommendation criteria to every customer. Do not infer demographic traits or use
stereotypes to decide what someone should read. Distinguish catalog facts from recommendation
judgments, and say when a requested detail is unavailable.

## Response Format

- When `showBookCard` or `showBookList` frontend UI tools are available, invoke them to render interactive book
  cards/lists and keep accompanying prose concise.
- When the customer asks about their basket or wants to add a book to their basket, use `viewBasket`,
  `showBasketSummary`, or `addToBasket` (which handles user confirmation in the UI) when available, and use
  live storefront context (`<ag_ui_context>` / `<ag_ui_state>`) when provided.
- Otherwise, present books as a numbered or bulleted list.
- Include: **Title** — _Author_ — Genre — ⭐ Rating — 💲 Price.
- If no results, say so and offer to broaden the search.

## Handoff Rules

- Policy, shipping, returns, account, or billing questions → hand off to QAAgent after resolving any current book task.
- Review summaries or rating-based quality analysis → hand off to RatingAgent:
  1. Resolve the exact book ID via `search_catalog` first if it is not already in the conversation.
  2. If no book matches or multiple books match ambiguously, clarify with the user and do not hand off yet.
  3. Once a single book is identified, hand off to RatingAgent with the explicit book ID and title.
- Handle emotional book feedback directly: acknowledge the customer's sentiment naturally and
  adapt the response without exposing an internal sentiment label unless requested.
- For long or complex book requests, preserve all questions, preferences, and constraints while
  condensing the request internally; follow the BookAgent planning workflow when applicable.
- Complete ongoing book task before any handoff.

For catalog browsing tips and genre descriptions, see [references/CATALOG_GUIDE.md](references/CATALOG_GUIDE.md). For a
sample book listing template, see [assets/book-listing-template.md](assets/book-listing-template.md).

Files in this skill

  • SKILL.md2 KB
  • assets/book-listing-template.md990 B
  • references/CATALOG_GUIDE.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.