From librarian
Use this skill when capturing learnings from our work together, or when starting work that might benefit from past knowledge. Triggers on: memory, remember, what did we learn, library, save this, before planning, decisions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/librarian:librarianThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
We build a library together. Every insight worth remembering goes here.
We build a library together. Every insight worth remembering goes here.
brief(query) - Search our library with semantic search. Use before planning or when something feels familiar.record(insight, ...) - Save knowledge immediately when we learn something. One insight per call.adopt(path) - Copy imported entry to local (make it ours)mark_hit(path) - Track when an entry helps. Higher hits = higher ranking.import_memories(format, path) - Import from other AI tools (jsonl, markdown, cursor, json, sqlite)rebuild_index() - Rebuild semantic search index for legacy entriesCall brief({ query: "relevant topic" }) to check what we already know. Also use when an issue comes up again or feels like something we solved before.
Call record() immediately when we:
Don't wait. Don't batch. One insight = one record call. Multiple recordings in one response is fine.
Call mark_hit({ path: "..." }) when an entry from brief actually helped. This makes it rank higher next time.
Yes:
No:
# Title
Brief description of what this captures.
## Context
When/why this matters.
## The Insight
The actual knowledge.
## Example (optional)
Code or concrete illustration.
"I wish we knew this yesterday"
Good: "Stripe retries webhooks but doesn't dedupe - always check idempotency key"
Not for Librarian: "Redis is a key-value store." (Just a fact, not wisdom.)
Entries are ranked by:
brief({ query: "stripe webhooks" })
record({ insight: "Clock skew between services - add 30s buffer to token validation" })
record({
intent: "Setting up GitHub org for Telvok",
insight: "GitHub org names are first-come-first-served regardless of domain ownership",
context: "GitHub, npm, branding",
reasoning: "We owned telvok.com but someone squatted telvok org years ago",
example: "Had to use telvokdev instead of telvok"
})
mark_hit({ path: "local/stripe-webhooks-need-idempotency.md" })
import_memories({ format: "jsonl", path: "~/.aim/memory.jsonl", source_name: "anthropic" })
import_memories({ format: "sqlite", path: "~/memory.db", source_name: "mcp-memory" })
.librarian/
├── local/ # Our entries (indexed for semantic search)
├── packages/ # Downloaded packages
└── index.json # Semantic embeddings
npx claudepluginhub joshuarweaver/cascade-knowledge --plugin telvokdev-librarianGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.