configuring-thinkrail

configuring-thinkrail is a skill for Codex from JetBrains/thinkrail. It costs 136 tokens per session (2,814 once invoked), scanned B, original, Apache-2.0.

Use when the user asks to set up, configure, tune, or health-check ThinkRail itself — checking git, gh, JetBrains Central, providers, default and review models, skills from other agents, MCP servers, external editors, projects folder, voice input, appearance, or language — especially right after first launch. Not for…

Skill for Codex ✓ vendor

Written for Codex: reads $CODEX_HOME. Also seen: reads .claude/ paths; mentions subagents; positional $N argument.

Install with agentmods
npx agentmods add skills/jetbrains/thinkrail/configuring-thinkrail
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,510 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 configuring-thinkrail
Clone the repo
git clone --depth 1 https://github.com/JetBrains/thinkrail

Made for: 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 configuring-thinkrail

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

agentmods 80×15 button for configuring-thinkrail

Your own site · 80×15
<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>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,814 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00136 $0.02814
Opus 5.5 $0.00054 $0.01126
Sonnet 5.5 $0.00027 $0.00563
Haiku 4.5 $0.00014 $0.00281

Measured today against content hash 9d7ee05823ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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
packages/server/skills/configuring-thinkrail/SKILL.md · 189 lines

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

  1. Never edit ~/.thinkrail/config.json (or $THINKRAIL_DATA_DIR/config.json). The running ThinkRail host holds config.json in 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.
  2. Never run pi CLI commands (pi login, pi mcp add, pi config, etc.). ThinkRail runs pi in-process — there is no pi command to invoke.
  3. Only edit watched pi files — and confirm every edit first. You may edit ${PI_CODING_AGENT_DIR:-~/.pi/agent}/mcp.json, settings.json, or models.json only after showing the exact change and getting the user's explicit confirmation. Never write plaintext API keys or tokens; use ${ENV_VAR} or !command references.
  4. Never read or print credential-bearing files. Never call read (or cat) on auth.json, models.json, or mcp.json: models.json can hold saved providers.*.apiKey values and mcp.json can hold literal header/env secrets, and any raw read leaks them into model context and the session transcript. Check auth.json only with test -f, extract only allowlisted top-level names (mcpServers / providers keys) locally in the shell (skipping if no JSON parser is available), and never dump full env output.
  5. 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.

Read the full file on GitHub · 189 lines

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. today First seen · 189 lines · 136 tokens per session scan B 9d7ee05823ab

Subscribe to this mod's changes

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.

Related

configuring-thinkrail compared with skills from other repositories

configuring-thinkrail next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
configuring-thinkrailJetBrains/thinkrailSkill8.5ktodayApache-2.0B136Codex
bmad-walkthroughalvin-reyes/better-agentic-ideSkill3812d agoMITA26Claude Code
merge-queuea5c-ai/babysitterSkill1.9k29d agoMITA29Claude Code
requesting-code-reviewa5c-ai/babysitterSkill1.9k29d agoMITA23Claude Code, Codex
review-this-branchno-human-ai/no_humanSkill3231mo agoMITA53Claude Code
eg-precommit-reviewvshvedov/elephant-goldfishSkill10426d agoMITA24Codex
context-okf-promote-candidateskerbelp/metatronSkill272d agoMITA56Claude Code, Codex