librarian
بواسطة nonlinear
Search & Researchموجز
Conversational interface for semantic book search (companion skill for Librarian project)
الوصف
ما الذي تفعله هذه المهارة
A conversational interface for searching a personal book library using semantic embeddings. Ask questions in natural language and get back synthesized answers with page-level citations. Runs as a companion to the Librarian project via a three-layer architecture: AI skill, shell wrapper, and Python search engine.
Returns precise citations with page and paragraph numbers from local files instead of summarizing from memory or requiring a web search.
متى تستخدمها
- Finding what a specific author says about a topic across your library
- Locating passages in a single book by concept or keyword
- Getting cited answers from a topic folder of books
- Cross-referencing ideas across multiple texts without opening each file
- Querying a personal research archive by natural language
مثال على سير العمل
User asks: What does Graeber say about the origins of money?
- 1
Load .library-index.json and .topic-index.json metadata
- 2
Match query against known book titles and topic IDs to infer scope
- 3
Build shell command: ./librarian.sh "origins of money" topic finance 5
- 4
Parse JSON results from Python search engine
- 5
Synthesize answer and format citations with page numbers
Paragraph summarizing Graeber's argument with inline citations like [Debt: The First 5000 Years, p.21, ¶2] and a sources list
المتطلبات
- Librarian parent project installed (github.com/nonlinear/librarian)
التثبيت
clawhub install nonlinear/librarianشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.