making-thinkrail-extensions

making-thinkrail-extensions is a skill for Claude Code, Codex from JetBrains/thinkrail. It costs 103 tokens per session (2,247 once invoked), scanned A, original, Apache-2.0.

A guide for building and installing ThinkRail extensions, which are packages that add agent tools or skills and may display cards in chat or provide toggle settings. It also explains when a plain package or an MCP server is a better fit.

In plain words
What is it for?
Use it to create, modify, rebuild, switch off, remove, install, or troubleshoot ThinkRail extensions and their agent tools, skills, settings, and chat cards.
Why use it?
It prevents extensions from claiming unsupported interface features and distinguishes extension work from changes to ThinkRail itself or configuration of an external MCP service.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, modify, rebuild, switch off, remove, install, or troubleshoot ThinkRail extensions and their agent tools, skills, settings, and chat cards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jetbrains/thinkrail/making-thinkrail-extensions
About the project

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.

JetBrains/thinkrail · 8,500 stars · on GitHub · thinkrail.ai

Install

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.

Any agent
npx skills add JetBrains/thinkrail --skill making-thinkrail-extensions
Clone the repo
git clone --depth 1 https://github.com/JetBrains/thinkrail

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for making-thinkrail-extensions

README.md
[![agentmods](https://agentmods.dev/badge/skills/jetbrains/thinkrail/making-thinkrail-extensions/github.svg)](https://agentmods.dev/skills/jetbrains/thinkrail/making-thinkrail-extensions)
Your own site
<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.

agentmods 80×15 button for making-thinkrail-extensions

Your own site · 80×15
<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>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,247 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash dba25033710a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/extensions.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

packages/server/skills/making-thinkrail-extensions/SKILL.md · 162 lines

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-servers skill). 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:

Read the full file on GitHub · 162 lines

Files

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.

Changes

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.

  1. 4d ago Changed · +1 lines dba25033710a
  2. 6d ago First seen · 161 lines · 103 tokens per session scan A 42ea30082015

Subscribe to this mod's changes

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.

Related

making-thinkrail-extensions compared with skills from other repositories

making-thinkrail-extensions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
making-thinkrail-extensionsJetBrains/thinkrailSkill8.5kyesterdayApache-2.0A103Claude Code, Codex
nexent-daily-testModelEngine-Group/nexentSkill6.3kyesterdayMITA78Claude Code, Codex
bello-config-advisorMakson179/BelloSkill4512d agoMITA76Claude Code, Codex
skillpack-creatorCreminiAI/skillpackSkill1.2k2mo agoMITA67Codex
skill-creatorCreminiAI/skillpackSkill1.2k2mo agoMITA64Claude Code, Codex
vigilante-create-issuealiengiraffe/vigilanteSkill4212d agoApache-2.0A25Codex
bmad-specalvin-reyes/better-agentic-ideSkill3811d agoMITA76Claude Code