CLI for AI agents to search and lookup books for their humans. Uses Open Library API. No auth required.
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.
```
"Search for books called The Name of the Wind"
"Find books by Patrick Rothfuss"
"Tell me about work ID OL27448W"
"Who is author OL23919A?"
```
| Action | Command |
|--------|---------|
| Search | `books search "query"` |
| Get book details | `books info <work_id>` |
| Get author info | `books author <author_id>` |
```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
```
**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
```
---
**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:**
**Don't use for:** E-books, audiobooks, purchasing, or reading the actual content.
Leave a review
No reviews yet. Be the first to review this skill!