搜索

PythonReactSEOPDF
OpenClaw

mycroft

EPUB and ebook ingestion, local vector index, and Q&A CLI for books.

fabe0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install fabe/mycroft

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

mycroft

Use mycroft to ingest EPUBs and ebooks, build a local vector index, and ask questions about a book.

Setup (once)

  • export OPENAI_API_KEY="..."
  • mycroft config onboard
  • mycroft config resolve

Common commands

  • List books: mycroft book list
  • Ingest EPUB: mycroft book ingest /path/to/book.epub
  • Ingest with summaries: mycroft book ingest /path/to/book.epub --summary
  • Ingest with batch embeddings (50% cheaper): mycroft book ingest /path/to/book.epub --batch
  • Ingest with batch summaries + embeddings: mycroft book ingest /path/to/book.epub --batch --summary
  • Resume batch ingestion: mycroft book ingest resume <id>
  • Check ingestion status: mycroft book ingest status <id>
  • Show metadata: mycroft book show <id>
  • Ask a question: mycroft book ask <id> "What is the main conflict?"
  • Search passages: mycroft book search <id> "mad hatter" --top-k 5
  • Delete book: mycroft book delete <id> --force
  • Start chat: mycroft chat start <id>
  • Ask in session: mycroft chat ask <session> "What does this foreshadow?"
  • Continue chat: mycroft chat repl <session>

Notes

  • Use mycroft config path to find the config file location.
  • book ask and book search require embeddings and an OPENAI_API_KEY.
  • Chat commands require embeddings and an OPENAI_API_KEY.
  • Prefer book search and synthesize answers yourself before using book ask.
  • Summaries increase ingestion time and cost significantly; enable --summary only when needed.
  • Use --batch to run embeddings and summaries via the OpenAI Batch API at 50% cost; results may take up to 24 hours. When combined with --summary, summaries are batched first, then embeddings on resume.
  • After --batch ingestion, use mycroft book ingest status <id> to check progress and mycroft book ingest resume <id> to complete indexing.
  • If a non-batch ingest is interrupted, use mycroft book ingest resume <id> to continue from the last saved chunk.
  • If a batch fails, resume automaticall...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/fabe/mycroft
Version
—
Commit
92f07eb42398c5b23552e93b3fb4b3ce43fdd8cc
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# mycroft

Use `mycroft` to ingest EPUBs and ebooks, build a local vector index, and ask questions about a book.

Setup (once)
- `export OPENAI_API_KEY="..."`
- `mycroft config onboard`
- `mycroft config resolve`

Common commands
- List books: `mycroft book list`
- Ingest EPUB: `mycroft book ingest /path/to/book.epub`
- Ingest with summaries: `mycroft book ingest /path/to/book.epub --summary`
- Ingest with batch embeddings (50% cheaper): `mycroft book ingest /path/to/book.epub --batch`
- Ingest with batch summaries + embeddings: `mycroft book ingest /path/to/book.epub --batch --summary`
- Resume batch ingestion: `mycroft book ingest resume <id>`
- Check ingestion status: `mycroft book ingest status <id>`
- Show metadata: `mycroft book show <id>`
- Ask a question: `mycroft book ask <id> "What is the main conflict?"`
- Search passages: `mycroft book search <id> "mad hatter" --top-k 5`
- Delete book: `mycroft book delete <id> --force`
- Start chat: `mycroft chat start <id>`
- Ask in session: `mycroft chat ask <session> "What does this foreshadow?"`
- Continue chat: `mycroft chat repl <session>`

Notes
- Use `mycroft config path` to find the config file location.
- `book ask` and `book search` require embeddings and an `OPENAI_API_KEY`.
- Chat commands require embeddings and an `OPENAI_API_KEY`.
- Prefer `book search` and synthesize answers yourself before using `book ask`.
- Summaries increase ingestion time and cost significantly; enable `--summary` only when needed.
- Use `--batch` to run embeddings and summaries via the OpenAI Batch API at 50% cost; results may take up to 24 hours. When combined with `--summary`, summaries are batched first, then embeddings on resume.
- After `--batch` ingestion, use `mycroft book ingest status <id>` to check progress and `mycroft book ingest resume <id>` to complete indexing.
- If a non-batch ingest is interrupted, use `mycroft book ingest resume <id>` to continue from the last saved chunk.
- If a batch fails, `resume` automaticall...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.