Skip to content
Back to skills

Consume Book

ASecurity

Search and annotate ingested books. Works with content already processed by `/ingest-book` (or any local book library directory).

  • 754 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 8, 2026
toolspythongobash

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill consume-book --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Consume Book?

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

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

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
````markdown
---
name: consume-book
description: >
  Search and annotate ingested books. Supports markdown/text files and EPUBs,
  tracks reading position, and stores Horus notes in memory.
triggers:
  - consume book
  - search book
  - book notes
  - bookmark book
  - resume reading
allowed-tools:
  - Bash
  - Python
metadata:
  short-description: Consume ingested books - search text, bookmark, take notes
---

# Consume Book Skill

Search and annotate ingested books. Works with content already processed by `/ingest-book`
(or any local book library directory).

## Quick Start

```bash
cd .pi/skills/consume-book

# Import books from library
./run.sh sync --books-dir ~/clawd/library/books

# Search text
./run.sh search "Emperor" --book <book_id>

# Save a bookmark
./run.sh bookmark --book <book_id> --char-position 125000

# Resume reading
./run.sh resume --book <book_id>

# Add a note at a character position
./run.sh note --book <book_id> --char-position 125000 --note "Key doctrine"

# List books
./run.sh list
```

## Commands

### Sync Books

```bash
./run.sh sync [--books-dir <path>]
```

Scans a directory for `.md`, `.txt`, and `.epub` files and imports them into the registry.

### Search Text

```bash
./run.sh search <query> [--book <book_id>] [--context <chars>]
```

Searches book text and returns matches with character positions and context.

### Bookmark

```bash
./run.sh bookmark --book <book_id> --char-position <n> [--time-spent <sec>]
```

Saves the current reading position and optional time spent.

### Resume

```bash
./run.sh resume --book <book_id>
```

Returns the last saved reading position and stats.

### Add Note

```bash
./run.sh note --book <book_id> --char-position <n> --note <text> [--agent <id>]
```

Adds a Horus note at a character position.

### List Books

```bash
./run.sh list [--json]
```

Lists all books in the registry.

## Data Storage

- **Registry**: `~/.pi/consume-book/registry.json`
- **Bookmarks**: `~/.pi/consume-book/bookmarks.json`
- **Notes**: `~/.pi/consume-book/notes/<agent_id>/notes.jsonl`
- **EPUB Cache**: `~/.pi/consume-book/cache/`

## Integration with /memory

Notes are stored in `/memory` using the consume-common memory bridge:

```bash
./memory/run.sh learn \
  --problem "Consumed book: <title>" \
  --solution "<note>" \
  --category emotional_learning \
  --tags book,horus_lupercal
```

````

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 tools →

Comments

Loading comments…

Newsletter

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