ClaudeCodeMod

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.

In your shell
claude plugin marketplace add BeLazy167/typesafe-mod
claude plugin install typesafe-mod@typesafe-mod
Open the repo

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 does, from the typesafe-mod README on the author's GitHub page.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • prompt.submitWhen you send a prompt
  • tool.callAround a tool call, where it can hold oneAskUserQuestion
  • ui.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
Repo
BeLazy167/typesafe-mod
Version
0.5.1
License
MIT
Repo stars
6
Last change
2026-09-17
Language
TypeScript
Files
15

Other mods in Workflow

keel-progressberkayturanciDraws each live keel run above the prompt and in a side pane, read from keel status and the run's activity file.squad-chatchrisluo5311Opens a pane to chat with friends on your squad's own Supabase, plus rooms for usage, git, and every session's subagents.agent-monitorGarvitNangruDraws a progress bar above the prompt as each plan step finishes, and a panel of the plan and every subagent's model, context, and cost.rllvmh1994stFor rllvm, which pulls LLVM bitcode out of a build, draws a read-only pane of the call-graph overlay. Skills and a query server come in the same install.goblin-utilJasonWarrenUKDraws a /fleet pane of every Claude Code session on this machine and sends a message to the one you pick. The same install's /pain logs friction.roadmapJasonWarrenUKDraws a /ready pane of the tasks ready in a dependency-graph roadmap and claims the one you pick. Skills in the same install update the graph.agent-flowluucas42Draws the main model, an advisor, and every subagent as cards joined by arrows in a side pane, plus every Claude Code session on this machine.grounded-engineeringmadjagstudiosDraws a pane of source-backed engineering practices that fit this repo, and Adapt asks Claude to bring one in. Skills come in the same install.pr-paneNongfsqIn the desktop app, draws a pane of this project's sessions sorted by what each needs from you, with pull requests and CI. Ask sends a prompt about one.decision-popupSzotaszDraws a frame around the question dialog and has Claude ask each decision there as a one-key choice.focus-modeSzotaszDraws a subtask list above the prompt and keeps the final answer, hiding tool calls and the rest of the turn while it is on.project-paneSzotaszDraws a side pane of this repo's git, pull requests, CI, deploys, and Supabase, and fast-forwards the branch when you press Sync.
All 396 in Workflow