Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

librarian

verified

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.

View on GitHub

Marketplace

librarian

telvokdev/librarian

Plugin

librarian

Repository

telvokdev/librarian
2stars

skills/librarian/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/telvokdev/librarian/blob/main/skills/librarian/SKILL.md -a claude-code --skill librarian

Installation paths:

Claude
.claude/skills/librarian/
Powered by add-skill CLI

Instructions

# Librarian

We build a library together. Every insight worth remembering goes here.

## Tools

- `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 entries

## Workflow

### Before Thinking
Call `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.

### During Work
Call `record()` immediately when we:
- Solve a problem (before moving to the next thing)
- Make a decision (capture the reasoning NOW)
- Hit a gotcha or mistake (it WILL come up again)
- Learn something non-obvious (context dies fast)

Don't wait. Don't batch. One insight = one record call. Multiple recordings in one response is fine.

### After Brief Helps
Call `mark_hit({ path: "..." })` when an entry from brief actually helped. This makes it rank higher next time.

## What to Record

**Yes:**
- Hard-won solutions (the "aha" moments)
- Gotchas, mistakes, and workarounds
- Patterns that worked
- Decisions and their reasoning
- Non-obvious learnings

**No:**
- Generic docs (search exists)
- Temporary fixes
- Things likely to change next week

## Entry Format

```markdown
# Title

Brief description of what this captures.

## Context
When/why this matters.

## The Insight
The actual knowledge.

## Example (optional)
Code or concrete illustration.
```

## Quality Bar

**"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 wisd

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
3369 chars