Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / studio

studio

Creator HUD above the prompt: live usage bars, a REC mode that masks secrets on screen, and an Explain pane that recaps the last turn.

Code you can checkTerminal + desktopPaneBandStatus lineToastBoxButtonSvgText
runs programs, drives Claude, draws

What it does

  • Draws a band above the prompt, a pane, the status line, toasts
  • Adds /explain, /rec
  • Watches tool calls
  • Hooks prompt.submit, session.measure, session.start, turn.complete
  • Keeps its own state between turns

Good points

  • No network calls
  • Written in TypeScript
  • Has a desktop-specific branch
  • Handles errors

Code to start from

A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.

Starter (register.tsx)

register.tsx
import type { Register } from 'claude-code'

// Drawn like studio by DFA Course Academy (pane, band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/krystianwoj22-studio/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const br = '…'
    const full = '…'
    const empty = '…'
    const label = '…'
    const full2 = '…'
    const empty2 = '…'
    const label2 = '…'
    const full3 = '…'
    const empty3 = '…'
    const label3 = '…'
    const full4 = '…'
    const empty4 = '…'
    const label4 = '…'
    const money = '…'
    const turnFacts = '…'
    return (
      <Box flexDirection="column" paddingX={1}>
        <Box flexDirection="row" justifyContent="space-between" alignItems="center">
          <Box flexDirection="row" flexShrink={1}>
            <Text bold wrap="truncate-end">
              Session
            </Text>
            <Text color="success" wrap="truncate-end">
              {"   ⎇ "}
              {br}
            </Text>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Button hotkey="r" label="● REC" variant="primary" />
            <Button hotkey="e" label="✦ Explain" />
          </Box>
        </Box>
        <Box flexDirection="row" flexWrap="wrap" columnGap={3}>
          <Box flexDirection="column">
            <Text dimColor bold>
              CONTEXT
            </Text>
            <Box flexDirection="row" alignItems="center">
              <Box flexDirection="row">
                <Text>
                  {full}
                </Text>
                <Text dimColor>
                  {empty}
                </Text>
              </Box>
              <Text bold>
                {" "}
                {label}
              </Text>
            </Box>
            <Text dimColor wrap="truncate-end">
              {" "}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text dimColor bold>
              5-HOUR LIMIT
            </Text>
            <Box flexDirection="row" alignItems="center">
              <Box flexDirection="row">
                <Text>
                  {full2}
                </Text>
                <Text dimColor>
                  {empty2}
                </Text>
              </Box>
              <Text bold>
                {" "}
                {label2}
              </Text>
            </Box>
            <Text dimColor wrap="truncate-end">
              {" "}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text dimColor bold>
              WEEKLY LIMIT
            </Text>
            <Box flexDirection="row" alignItems="center">
              <Box flexDirection="row">
                <Text>
                  {full3}
                </Text>
                <Text dimColor>
                  {empty3}
                </Text>
              </Box>
              <Text bold>
                {" "}
                {label3}
              </Text>
            </Box>
            <Text dimColor wrap="truncate-end">
              {" "}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text dimColor bold>
              SPEND LIMIT
            </Text>
            <Box flexDirection="row" alignItems="center">
              <Box flexDirection="row">
                <Text>
                  {full4}
                </Text>
                <Text dimColor>
                  {empty4}
                </Text>
              </Box>
              <Text bold>
                {" "}
                {label4}
              </Text>
            </Box>
            <Text dimColor wrap="truncate-end">
              {" "}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Text dimColor bold>
              SESSION
            </Text>
            <Text bold>
              {money}
            </Text>
            <Text dimColor wrap="truncate-end">
              {" "}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Text dimColor bold>
            {"LAST TURN   "}
          </Text>
          <Text wrap="truncate-end">
            {turnFacts}
          </Text>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  // the pane: open it with $.ui.open({ id: 'my-pane', title: "Explain" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const i = '…'
    const length = '…'
    const mask = '…'
    const proj = '…'
    const stamp = '…'
    const dur = '…'
    const money = '…'
    const err = '…'
    const mask2 = '…'
    const k = '…'
    const mask3 = '…'
    const k2 = '…'
    const mask4 = '…'
    const k3 = '…'
    const mask5 = '…'
    const mask6 = '…'
    const mask7 = '…'
    const mask8 = '…'
    const mask9 = '…'
    const mask10 = '…'
    const mask11 = '…'
    const mask12 = '…'
    const mask13 = '…'
    const toolTally = '…'
    const learned = '…'
    const tokens = '…'
    return (
      <Box flexDirection="column" paddingX={1}>
        <Box flexDirection="row" justifyContent="space-between">
          <Text color="claude" bold>
            ✦ EXPLAIN
          </Text>
          <Text dimColor>
            {`${i}1`}
            {" of "}
            {length}
          </Text>
        </Box>
        <Text bold>
          {mask}
        </Text>
        <Text dimColor>
          {`${proj} · `}
          {stamp}
          {` · ${dur} · ${money}`}
        </Text>
        <Text color="suggestion">
          ↻ explaining the newest turn…
        </Text>
        <Text color="error">
          {err}
        </Text>
        <Box marginTop={1}>
          <Text color="suggestion" bold>
            ◆
            {" "}
            TL;DR
          </Text>
        </Box>
        <Text>
          {mask2}
        </Text>
        <Box flexDirection="column">
          <Box marginTop={1}>
            <Text color="warning" bold>
              ▸
              {" "}
              WHAT HAPPENED
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text color="warning" bold>
              {k}
              {" "}
            </Text>
            <Text>
              {mask3}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text color="warning" bold>
              {k2}
              {" "}
            </Text>
            <Text>
              {mask4}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text color="warning" bold>
              {k3}
              {" "}
            </Text>
            <Text>
              {mask5}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Box marginTop={1}>
            <Text color="success" bold>
              ?
              {" "}
              WHY
            </Text>
          </Box>
          <Text>
            {mask6}
          </Text>
        </Box>
        <Box flexDirection="column">
          <Box marginTop={1}>
            <Text color="permission" bold>
              ≡
              {" "}
              TERMS
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text color="permission" bold>
              {mask7}
            </Text>
            <Text dimColor>
              {" — "}
            </Text>
            <Text>
              {mask8}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text color="permission" bold>
              {mask9}
            </Text>
            <Text dimColor>
              {" — "}
            </Text>
            <Text>
              {mask10}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text color="permission" bold>
              {mask11}
            </Text>
            <Text dimColor>
              {" — "}
            </Text>
            <Text>
              {mask12}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Box marginTop={1}>
            <Text color="error" bold>
              !
              {" "}
              WATCH OUT
            </Text>
          </Box>
          <Text>
            {mask13}
          </Text>
        </Box>
        <Box marginTop={1}>
          <Text color="success" bold>
            ✓
            {" "}
            DO NEXT
          </Text>
        </Box>
        <Text>
          Nothing — all done.
        </Text>
        <Box marginTop={1}>
          <Text dimColor>
            ────────
          </Text>
        </Box>
        <Text dimColor wrap="truncate-end">
          {"tools "}
          {toolTally}
          {`  ·  files ${mask} +${length}`}
        </Text>
        <Text dimColor>
          {"terms learned "}
          {learned}
          {" · recap cost "}
          {tokens}
          {" new tokens"}
        </Text>
        <Box flexDirection="row" gap={1} marginTop={1} flexWrap="wrap">
          <Button hotkey="p" label="◀ Older" />
          <Button hotkey="n" label="Newer ▶" />
          <Button hotkey="e" label="↻ Explain latest" variant="primary" />
          <Button hotkey="c" label="⧉ Copy" />
          <Button hotkey="x" label="Close" role="dismiss" />
        </Box>
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const dur = '…'
    await $.ui.status(`● REC — screen masking on`)
    await $.ui.toast(`● REC on — secrets, emails and paths are masked on screen`)
    await $.ui.toast(`Done in ${dur} — press ctrl+x tab, then e to explain`)
    return next(e)
  })
}

