choosing-a-workflow

choosing-a-workflow is a skill for Claude Code, Codex from JetBrains/thinkrail. It costs 78 tokens per session (833 once invoked), scanned A, original, Apache-2.0.

A workflow router that decides which work process should govern a new request before work begins.

In plain words
What is it for?
Use it at the start of new work to classify project onboarding, changes to the codebase, and pull-request lifecycle tasks.
Why use it?
It prevents a feature, project setup task, pull-request task, or question from being handled with the wrong process.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it at the start of new work to classify project onboarding, changes to the codebase, and pull-request lifecycle tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jetbrains/thinkrail/choosing-a-workflow
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 choosing-a-workflow
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 choosing-a-workflow

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

agentmods 80×15 button for choosing-a-workflow

Your own site · 80×15
<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>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 833 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00078 $0.00833
Opus 5.5 $0.00031 $0.00333
Sonnet 5.5 $0.00016 $0.00167
Haiku 4.5 $0.00008 $0.00083

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

Security

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.

packages/pi-thinkrail-workflow/skills/choosing-a-workflow/SKILL.md · 64 lines

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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

Read the full file on GitHub · 64 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. 3d ago Changed · +4 lines · +9 tokens per session d7c428a6a622
  2. 1mo ago Changed a1e850b0744c
  3. 1mo ago Changed · +3 lines · +7 tokens per session e49782b3da8a
  4. 2mo ago Changed · +5 lines · +12 tokens per session b1cf74e82123
  5. 3mo ago First seen · 52 lines · 50 tokens per session scan A 941e632e0636

Subscribe to this mod's changes

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.

Related

choosing-a-workflow compared with skills from other repositories

choosing-a-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
choosing-a-workflowJetBrains/thinkrailSkill8.5kyesterdayApache-2.0A78Claude 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