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 configuring-thinkrailgit 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/configuring-thinkrail)<a href="https://agentmods.dev/skills/jetbrains/thinkrail/configuring-thinkrail"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/configuring-thinkrail/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/configuring-thinkrail"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/configuring-thinkrail.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.00136 | $0.02814 |
| Opus 5.5 | $0.00054 | $0.01126 |
| Sonnet 5.5 | $0.00027 | $0.00563 |
| Haiku 4.5 | $0.00014 | $0.00281 |
Grade B, and why
configuring-thinkrail scanned grade B with 1 finding 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 today.
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.
Reads MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
`models.json`, or `mcp.json`: `models.json` can hold saved `providers.*.apiKey` values and How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Configuring ThinkRail
Walk the user through an app-level health check and initial tune-up of ThinkRail after the first-run provider wizard. Keep it fast, grounded in real checks on their machine, and tailored to what they actually want to tune.
Non-negotiable safety rules
- Never edit
~/.thinkrail/config.json(or$THINKRAIL_DATA_DIR/config.json). The running ThinkRail host holdsconfig.jsonin memory without watching it; any hand edit is ignored until restart and silently overwritten on the next Settings save. Read it only to inspect current values, and give the user the exact Settings › … path for every ThinkRail-owned setting. - Never run
piCLI commands (pi login,pi mcp add,pi config, etc.). ThinkRail runspiin-process — there is nopicommand to invoke. - Only edit watched
pifiles — and confirm every edit first. You may edit${PI_CODING_AGENT_DIR:-~/.pi/agent}/mcp.json,settings.json, ormodels.jsononly after showing the exact change and getting the user's explicit confirmation. Never write plaintext API keys or tokens; use${ENV_VAR}or!commandreferences. - Never read or print credential-bearing files. Never call
read(orcat) onauth.json,models.json, ormcp.json:models.jsoncan hold savedproviders.*.apiKeyvalues andmcp.jsoncan hold literal header/env secrets, and any raw read leaks them into model context and the session transcript. Checkauth.jsononly withtest -f, extract only allowlisted top-level names (mcpServers/providerskeys) locally in the shell (skipping if no JSON parser is available), and never dump fullenvoutput. - No Node required. ThinkRail needs no Node.js at runtime; run plain shell commands and file reads that work on any developer machine.
Step 1 — Run a silent read-only health check
Run one compact, read-only inspection first so you report facts rather than guessing. Adapt syntax if the shell is Windows PowerShell.
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.
- today First seen · 189 lines · 136 tokens per session scan B 9d7ee05823ab
configuring-thinkrail is a skill published in the GitHub repository JetBrains/thinkrail (8,510 stars, last pushed today), licensed Apache-2.0. It adds 136 tokens to every session and 2,814 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.
configuring-thinkrail compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| configuring-thinkrailJetBrains/thinkrail | Skill | 8.5k | today | Apache-2.0 | B | 136 | Codex |
| bmad-walkthroughalvin-reyes/better-agentic-ide | Skill | 38 | 12d ago | MIT | A | 26 | Claude Code |
| merge-queuea5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 29 | Claude Code |
| requesting-code-reviewa5c-ai/babysitter | Skill | 1.9k | 29d ago | MIT | A | 23 | Claude Code, Codex |
| review-this-branchno-human-ai/no_human | Skill | 323 | 1mo ago | MIT | A | 53 | Claude Code |
| eg-precommit-reviewvshvedov/elephant-goldfish | Skill | 104 | 26d ago | MIT | A | 24 | Codex |
| context-okf-promote-candidateskerbelp/metatron | Skill | 27 | 2d ago | MIT | A | 56 | Claude Code, Codex |