Skip to content
Back to skills

Books

ASecurity

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

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
toolsbashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill books --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Books?

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

Security grade badge for Books
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-books/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-books)

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: books
version: 1.0.0
description: "CLI for AI agents to search and lookup books for their humans. Uses Open Library API. No auth required."
homepage: https://openlibrary.org
metadata:
  openclaw:
    emoji: "πŸ“š"
    requires:
      bins: ["bash", "curl", "jq"]
    tags: ["books", "reading", "open-library", "literature", "cli"]
---

# 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

**Platform note:** If your human is on Windows, they'll need WSL, Git Bash, or Cygwin to run this skill.

**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.

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.

Comments

Loading comments…

Newsletter

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