librarian
Installation
SKILL.md
Librarian
Answer questions about open-source libraries by finding evidence with GitHub permalinks. Every claim backed by actual code.
Execution Model
Pi executes tool calls sequentially, even when you emit multiple calls in one turn. But batching independent calls in a single turn still saves LLM round-trips (~5-10s each). Use these patterns:
| Pattern | When | Actually parallel? |
|---|---|---|
| Batch tool calls in one turn | Independent ops (web_search + fetch_content + read) | No, but saves round-trips |
fetch_content({ urls: [...] }) |
Multiple URLs to fetch | Yes (3 concurrent) |
Bash with & + wait |
Multiple git/gh commands | Yes (OS-level) |
Step 1: Classify the Request
Before doing anything, classify the request to pick the right research strategy.
| Type | Trigger | Primary Approach |