The mod's own code

Its licence text was not found at the commit read, so only the places in the source are linked.

How to build this: Pane (panel), Deny a tool call

What its code calls

runs programsdrives Claudetool callsremembers

What its code shows

Read from the source at commit c0999631d92e. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.

Decides the listing: code you can check
Entry readEvery module hooks/hooks.json names was read.studio/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.2 files parsed
All its code is in the modEvery import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod
ReadableNo minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs
Calls in the openNetwork and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open
For you to weigh before installing
Where it drawsThe terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both
Install lineWhether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there
Programs on WindowsWhether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks
NetworkWhether every fetch names its https host in the code.no network
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.git (reaches the network)
Reads and sendsWhether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reaches the network, but reads no files, no environment variables and no transcript
Keys in the sourceWhether the source holds what looks like an API key or a private key.no keys in the source
LicenceAn open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.no licence
Settings hooksHooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone
Servers it shipsMCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/
Skills, commands, agentsWhat its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows
Tools and MCPWhether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command
Asks of the modelCompletions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.model.fork (sends its own transcript), adds command rec, adds command explain
Events it hooksBy what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: prompt.submit, tool.call, command.run (explain, rec) · also: session.start, session.measure, turn.complete, ui.render (UserMessage, AssistantMessage, ToolUse (+4)) · timers: clock.every
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.reads no files, environment variables, settings or transcript
Writes, by nameThe files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.the clipboard

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

From its marketplace

Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:

/plugin marketplace add krystianwoj22/claude-mods
/plugin install studio@krystian-mods
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (c0999631d92e). Compare them before you install. /reload-plugins loads it into a session that is already open.

Try the commit ModsCode read

No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:

git clone https://github.com/krystianwoj22/claude-mods
git -C claude-mods checkout c0999631d92e435cd8608768e25718abf0d63283
claude plugin validate claude-mods/studio
claude --plugin-dir claude-mods/studio

The validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.

Ask Claude or ChatGPT about it

With ModsCode added as a connector, Claude or ChatGPT can read this mod's code, what it reaches and how its controls are wired, and build on them. Ask it like this:

Read the ModsCode mod "krystianwoj22-studio" with its code and make me one like it

Add the ModsCode MCP to Claude or ChatGPT

Similar mods

More from this repository

Badge for your README

If this is your mod, paste this into your README. It links to this page.

README.md
[![ModsCode](https://modscode.com/badge/krystianwoj22-studio.svg)](https://modscode.com/claude-mods/mods/krystianwoj22-studio/)