Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / devtools

devtools

A debugger for Claude Code tool calls: breakpoints, pause/continue/reject/step, a timeline, an inspector, Error Lens failure diagnosis, a Permissions view of who refused each call and why, and sanitized trace exports.

Code you can checkTerminal + desktopPaneBandStatus lineToastBoxButtonCodeInputSelectText
writes files, draws

What it does

  • Draws a pane, a band above the prompt, the status line, toasts
  • Watches tool calls and can refuse them
  • Hooks classic.SessionStart, session.append, session.start
  • Keeps its own state between turns

Good points

  • No network calls
  • Starts no processes
  • Written in TypeScript
  • 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 devtools by NMenzel (pane, band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/nmenzel-devtools/
// 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 pane: open it with $.ui.open({ id: 'my-pane', title: "devtools" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button, Code, Select } = $.ui.resolve(e)
    const mode = '…'
    const value = '…'
    const length = '…'
    const label = '…'
    const label2 = '…'
    const label3 = '…'
    const hotkey = '…'
    const hits = '…'
    const observed = '…'
    const counts = '…'
    const NEXT_MODE = '…'
    const timelineLine = '…'
    const page = '…'
    const pages = '…'
    const statusIcon = '…'
    const tool = '…'
    const status = '…'
    const outcome = '…'
    const errorCategory = '…'
    const SUGGESTION_HOTKEY = '…'
    const input = '…'
    const result = '…'
    const id = '…'
    const name = '…'
    const describeBreakpoint = '…'
    const hitCount = '…'
    const notice = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="column">
          <Box flexDirection="row" columnGap={1} flexWrap="wrap">
            <Text bold>
              CLAUDE DEVTOOLS
            </Text>
            <Text dimColor>
              ·
            </Text>
            <Text bold>
              {`● ${mode}`}
            </Text>
            <Text dimColor>
              ·
            </Text>
            <Text color="error">
              ⏺ recording
            </Text>
            <Text dimColor>
              ·
            </Text>
            <Text color="error">
              {`${value} breakpoint`}
            </Text>
            <Text dimColor>
              ·
            </Text>
            <Text color="warning" bold>
              {`⏸ ${length} paused`}
            </Text>
            <Text color="planMode">
              · simulation
            </Text>
            <Text color="error">
              · RAW CAPTURE
            </Text>
            <Text color="warning">
              · headless
            </Text>
          </Box>
          <Box flexDirection="row" columnGap={2} flexWrap="wrap">
            <Box flexDirection="row">
              <Text>
                {"■ "}
              </Text>
              <Text dimColor>
                {label}
              </Text>
            </Box>
            <Box flexDirection="row">
              <Text>
                {"■ "}
              </Text>
              <Text dimColor>
                {label2}
              </Text>
            </Box>
            <Box flexDirection="row">
              <Text>
                {"■ "}
              </Text>
              <Text dimColor>
                {label3}
              </Text>
            </Box>
          </Box>
        </Box>
        <Box flexDirection="row" columnGap={2} flexWrap="wrap" marginBottom={0}>
          <Button label={`${label} ${length}`} hotkey={`${hotkey}`} plain />
          <Button label={`${label} ${length}`} hotkey={`${hotkey}`} plain />
          <Button label={`${label} ${length}`} hotkey={`${hotkey}`} plain />
        </Box>
        <Box flexDirection="column">
          <Box flexDirection="row" columnGap={1}>
            <Box flexDirection="column">
              <Box flexDirection="column" borderStyle="round" borderColor="warning" paddingX={1}>
                <Box flexDirection="row" justifyContent="space-between">
                  <Text color="warning" bold>
                    PAUSED
                  </Text>
                  <Text dimColor>
                    {`${length} held`}
                  </Text>
                </Box>
              </Box>
              <Box flexDirection="column" borderStyle="round" borderColor="error" paddingX={1}>
                <Box flexDirection="row" justifyContent="space-between">
                  <Text color="error" bold>
                    BREAKPOINTS
                  </Text>
                  <Text dimColor>
                    {`${value} on · ${length} off · ${hits} hits`}
                  </Text>
                </Box>
              </Box>
              <Box flexDirection="column" borderStyle="round" borderColor="suggestion" paddingX={1}>
                <Box flexDirection="row" justifyContent="space-between">
                  <Text color="suggestion" bold>
                    CALLS
                  </Text>
                  <Text dimColor>
                    {`${observed} observed`}
                  </Text>
                </Box>
                <Box flexDirection="row">
                  <Text>
                    ■■■■■■■■
                  </Text>
                  <Text>
                    ■■■■■■■■
                  </Text>
                  <Text>
                    ■■■■■■■■
                  </Text>
                </Box>
                <Box flexDirection="row" columnGap={2} flexWrap="wrap">
                  <Box flexDirection="row">
                    <Text>
                      {"■ "}
                    </Text>
                    <Text>
                      {`${counts} ${label}`}
                    </Text>
                  </Box>
                  <Box flexDirection="row">
                    <Text>
                      {"■ "}
                    </Text>
                    <Text>
                      {`${counts} ${label}`}
                    </Text>
                  </Box>
                  <Box flexDirection="row">
                    <Text>
                      {"■ "}
                    </Text>
                    <Text>
                      {`${counts} ${label}`}
                    </Text>
                  </Box>
                </Box>
                <Text dimColor wrap="truncate-end">
                  no calls yet
                </Text>
              </Box>
            </Box>
            <Box flexDirection="column">
              <Box flexDirection="column" borderStyle="round" borderColor="error" paddingX={1}>
                <Box flexDirection="row" justifyContent="space-between">
                  <Text color="error" bold>
                    ERRORS
                  </Text>
                  <Text dimColor>
                    {`${length} kept · e: Error Lens`}
                  </Text>
                </Box>
              </Box>
              <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
                <Box flexDirection="row" justifyContent="space-between">
                  <Text color="subtle" bold>
                    TIMELINE
                  </Text>
                  <Text dimColor>
                    {`${length} kept · t: all`}
                  </Text>
                </Box>
              </Box>
            </Box>
          </Box>
          <Box flexDirection="row" columnGap={2} flexWrap="wrap">
            <Button hotkey="p" plain label="Pause next call" />
            <Button hotkey="r" plain label="Stop recording" />
            <Button hotkey="m" plain label={`Mode → ${NEXT_MODE}`} />
            <Button hotkey="s" plain label="Export" />
          </Box>
        </Box>
        <Box flexDirection="column">
          <Text dimColor>
            No tool calls recorded yet.
          </Text>
          <Box flexDirection="row">
            <Text>
              ●
            </Text>
            <Button plain label={`${timelineLine}`} />
            <Button plain label=" why?" />
          </Box>
          <Box flexDirection="row">
            <Text>
              ●
            </Text>
            <Button plain label={`${timelineLine}`} />
            <Button plain label=" why?" />
          </Box>
          <Box flexDirection="row">
            <Text>
              ●
            </Text>
            <Button plain label={`${timelineLine}`} />
            <Button plain label=" why?" />
          </Box>
          <Box flexDirection="row" columnGap={2} flexWrap="wrap" marginTop={1}>
            <Button hotkey="k" plain label="Newer" />
            <Button hotkey="j" plain label="Older" />
            <Button hotkey="x" plain dimColor label="Clear" />
            <Text dimColor>
              {`page ${page}1/${pages} · ${length} events · ● matched a breakpoint`}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Text bold wrap="truncate-end">
            {`${statusIcon} ${tool} · ${status} · ${outcome} · SIMULATED (tool did not run)`}
          </Text>
          <Text wrap="truncate-end">
            {`event      ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`session    ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`agent      ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`started    ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`duration   ${value}`}
          </Text>
          <Text wrap="truncate-end" color="error">
            {`risk       ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`permission ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`breakpoint ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`synthetic  ${value}`}
          </Text>
          <Text wrap="truncate-end">
            {`result     ${value}`}
          </Text>
          <Text wrap="truncate-end" color="error">
            {`error      ${value}`}
          </Text>
          <Box flexDirection="row" columnGap={1}>
            <Text color="error">
              {`diagnosis  ${errorCategory}`}
            </Text>
            <Button hotkey="w" plain label="Why it failed (Error Lens)" />
          </Box>
          <Box flexDirection="row" columnGap={1} flexWrap="wrap">
            <Text dimColor>
              break on
            </Text>
            <Button hotkey={`${SUGGESTION_HOTKEY}`} plain label={`● ${label}`} />
            <Button hotkey={`${SUGGESTION_HOTKEY}`} plain label={`● ${label}`} />
            <Button hotkey={`${SUGGESTION_HOTKEY}`} plain label={`● ${label}`} />
          </Box>
          <Text bold>
            Input
          </Text>
          <Code language="json" source={`${input}`} wrap="truncate-end" />
          <Text color="warning">
            Raw capture (may contain file contents)
          </Text>
          <Code language="text" source={`${input}
---
${result}`} wrap="truncate-end" />
          <Box flexDirection="row" columnGap={2} flexWrap="wrap" marginTop={1}>
            <Button hotkey="h" plain label="Older" />
            <Button hotkey="l" plain label="Newer" />
            <Button hotkey="x" plain label="Back to timeline" />
          </Box>
        </Box>
        <Box flexDirection="column">
          <Select label="Mode " value={`${mode}`} options={[{"value":"active","label":"active: pause on breakpoints"},{"value":"observe","label":"observe: record only, never pause"},{"value":"off","label":"off: debugger does nothing"}]} />
          <Box flexDirection="row" columnGap={1} flexWrap="wrap">
            <Text dimColor>
              pause on
            </Text>
            <Button plain label={`■ ${label}`} />
            <Button plain label={`■ ${label}`} />
            <Button plain label={`■ ${label}`} />
          </Box>
          <Text dimColor>
            No breakpoints yet.
          </Text>
          <Box flexDirection="row" columnGap={1} flexWrap="wrap">
            <Text color="error">
              ●
            </Text>
            <Text wrap="truncate-end">
              {`${id} ${name}: ${describeBreakpoint} · hits ${hitCount}`}
            </Text>
            <Button plain dimColor label="Disable" />
            <Button plain dimColor label="Delete" />
          </Box>
          <Box flexDirection="row" columnGap={1} flexWrap="wrap">
            <Text color="error">
              ●
            </Text>
            <Text wrap="truncate-end">
              {`${id} ${name}: ${describeBreakpoint} · hits ${hitCount}`}
            </Text>
            <Button plain dimColor label="Disable" />
            <Button plain dimColor label="Delete" />
          </Box>
          <Box flexDirection="row" columnGap={1} flexWrap="wrap">
            <Text color="error">
              ●
            </Text>
            <Text wrap="truncate-end">
              {`${id} ${name}: ${describeBreakpoint} · hits ${hitCount}`}
            </Text>
            <Button plain dimColor label="Disable" />
            <Button plain dimColor label="Delete" />
          </Box>
          <Text dimColor>
            Add rules with /devtools-break on this surface.
          </Text>
          <Text dimColor wrap="truncate-end">
            {"Rules: tool <Name> · command <words|re:regex> · file <glob> · error [Tool] · when tool=.. path=..  (--action pause|reco…"}
          </Text>
        </Box>
        <Text dimColor>
          Error Lens is off (the devtools option errorLens).
        </Text>
        <Box flexDirection="column" />
        <Text color="warning" wrap="truncate-end">
          {notice}
        </Text>
      </Box>
    )
  })

  // 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 statusIcon = '…'
    const summary = '…'
    const BAR_HOTKEY = '…'
    const offerLabel = '…'
    const lens = '…'
    const hint = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" columnGap={1}>
          <Text color="claude" bold>
            DevTools
          </Text>
          <Text>
            {statusIcon}
          </Text>
          <Text dimColor>
            {summary}
          </Text>
          <Text dimColor>
            · break on
          </Text>
          <Button hotkey={`${BAR_HOTKEY}`} plain label={`${offerLabel}`} />
          <Button hotkey={`${BAR_HOTKEY}`} plain label={`${offerLabel}`} />
          <Button hotkey={`${BAR_HOTKEY}`} plain label={`${offerLabel}`} />
          <Button hotkey="e" plain label={`${lens}`} />
          <Button hotkey="d" plain dimColor label="DevTools" />
          <Button hotkey="x" plain dimColor label="hide" />
          <Text dimColor>
            {`· ${hint}`}
          </Text>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const tool = '…'
    const text = '…'
    const map = '…'
    const armedNote = '…'
    await $.ui.status(`⏸ DevTools: ${tool} paused`)
    await $.ui.toast(`DevTools: ${text}`)
    await $.ui.toast(`DevTools: ${tool} failed (${map}).${armedNote}`)
    return next(e)
  })
}

The mod's own code

Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.

hooks/register.tsx lines 1215–1276 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const els = $.ui.resolve(e)
    const [held, hits, arm, trace, pending, view, session, stats, lens, groups, denials, permissions] = await Promise.all([
      $.state.get(SETTINGS),
      read($, HITS),
      read($, ARM_ATOM),
      read($, TRACE),
      read($, PENDING),
      read($, VIEW),
      read($, SESSION),
      read($, STATS),
      read($, LENS),
      read($, GROUPS),
      read($, DENIALS),
      read($, PERMISSIONS),
    ])
    const settings = withHits(held.value ?? defaultSettings(options), hits)
    const rows = e.props.placement === 'dock' ? e.props.scroll.bodyRows : Math.min(e.props.scroll.bodyRows, 24)
    const layout: Layout = e.props.placement === 'inline' ? 'mini' : e.props.bodyColumns >= 110 ? 'wide' : 'compact'
    const actions: PaneActions = {
      setTab: tab => settle($, tab === 'permissions' ? showPermissions($) : setView($, { tab })),
      inspect: id => settle($, setView($, { tab: 'inspector', selectedId: id })),
      page: delta => settle($, movePage($, delta)),
      toggleBreakpoint: id => settle($, editBreakpoint($, 'toggle', id)),
      deleteBreakpoint: id => settle($, editBreakpoint($, 'delete', id)),
      addBreakpoint: spec => settle($, addFromPane($, spec)),
      toggleCategory: category => settle($, toggleCategory($, category)),
      toggleSuggestion: suggestion => settle($, toggleSuggestion($, suggestion)),
      setMode: mode => settle($, setMode($, mode)),
      toggleRecording: () => settle($, toggleRecording($)),
      togglePauseNext: () => settle($, toggleArm($)),
      clearTimeline: () => settle($, clearTimeline($)),
      exportTrace: () => settle($, exportFromPane($)),
      openLens: id => settle($, setView($, { tab: 'errors', lensId: id })),
      clearErrors: () => settle($, clearErrors($)),
      reloadPermissions: () => settle($, readPermissionSettings($)),
      openDenial: id => settle($, openDenial($, id)),
      clearDenials: () => settle($, clearDenials($)),
    }
    return renderPane(
      els,
      {
        settings,
        arm,
        trace,
        pending,
        view,
        session,
        stats,
        lens,
        groups,
        denials,
        permissions,
        options,
        columns: e.props.bodyColumns,
        rows: Math.max(6, rows),
        layout,
        hasFields: e.surface !== 'mobile',
      },
      actions,
    )
  })
src/ui/pane.tsx lines 71–102 · Pane
export function renderPane(els: Table, m: PaneModel, act: PaneActions): RenderElement {
  const { Box, Text, Button } = els
  const width = Math.max(24, m.columns)
  return (
    <Box flexDirection="column" width={width}>
      {header(els, m)}
      <Box flexDirection="row" columnGap={2} flexWrap="wrap" marginBottom={m.layout === 'mini' ? 0 : 1}>
        {TABS.map(([tab, label, hotkey]) => (
          <Button
            key={`tab-${tab}`}
            label={tab === 'errors' && m.lens.length > 0 ? `${label} ${m.lens.length}` : tab === 'permissions' && m.denials.length > 0 ? `${label} ${m.denials.length}` : label}
            hotkey={hotkey}
            plain
            dimColor={m.view.tab !== tab}
            onPress={() => act.setTab(tab)}
          />
        ))}
      </Box>
      {m.view.tab === 'dashboard' && dashboard(els, m, act, width)}
      {m.view.tab === 'timeline' && timeline(els, m, act, width)}
      {m.view.tab === 'inspector' && inspector(els, m, act, width)}
      {m.view.tab === 'breakpoints' && breakpoints(els, m, act, width)}
      {m.view.tab === 'errors' && errorsView(els, m, act, width)}
      {m.view.tab === 'permissions' && permissionsView(els, m, act, width)}
      {m.view.notice !== undefined && (
        <Text key="notice" color={C.paused} wrap="truncate-end">
          {m.view.notice}
        </Text>
      )}
    </Box>
  )
}
src/ui/pane.tsx lines 38–69 · Pane
function header(els: Table, m: PaneModel): RenderElement {
  const { Box, Text } = els
  const on = m.settings.breakpoints.filter(bp => bp.enabled).length
  return (
    <Box key="header" flexDirection="column">
      <Box flexDirection="row" columnGap={1} flexWrap="wrap">
        <Text bold>CLAUDE DEVTOOLS</Text>
        <Text dimColor>·</Text>
        <Text color={MODE_COLOR[m.settings.mode]} bold>{`● ${m.settings.mode}`}</Text>
        <Text dimColor>·</Text>
        <Text color={m.settings.recording ? C.breakpoints : C.faint}>{m.settings.recording ? '⏺ recording' : '○ not recording'}</Text>
        <Text dimColor>·</Text>
        <Text color={C.breakpoints}>{`${on} breakpoint${on === 1 ? '' : 's'}`}</Text>
        {m.pending.length > 0 && <Text dimColor>·</Text>}
        {m.pending.length > 0 && <Text color={C.paused} bold>{`⏸ ${m.pending.length} paused`}</Text>}
        {m.options.simulation && <Text color="planMode">· simulation</Text>}
        {m.options.captureRaw && <Text color="error">· RAW CAPTURE</Text>}
        {!m.session.isInteractive && <Text color={C.paused}>· headless</Text>}
      </Box>
      {m.layout !== 'mini' && (
        <Box flexDirection="row" columnGap={2} flexWrap="wrap">
          {LEGEND.map(([status, label]) => (
            <Box key={`legend-${status}`} flexDirection="row">
              <Text color={STATUS_COLOR[status]}>■ </Text>
              <Text dimColor>{label}</Text>
            </Box>
          ))}
        </Box>
      )}
    </Box>
  )
}
src/ui/dashboard.tsx lines 236–269 · Pane
export function dashboard(els: Table, m: PaneModel, act: PaneActions, width: number): RenderElement {
  const { Box } = els
  if (m.layout === 'mini') return mini(els, m, act, width)
  if (m.layout === 'wide') {
    const left = Math.floor((width - 1) / 2)
    const right = width - left - 1
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" columnGap={1}>
          <Box flexDirection="column" width={left}>
            {pausedPanel(els, m, act, left)}
            {breakpointsPanel(els, m, act, left, 8)}
            {callsPanel(els, m, left)}
          </Box>
          <Box flexDirection="column" width={right}>
            {errorsPanel(els, m, act, right, 3)}
            {timelinePanel(els, m, act, right, Math.max(5, m.rows - 8 - (m.groups.length > 0 ? Math.min(3, m.groups.length) + 3 : 0)))}
          </Box>
        </Box>
        {actions(els, m, act)}
      </Box>
    )
  }
  return (
    <Box flexDirection="column">
      {pausedPanel(els, m, act, width)}
      {errorsPanel(els, m, act, width, 3)}
      {breakpointsPanel(els, m, act, width, 5)}
      {callsPanel(els, m, width)}
      {timelinePanel(els, m, act, width, Math.max(3, Math.min(8, m.rows - 22)))}
      {actions(els, m, act)}
    </Box>
  )
}
src/ui/dashboard.tsx lines 209–234 · Pane
function mini(els: Table, m: PaneModel, act: PaneActions, width: number): RenderElement {
  const { Box, Text } = els
  const s = m.stats
  const on = m.settings.breakpoints.filter(bp => bp.enabled).length
  const pending = m.pending[0]
  const isArmed = m.arm.pauseNext || m.arm.step
  return (
    <Box flexDirection="column" borderStyle="round" borderColor={pending !== undefined ? C.paused : C.faint} paddingX={1} width={width}>
      {pending !== undefined ? (
        <Text color={C.paused} bold wrap="truncate-end">
          {truncate(`⏸ ${pending.tool} ${pending.inputSummary} · ${pending.reason}`, width - 4)}
        </Text>
      ) : (
        <Text dimColor wrap="truncate-end">
          {`${on} breakpoint${on === 1 ? '' : 's'} on${isArmed ? ' · ◆ next call pauses' : ''} · ${s.observed} calls`}
        </Text>
      )}
      <Box flexDirection="row" columnGap={1}>
        <Text dimColor>calls</Text>
        {strip(els, m.trace, Math.max(8, Math.min(40, width - 40)))}
        <Text dimColor wrap="truncate-end">{`${s.completed} ok · ${s.failed} failed · ${s.denied} denied${s.simulated > 0 ? ` · ${s.simulated} simulated` : ''}`}</Text>
      </Box>
      {actions(els, m, act)}
    </Box>
  )
}
src/ui/dashboard.tsx lines 44–63 · Pane
function strip(els: Table, events: readonly TraceEvent[], cells: number): RenderElement {
  const { Box, Text } = els
  const shown = events.slice(-Math.max(1, cells))
  const runs: Array<{ status: TraceStatus; count: number }> = []
  for (const event of shown) {
    const last = runs.at(-1)
    if (last !== undefined && last.status === event.status) last.count += 1
    else runs.push({ status: event.status, count: 1 })
  }
  if (runs.length === 0) return <Text dimColor>{'·'.repeat(Math.max(1, Math.min(cells, 24)))}</Text>
  return (
    <Box flexDirection="row">
      {runs.map((run, i) => (
        <Text key={`run-${i}`} color={STATUS_COLOR[run.status]}>
          {'■'.repeat(run.count)}
        </Text>
      ))}
    </Box>
  )
}
Licence text (MIT)
MIT License

Copyright (c) 2026 NMenzel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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

What its code calls

writes filestool callsremembers

What its code shows

Read from the source at commit 29b1f8c5b4e0 on 2026-10-11. 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.hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.18 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.starts no programs
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).reads files, settings.json, but reaches nothing outside
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.MIT
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.adds command devtools, adds command devtools-status, adds command devtools-break, adds command devtools-list, adds command devtools-pause, adds command devtools-continue, adds command devtools-disable, adds command devtools-enable, adds command devtools-record, adds command devtools-export, adds command devtools-errors, adds command devtools-permissions, adds command devtools-help, adds command bp, adds command bpl, adds command bpn, adds command bpc, adds command bpe, adds command bpp
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: tool.call, tool.check, command.run, session.append · reads: classic.SessionStart · also: session.start, ui.render (Pane, ToolUse, ToolGroup (+1)) · timers: clock.after
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.files: a path computed at run time; settings.json
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.files: a path computed at run time

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 NMenzel/claude-devtools-mod
/plugin install devtools@claude-devtools-mod
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (29b1f8c5b4e0). 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/NMenzel/claude-devtools-mod
git -C claude-devtools-mod checkout 29b1f8c5b4e05b6525586157acb1f6921bc789d7
claude plugin validate claude-devtools-mod
claude --plugin-dir claude-devtools-mod

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 about it

With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:

Read the ModsCode mod "nmenzel-devtools" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More by NMenzel

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/nmenzel-devtools.svg)](https://modscode.com/claude-mods/mods/nmenzel-devtools/)