JetBrains/thinkrail is a desktop and mobile client that embeds the pi coding agent inside an interface for editing code and managing development workspaces. Developers use it to work on Git repositories through separate worktrees, a Monaco editor, terminals, Git views, specifications, and concurrent agent sessions. The catalogue entries are skills and instructions for its agent-based development workflow.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add JetBrains/thinkrail --skill librariangit clone --depth 1 https://github.com/JetBrains/thinkrailWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jetbrains/thinkrail/librarian)<a href="https://agentmods.dev/skills/jetbrains/thinkrail/librarian"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/librarian/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jetbrains/thinkrail/librarian"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/librarian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.01925 |
| Opus 5.5 | $0.00028 | $0.00770 |
| Sonnet 5.5 | $0.00014 | $0.00385 |
| Haiku 4.5 | $0.00007 | $0.00193 |
Grade A, and why
librarian scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Librarian
Answer questions about open-source libraries by finding evidence with GitHub permalinks. Every claim backed by actual code.
Execution Model
Pi runs the independent tool calls of one turn concurrently, and batching them 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) | Yes, and 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 |
|---|---|---|
| Conceptual | "How do I use X?", "Best practice for Y?" | web_search + fetch_content (README/docs) |
| Implementation | "How does X implement Y?", "Show me the source" | fetch_content (clone) + code search |
| Context/History | "Why was this changed?", "History of X?" | git log + git blame + issue/PR search |
| Comprehensive | Complex or ambiguous requests, "deep dive" | All of the above |
Step 2: Research by Type
Conceptual Questions
Batch these in one turn:
- web_search:
"library-name topic"for recent articles and discussions - fetch_content: the library's GitHub repo URL to clone and check README, docs, or examples
Synthesize web results + repo docs. Cite official documentation and link to relevant source files.
Implementation Questions
The core workflow -- clone, find, permalink:
- fetch_content the GitHub repo URL -- this clones it locally and returns the file tree after
Repository cloned to: <path>; that path is the clone, use it for every step below - Use bash to search the cloned repo:
grep -rn "function_name",find . -name "*.ts" - Use read to examine specific files once you've located them
- Get the commit SHA:
cd <clone path> && git rev-parse HEAD - Construct permalink:
https://github.com/owner/repo/blob/<sha>/path/to/file#L10-L20
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago First seen · 196 lines · 71 tokens per session scan A 43d88c8d11d4
librarian is a skill published in the GitHub repository JetBrains/thinkrail (8,500 stars, last pushed yesterday), licensed Apache-2.0. It adds 71 tokens to every session and 1,925 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.
librarian compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| librarianJetBrains/thinkrail | Skill | 8.5k | yesterday | Apache-2.0 | A | 71 | Claude Code, Codex |
| nexent-daily-testModelEngine-Group/nexent | Skill | 6.3k | yesterday | MIT | A | 78 | Claude Code, Codex |
| bello-config-advisorMakson179/Bello | Skill | 451 | 2d ago | MIT | A | 76 | Claude Code, Codex |
| skillpack-creatorCreminiAI/skillpack | Skill | 1.2k | 2mo ago | MIT | A | 67 | Codex |
| skill-creatorCreminiAI/skillpack | Skill | 1.2k | 2mo ago | MIT | A | 64 | Claude Code, Codex |
| vigilante-create-issuealiengiraffe/vigilante | Skill | 42 | 12d ago | Apache-2.0 | A | 25 | Codex |
| bmad-specalvin-reyes/better-agentic-ide | Skill | 38 | 11d ago | MIT | A | 76 | Claude Code |