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 choosing-a-workflowgit 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/choosing-a-workflow)<a href="https://agentmods.dev/skills/jetbrains/thinkrail/choosing-a-workflow"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/choosing-a-workflow/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/choosing-a-workflow"><img src="https://agentmods.dev/badge/skills/jetbrains/thinkrail/choosing-a-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00078 | $0.00833 |
| Opus 5.5 | $0.00031 | $0.00333 |
| Sonnet 5.5 | $0.00016 | $0.00167 |
| Haiku 4.5 | $0.00008 | $0.00083 |
Grade A, and why
choosing-a-workflow 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 3d 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Choosing a Workflow
The root router of the workflow family. It classifies new workflow-eligible work and names the workflow skill that governs it — nothing more. Work already routed resumes its active workflow instead. A routed skill's steps live in that skill alone; read it, don't run it from memory.
Classify
For a new piece of work, read the request and use what is already known to answer four questions:
- Is this project onboarding? No spec graph yet — an empty or effectively empty workspace where the user brings a raw idea, or an existing codebase being set up or specced for the first time.
- Is this the PR lifecycle? Finished work shipping as a pull request, or an existing PR being tended — created, brought up to date, given screenshots, its checks watched, or its review comments addressed. Fixes that flow from a PR's own review comments belong here.
- Is this reviewing a pull request the user is not shipping? Someone else's PR, or one picked from a prompt's pull-request completion, named by link or number — to judge it and draft a review, not to create, sync or fix it.
- Does the work change what the product does? A new feature, a change in behavior, or a bug fix — however small, and even when the request already spells out the design. A detailed request shortens the interview; it never skips it.
If none applies, no workflow is needed: proceed directly without a workflow announcement. Only work that changes no behavior belongs here: a non-PR question, explanation, or check; a typo, documentation, or configuration-only edit; a mechanical refactor such as a rename.
If the route is genuinely ambiguous from the request alone, ask one short clarifying question
(ask_user_question, composed per the asking-user-questions concept skill) rather than guessing.
Route
| Classification | Route |
|---|---|
| Project onboarding — no spec graph yet | Read and follow setting-up-a-project |
| PR lifecycle work | Read and follow shipping-a-pr |
| Reviewing a PR the user is not shipping | Read and follow reviewing-a-pr |
| A feature, behavior change, or bug fix | Read and follow brainstorming |
| None of the above | No matching workflow; proceed directly without announcing the routing result |
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.
- 3d ago Changed · +4 lines · +9 tokens per session d7c428a6a622
- 1mo ago Changed a1e850b0744c
- 1mo ago Changed · +3 lines · +7 tokens per session e49782b3da8a
- 2mo ago Changed · +5 lines · +12 tokens per session b1cf74e82123
- 3mo ago First seen · 52 lines · 50 tokens per session scan A 941e632e0636
choosing-a-workflow is a skill published in the GitHub repository JetBrains/thinkrail (8,500 stars, last pushed yesterday), licensed Apache-2.0. It adds 78 tokens to every session and 833 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-08-30.
choosing-a-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| choosing-a-workflowJetBrains/thinkrail | Skill | 8.5k | yesterday | Apache-2.0 | A | 78 | 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 |