librarian companion
by @nonlinear
Conversational interface for semantic book search (companion skill for Librarian project)
π‘ Examples
TOPIC wins (tiebreaker):
"Graeber debt finance" β matches both "Debt.epub" + "finance" β TOPIC: financeBOOK only:
"Graeber hexagram 23" β matches "Debt.epub" only β BOOK: Debt.epub
"I Ching moving lines" β matches "I Ching.epub" only β BOOK: I Ching.epubTOPIC only:
"chaos magick sigils" β matches "chaos-magick" only β TOPIC: chaos-magick
"mutual aid commons" β matches "anarchy" only β TOPIC: anarchyCLARIFY (no match):
"philosophy" β no match β CLARIFY: "Search which topic or book?"
"systems" β no match β CLARIFY: "Need more context - which area?"Scope Types
1. Topic scope: --topic TOPIC_ID
- Available topics: chaos-magick, finance, anarchy (check .topic-index.json)
2. Book scope: --book FILENAME
- Requires exact filename (e.g., "Condensed Chaos.epub")
- Use fuzzy matching: "Condensed" β "Condensed Chaos.epub"
π Tips & Best Practices
"No metadata found"
Run index_library.py first
Check books/.topic-index.json exists"No results" but book exists
Check topic ID matches (e.g., "chaos-magick" not "chaos magick")
Verify book is in correct topic folder
Try broader query terms"System broken"
Check Python dependencies: pip3 list | grep sentence
Verify research.py syntax: python3 engine/scripts/research.py --help
Check FAISS index integrity
clawhub install librarian
π§ͺ Use this skill with your agent
Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.
π Can't find the right skill?
Search 60,000+ AI agent skills β free, no login needed.
Search Skills β