ClaudeCodeMod

All shelves / Mods / Usage

optim-jev

By Oqura-ai

optim-jev is a Claude Code usage mod by Oqura-ai.

Has TypeSafe's Jev drop stale tool calls and their output when the session compacts, keeping the rest word for word, and draws a dashboard above the prompt.

Draws

Install

The marketplace name is optim-jev.

In your shell
git clone https://github.com/Oqura-ai/optim-jev.git
claude plugin marketplace add ./optim-jev
claude plugin install optim-jev@optim-jev
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.1.0
License
MIT
Repo stars
47
Last change
2026-10-21

What it can reach

  • Draws in the session
  • Reads usage or context figures
  • Sees tool calls
  • Reaches the network or an outside service
  • Calls another program on this machine

Needs Python 3.10 or newer and a TypeSafe API key for Jev. Set the key under /config as TypeSafe API key, or export TYPESAFE_API_KEY before starting Claude Code, then restart. The author says the key reaches the plugin's Python tools through their environment and is never written to project files or logs. jev-compacter is on by default: /compact and auto-compaction remove stale tool calls and their output instead of summarizing the conversation, and /jev-compact stats shows what that saved. The author's guide says it also runs on its own after a turn once the context is 60 percent full. It says Jev sees the whole conversation with each tool output replaced by a size note, and that tool calls in the first message and the newest six are never judged. The router, /jev-route, and the skill picker, /jev-skills, are off until you turn them on. With the router on, Claude changes files through subagents and Jev picks each one's model. The dashboard above the prompt shows the three tools, the context fill, and their latest decisions, with buttons to compact now or turn the router and the skill picker on or off. Set Dashboard to off in /config for a status line instead. The same repository routes subagents for OpenAI Codex, where compaction and the dashboard do not apply.

The plugin is the repository. The marketplace name is optim-jev, and the install clones the repository and adds the copy as a local marketplace. Cutting what each compaction keeps is why this page files it under usage. fast-jev-compaction shows a toast when /compact keeps the messages Jev still wants and drops the rest. caliber-jev-compaction replaces /compact the same way and toasts what it kept. This one also compacts on its own at 60 percent, measures what each compaction cost, and adds a model router and a skill picker, both off by default. The router guide says that with the router on, a write the project's rules forbid for a subagent's model is refused, and the refusal names the rule.

Demo

The optim-jev getting-started guide: the dashboard above the prompt reads optim-jev, Context 12%, soft 60%, hard 85%, Router off, Skills off, and its buttons compact now or toggle the router and skill picker.
Screenshot of the author's GitHub page.

What it hooks into

  • command.runWhen you run its slash command/jev-route/jev-compact
  • prompt.composeWhile you write a prompt
  • turn.startWhen Claude starts a turn
  • tool.callAround a tool call, where it can hold oneEditWriteNotebookEditBashPowerShell
  • turn.stepAt each step of a turn
  • agent.spawnWhen a subagent starts
  • prompt.attachmentA Claude Code event
  • prompt.submitWhen you send a prompt
  • tool.checkA Claude Code eventReadGlobGrep
  • skill.promptA Claude Code event
  • session.startWhen a session starts
  • session.compactWhen the context is compacted
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionAbovePromptCommandOutput

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /jev-compactJev compacter: this session's compactions and what they cost

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
Oqura-ai
Category
Usage
Marketplace
optim-jev
Repo
Oqura-ai/optim-jev
Version
0.1.0
License
MIT
Repo stars
47
Last change
2026-10-21
Language
Python
Files
102

Other mods in Usage

secondwindorchetronCompresses Bash output of 512 bytes or more through the local secondwind binary, keeps the full text one call away, and draws a pane of the net tokens saved.session-hudbradtraversyDraws a strip above the prompt with the git branch, warned on main, context used against a target you set, and weekly usage, and a Details pane of the rest.time-blamekaranb192Splits each turn's time between Claude, each tool, your approvals, and the rest, under the answer, and /blame opens a panel of the whole session's split.subagent-tunerKruhlikauHolds a commandPicks each subagent's model and effort by asking you in a pane, from a recommendation for the task, or from your saved default, with a band above the prompt.cockpitdrkokorevHolds a commandOpens a panel beside the transcript with context, rate limits, cost, subagents, tool calls, changed files, and tests, and asks before rm -rf or a force push.cache-refresherolddonkeyDraws a bar above the prompt with the time until the prompt cache expires and what a rebuild would cost, and can refresh the cache while you are away.context-alertnathanonnOpens a question dialog when the context window reaches 40 percent, offering to write a handoff doc and then compact, write one only, or compact now.stintdigital-stoic-orgDraws a band above the prompt with context fill, plan headroom, and the stint count, and /pit saves notes, clears, and starts the fresh context from them.orca-movemutlumehmetMoves a session to a twin account as one nears its usage limit: it runs /exit once the prompt box is empty, or shows a toast asking you to clear it.model-relaycablateOpens a panel above the prompt to switch this window to another model provider, routes subagents to providers, and fails over when Claude returns a 429.rtk-gainrtk-aiDraws what RTK saves while Claude works: a band above the prompt, the saving in the spinner, and a /rtk-gain pane where a viking breaks the saved tokens.tokendoctorrsaryevShows where your Claude Code tokens went, audits your settings with 33 checks, and changes a setting only after a dialog shows the change and you press Apply.
All 183 in Usage