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 making-thinkrail-extensionsgit 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/making-thinkrail-extensions)<a href="https://agentmods.dev/skills/jetbrains/thinkrail/making-thinkrail-extensions"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/making-thinkrail-extensions/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/making-thinkrail-extensions"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/making-thinkrail-extensions.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.00103 | $0.02247 |
| Opus 5.5 | $0.00041 | $0.00899 |
| Sonnet 5.5 | $0.00021 | $0.00449 |
| Haiku 4.5 | $0.00010 | $0.00225 |
Grade A, and why
making-thinkrail-extensions 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 4d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Making ThinkRail extensions
A ThinkRail extension is an npm-style package with a thinkrail manifest. Its server half gives the
agent tools (pi registerTool), boolean settings, interactive tools and skills; its web half draws a
card in chat for a tool call. Either half may be missing: a web-only extension can give cards to tools
that come from elsewhere (a pi package, an MCP server). It cannot add panels, commands, menus,
non-boolean settings or translations — say so instead of faking them.
The user asked you to write it and install it: do both, without asking for a confirmation click.
Is it an extension at all?
- Only agent tools or skills, no card wanted → a plain pi package also works (Settings → Extensions & skills → Install package). Make an extension when they want a card, a setting with a toggle, or ask for one.
- Wrapping an external service that already has an MCP server → configure the MCP server instead (the
managing-mcp-serversskill). An MCP server is not an extension. - Changing ThinkRail's own code or its built-in extensions → ordinary repository work, not this skill.
Steps
1. Find the host and check the tools
node --version # needs >= 22.19
npm --version
node <this skill's directory>/scripts/extensions.mjs where
where prints the data dir ($THINKRAIL_DATA_DIR, which ThinkRail gives every agent shell; otherwise
~/.thinkrail), the paths of extensions.json and status.json, api — the extension API this
ThinkRail loads (for example "1.0") — and hostReported, when the host last wrote its status. If both
are null, ThinkRail is older than this skill or not running: use "1.0" and verify in Settings →
Extensions.
2. Check that the SDK can be installed
npm view "@thinkrail/extension-sdk@~<api>.0" version
A version printed → go on. A network error → tell the user npm is unreachable. An E404 or no output →
the SDK is not on npm yet (it is published with the first ThinkRail release that supports extensions)
or not for this API:
What ships with it
5 files 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.
- 4d ago Changed · +1 lines dba25033710a
- 6d ago First seen · 161 lines · 103 tokens per session scan A 42ea30082015
making-thinkrail-extensions is a skill published in the GitHub repository JetBrains/thinkrail (8,500 stars, last pushed yesterday), licensed Apache-2.0. It adds 103 tokens to every session and 2,247 once invoked, about $0.0004 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-24.
making-thinkrail-extensions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| making-thinkrail-extensionsJetBrains/thinkrail | Skill | 8.5k | yesterday | Apache-2.0 | A | 103 | 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 |