All shelves / Mods / Workflow
typesafe-mod
By BeLazy167
typesafe-mod is a Claude Code workflow mod by BeLazy167.
When Claude asks you a this-or-that question, sends it to TypeSafe's Jev and draws the odds of each option beside the dialog.
DrawsHolds a command
Install
The marketplace name is typesafe-mod.
claude plugin marketplace add BeLazy167/typesafe-mod claude plugin install typesafe-mod@typesafe-mod
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.5.1
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-09-17
What it can reach
- Draws in the session
- Holds a command
- Reaches the network or an outside service
- Sees tool calls
- Calls another program on this machine
Two things are required, and without either one the mod loads and does nothing. The README turns function hooks on by setting CLAUDE_CODE_ENABLE_FUNCTION_HOOKS to 1 in the env object of ~/.claude/settings.json. The official docs say 2.1.287 and later ignore that flag. A TypeSafe API key has to be in the environment Claude Code runs in. The README points at console.typesafe.ai for a key. By default, when the agent stops to ask you a this-or-that question, the hook sends that question to TypeSafe's Jev and draws the probability of each option beside the dialog. You still choose. A dialog with several questions rides one request. Each question is judged on its own, and one can be confident while the next is handed back to you. The same numbers go to the transcript. The decision router reads the question and its options, not the conversation, and it also passes the working directory. The README says one decision is about 374 input tokens. Jev bills input only, at $0.042 per million, so the README prices that call at about $0.000016. Multi-select steps are skipped, because that answer is not a single choice. If the answer is not one of the options, it is ignored and you are asked. Every path fails open: a missing key, an HTTP error, a timeout, a throw, or a body that will not parse, and the turn carries on. The skill router starts off. Set TYPESAFE_SKILL_ROUTER to 1 to turn it on. It ranks every installed skill against your prompt, once per prompt, and asks whether the turn needs a procedure at all. A confident winner becomes one advisory line of context. The skill list the agent already has does not change. The README says that call is about 6,772 input tokens, about $0.00028, and that it adds 166 to 420 milliseconds to every prompt, which is why it starts off. When the skill router is on, the scan of installed skills takes about 1.1 seconds, once per session, and it runs find -L so it can follow the symlinks under the skills directory. The skill hint's floor is 0.6. The README documents a switch, TYPESAFE_AUTO_ANSWER set to 1, that lets Jev answer so the dialog never opens. The README says to know the cost before turning it on: answering requires deny, which the engine defines as the model receiving the text as an error result, so a decision that worked renders in red and the agent may argue with it. Advising is the default. The floor for answering instead of you is 0.75. TYPESAFE_DECIDE_OFF set to any value stops Jev answering your questions.
The marketplace name is typesafe-mod. The question panel, beside the agent's own this-or-that dialog, is why this page files it under workflow. jev-skill-suggestion draws Jev's skill scores above the prompt, and holds skill loads to the mode you picked. This one's skill router starts off, and when it is on it adds one advisory line of context and does not change which skills are listed. Its main job is the question panel, which sends your question to TypeSafe's Jev with the key you set.
Demo

What it hooks into
session.startWhen a session startsprompt.submitWhen you send a prompttool.callAround a tool call, where it can hold oneAskUserQuestionui.renderDraws into the sessionAskUserQuestion
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- BeLazy167
- Category
- Workflow
- Marketplace
- typesafe-mod
- Version
- 0.5.1
- License
- MIT
- Repo stars
- 6
- Last change
- 2026-09-17
- Language
- TypeScript
- Files
- 15