ModsCode / Claude Code Mods / Ranking / net-connections
net-connections
Pane listing every network connection this session made, traced back to the prompt and command that caused it
What it does
- Draws a pane
- Adds /net
- Watches tool calls and can refuse them
- Hooks session.start, turn.start, turn.step, ui.focus and 1 more
- Keeps its own state between turns
Good points
- Written in TypeScript
- Handles errors
- Writes no files
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)
import type { Register } from 'claude-code'
// Drawn like net-connections by soefrey (pane), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/soefrey-net-connections/
// 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: "Network connections" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const length = '…'
const uncertain = '…'
const size = '…'
const fmtNum = '…'
const running = '…'
const nNew = '…'
const showing = '…'
const glyph = '…'
const KIND_LABEL = '…'
const host = '…'
const seq = '…'
const url = '…'
const protocol = '…'
const status = '…'
const statusText = '…'
const printable = '…'
const printable2 = '…'
const EVIDENCE_TEXT = '…'
const reason = '…'
const fmtTime = '…'
const bytes = '…'
const source = '…'
const toolUseId = '…'
const printable3 = '…'
const rowLabel = '…'
const i = '…'
const text = '…'
const printable4 = '…'
const key = '…'
const printable5 = '…'
const key2 = '…'
const printable6 = '…'
const key3 = '…'
const printable7 = '…'
const printable8 = '…'
const rawPage = '…'
const rawPages = '…'
const t = '…'
const t2 = '…'
const t3 = '…'
const promptLabel = '…'
const value = '…'
return (
<Box flexDirection="column" flexGrow={1} backgroundColor="black">
<Box flexDirection="column">
<Box flexDirection="column">
<Text wrap="truncate-end">
<Text bold color="cyan">
NETWORK CONNECTIONS
</Text>
<Text bold>
{` · ${length} connections`}
</Text>
<Text color="yellow">
{` (${uncertain} uncertain)`}
</Text>
<Text color="#ff8700" bold>
{" · ⇄ 0 file-share access"}
</Text>
<Text dimColor>
{` · ${size} hosts · 0 local tool calls · ${length} prompts · ${fmtNum}↑ ${fmtNum}↓ tokens`}
</Text>
<Text color="yellow">
{` · ${running} open`}
</Text>
<Text color="green" bold>
{` · ★ ${nNew} new host`}
</Text>
</Text>
<Box flexDirection="row" flexWrap="wrap" columnGap={1}>
<Button plain hotkey="l" label="list" />
<Button plain hotkey="g" label="by prompt" />
<Button plain hotkey="h" label="by host" />
<Text dimColor>
│
</Text>
<Button plain hotkey="z" label="local tool calls: shown" />
</Box>
<Text color="cyan" wrap="truncate-end">
{`Showing: ${showing}`}
</Text>
</Box>
<Box flexDirection="row" columnGap={1} marginTop={1}>
<Button plain hotkey="b" label="back" />
<Button plain hotkey="p" label="newer" />
<Button plain hotkey="n" label="older" />
<Button plain hotkey="o" label="all from this prompt" />
<Button plain hotkey="t" label="all to this host" />
<Button plain hotkey="c" label="copy" />
</Box>
<Text>
{" "}
</Text>
<Text wrap="truncate-end">
<Text>
{glyph}
{" "}
</Text>
<Text bold>
{KIND_LABEL}
{" "}
</Text>
<Text bold>
{host}
</Text>
<Text color="green" bold>
{" ★ NEW HOST"}
</Text>
<Text dimColor>
{` #${seq}`}
</Text>
</Text>
<Box flexDirection="column" borderStyle="round" borderColor="#ff8700" paddingX={1} marginY={1}>
<Text color="#ff8700" bold>
⇄ File-share access — not a web or API connection
</Text>
<Text wrap="wrap">
{`The path lies on the network file system ${url}. The operating system reaches it over ${protocol}, opening or reusing a s…`}
</Text>
<Text wrap="wrap" dimColor>
Duration and size are those of the tool call; the file-system session may outlive it, be shared with other programs, an…
</Text>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Status
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{`${status} — ${statusText}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
URL
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Protocol
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable2}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Evidence
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap" color="yellow">
{`${EVIDENCE_TEXT} — ${reason}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Started
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{`${fmtTime}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Duration
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
still open
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Streamed out
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{`${bytes} chars`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Made by
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{`${source} (${toolUseId})`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Subagent
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable3}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold>
Caused by
</Text>
<Text wrap="wrap" dimColor>
{`The ${source} call whose processes opened this connection; the engine reports the call, the poller saw the connection.`}
</Text>
<Button plain hotkey="u" label={`↑ ${rowLabel}`} />
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold>
{`Observed connections of this call (${length})`}
</Text>
<Text wrap="wrap" dimColor>
What this call's processes connected to, as the poller saw it in the TCP table.
</Text>
<Button plain hotkey={`${i}`} label={`↳ ${rowLabel}`} />
<Button plain hotkey={`${i}`} label={`↳ ${rowLabel}`} />
<Button plain hotkey={`${i}`} label={`↳ ${rowLabel}`} />
</Box>
<Text>
{" "}
</Text>
<Text bold>
Origin
</Text>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
(no prompt)
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{`${fmtTime} ${text}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Request
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable4}
</Text>
</Box>
</Box>
<Text>
{" "}
</Text>
<Text bold>
Details
</Text>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
{key}
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable5}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
{key2}
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable6}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
{key3}
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable7}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Box flexDirection="row" columnGap={1}>
<Text bold>
Response
</Text>
<Button plain hotkey="w" label="tool output" />
<Button plain hotkey="r" label="raw page" />
<Button plain hotkey="f" label="fetch again" />
</Box>
<Box flexDirection="column">
<Text wrap="wrap" color="yellow">
{`Fetched again by this pane at ${fmtTime}, not the bytes WebFetch received: mods only see the tool's output. The page may…`}
</Text>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Status
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap" color="red">
{`HTTP ${status}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Content type
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{printable8}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box width={20} flexShrink={0}>
<Text dimColor>
Length
</Text>
</Box>
<Box flexGrow={1}>
<Text wrap="wrap">
{`${length} chars — first 100000 shown`}
</Text>
</Box>
</Box>
<Box flexDirection="row" columnGap={1} marginTop={1}>
<Button plain hotkey="k" label="previous part" />
<Text dimColor>
{`part ${rawPage}1/${rawPages}`}
</Text>
<Button plain hotkey="j" label="next part" />
</Box>
<Text>
{" "}
</Text>
<Text wrap="wrap">
{t}
</Text>
<Text wrap="wrap">
{t2}
</Text>
<Text wrap="wrap">
{t3}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold>
{`Other connections from ${promptLabel} (${length})`}
</Text>
<Button plain dimColor label={`${value}`} />
<Button plain dimColor label={`${value}`} />
<Button plain dimColor label={`${value}`} />
</Box>
</Box>
</Box>
)
})
}
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 810–818 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const { Box } = $.ui.resolve(e)
const body = await renderPane($, e)
return (
<Box flexDirection="column" flexGrow={1} backgroundColor="black" minHeight={e.viewport?.rows}>
{body}
</Box>
)
})hooks/register.tsx lines 845–1004 · Pane
async function renderPane($: $, e: RenderInput<'Pane'>) {
const { Box, Text, Button } = $.ui.resolve(e)
listRows = []
const all = await read($, conns)
const ps = await read($, prompts)
const v = await read($, view)
const fresh = new Set(await read($, newHosts))
const width = Math.max(30, e.props.bodyColumns)
const rows = Math.max(8, (e.viewport?.rows ?? 30) - 2)
const promptById = new Map(ps.map(p => [p.id, p]))
// A row the poller saw belongs to the tool call with its tool use id: that call's own row.
const isSeen = (c: NetConn) => c.seenByPoller === true
const callRows = new Map<string, NetConn>()
for (const c of all) if (c.toolUseId !== undefined && !isSeen(c) && !callRows.has(c.toolUseId)) callRows.set(c.toolUseId, c)
const parentOf = (c: NetConn) => (isSeen(c) && c.toolUseId !== undefined ? callRows.get(c.toolUseId) : undefined)
const seenOf = new Map<string, NetConn[]>()
for (const c of all) {
const p = parentOf(c)
if (p !== undefined) seenOf.set(p.id, [...(seenOf.get(p.id) ?? []), c])
}
const promptLabel = (id?: string) => {
const p = id === undefined ? undefined : promptById.get(id)
return p === undefined ? '(no prompt)' : `${p.kind === 'command' ? 'C' : 'P'}${p.seq}`
}
const showLocal = v.showLocal === true
const net = all.filter(c => c.kind !== 'local')
const networked = (c: NetConn) => c.kind === 'local' && seenOf.has(c.id)
const nNetworked = all.filter(networked).length
const counts: Record<string, number> = { all: showLocal ? all.length : net.length + nNetworked, model: 0, web: 0, shell: nNetworked, mcp: 0, service: 0, share: 0, local: 0 }
for (const c of all) counts[c.kind] = (counts[c.kind] ?? 0) + 1
const uncertain = net.filter(c => c.confidence === 'uncertain').length
const hosts = new Set(net.map(c => c.host).filter(h => !PLACEHOLDER_HOSTS.has(h)))
const tokIn = all.reduce((n, c) => n + Number(c.details.find(d => d.key === 'Input tokens')?.value ?? 0) + Number(c.details.find(d => d.key === 'Cache read tokens')?.value ?? 0), 0)
const tokOut = all.reduce((n, c) => n + Number(c.details.find(d => d.key === 'Output tokens')?.value ?? 0), 0)
const running = net.filter(c => c.status === 'running').length
const nNew = [...hosts].filter(h => fresh.has(h)).length
// What the view shows right now, since the buttons alone make the choice hard to see.
const viewName = { list: 'list', detail: 'details', prompts: 'by prompt', hosts: 'by host' }[v.mode]
const showing = [
`view: ${viewName}`,
...(v.mode === 'list'
? [
`kind: ${v.filter === 'all' ? 'all' : KIND_LABEL[v.filter].toLowerCase()}`,
...(v.promptId !== undefined ? [`prompt: ${promptLabel(v.promptId || undefined)}`] : []),
...(v.host !== undefined ? [`host: ${v.host}`] : []),
]
: []),
...(v.mode === 'hosts' ? [`hosts: ${{ session: 'this session', new: 'new in this session', known: 'all known' }[v.hostSet ?? 'session']}`] : []),
`local tool calls: ${showLocal ? 'shown' : 'hidden'}`,
].join(' · ')
const header = (
<Box flexDirection="column">
<Text wrap="truncate-end">
<Text bold color="cyan">NETWORK CONNECTIONS</Text>
<Text bold>{` · ${net.length} connections`}</Text>
{uncertain > 0 ? <Text color="yellow">{` (${uncertain} uncertain)`}</Text> : null}
{counts.share ? <Text color={KIND_COLOR.share} bold>{` · ⇄ ${counts.share} file-share access${counts.share === 1 ? '' : 'es'}`}</Text> : null}
<Text dimColor>{` · ${hosts.size} hosts · ${counts.local} local tool calls · ${ps.length} prompts · ${fmtNum(tokIn)}↑ ${fmtNum(tokOut)}↓ tokens`}</Text>
{running > 0 ? <Text color="yellow">{` · ${running} open`}</Text> : null}
{nNew > 0 ? <Text color="green" bold>{` · ★ ${nNew} new host${nNew === 1 ? '' : 's'}`}</Text> : null}
</Text>
<Box flexDirection="row" flexWrap="wrap" columnGap={1}>
<Button key="v-list" plain hotkey="l" dimColor={v.mode !== 'list'} label="list" onPress={() => setView($, x => ({ ...x, mode: 'list', page: 0, back: [] }))} />
<Button key="v-prompts" plain hotkey="g" dimColor={v.mode !== 'prompts'} label="by prompt" onPress={() => setView($, x => ({ ...x, mode: 'prompts', page: 0, back: [] }))} />
<Button key="v-hosts" plain hotkey="h" dimColor={v.mode !== 'hosts'} label="by host" onPress={() => setView($, x => ({ ...x, mode: 'hosts', page: 0, back: [] }))} />
<Text dimColor>│</Text>
<Button key="toggle-local" plain hotkey="z" dimColor={!showLocal} label={`local tool calls: ${showLocal ? 'shown' : 'hidden'}`} onPress={() => setView($, x => ({ ...x, showLocal: x.showLocal !== true, page: 0 }))} />
</Box>
<Text color="cyan" wrap="truncate-end">{`Showing: ${showing}`}</Text>
</Box>
)
// ---- detail ----
if (v.mode === 'detail') {
const list = scoped(all, v, networked)
const idx = list.findIndex(c => c.id === v.selected)
const c = idx >= 0 ? list[idx] : all.find(x => x.id === v.selected)
if (c === undefined) {
return (
<Box flexDirection="column">
{header}
<Text dimColor>That connection is gone.</Text>
<Button key="back" hotkey="b" label="back" onPress={() => goBack($)} />
</Box>
)
}
const p = c.promptId ? promptById.get(c.promptId) : undefined
const parent = parentOf(c)
const seen = seenOf.get(c.id) ?? []
const linked = new Set([parent?.id, ...seen.map(x => x.id)])
const siblings = all.filter(x => x.promptId === c.promptId && x.id !== c.id && !linked.has(x.id))
const rowLabel = (x: NetConn) => trunc(`#${x.seq} ${KIND_LABEL[x.kind]} ${x.host} ${oneLine(x.command ?? x.statusText ?? '')}`, width - 4)
const mark = STATUS_MARK[c.status]
const keyW = 20
const field = (k: string, value: string, color?: string) => (
<Box flexDirection="row">
<Box width={keyW} flexShrink={0}><Text dimColor>{k}</Text></Box>
<Box flexGrow={1}><Text wrap="wrap" color={color}>{trunc(printable(value), 9_000)}</Text></Box>
</Box>
)
const go = (to?: NetConn) => to && setView($, x => ({ ...x, selected: to.id }))
const copyText = c.url ?? c.command ?? c.host
// WebFetch: its processed output, or the page's raw body fetched again on request.
const isFetch = c.source === 'WebFetch' && c.url !== undefined
const showRaw = v.response === 'raw'
const r = isFetch ? (await read($, raw))[c.id] : undefined
const toolOut = c.details.find(d => d.key === 'Response')?.value
const body = r?.text === undefined ? '' : printable(r.text)
const rawPages = Math.max(1, Math.ceil(body.length / RAW_PAGE))
const rawPage = Math.min(Math.max(0, v.rawPage ?? 0), rawPages - 1)
const pageText = body.slice(rawPage * RAW_PAGE, (rawPage + 1) * RAW_PAGE)
const pickRaw = () => {
void setView($, x => ({ ...x, response: 'raw', rawPage: 0 }))
if (r === undefined || r.state === 'error') void fetchRaw($, c)
}
const responseSection = (
<Box flexDirection="column" marginTop={1}>
<Box flexDirection="row" columnGap={1}>
<Text bold>Response</Text>
<Button key="resp-tool" plain hotkey="w" dimColor={showRaw} label="tool output" onPress={() => setView($, x => ({ ...x, response: 'tool' }))} />
<Button key="resp-raw" plain hotkey="r" dimColor={!showRaw} label="raw page" onPress={pickRaw} />
{showRaw && r !== undefined && r.state !== 'loading' ? (
<Button key="resp-refetch" plain hotkey="f" label="fetch again" onPress={() => void fetchRaw($, c)} />
) : null}
</Box>
{!showRaw ? (
<Text wrap="wrap" dimColor={toolOut === undefined}>{toolOut ?? (c.status === 'running' ? 'Still running.' : 'WebFetch returned no output.')}</Text>
) : r === undefined ? (
<Text dimColor>Press r to fetch the page.</Text>
) : r.state === 'loading' ? (
<Text color="yellow">{`Fetching ${r.url} …`}</Text>
) : r.state === 'error' ? (
<Text color="red" wrap="wrap">{`Fetch failed: ${r.error ?? 'unknown error'}`}</Text>
) : (
<Box flexDirection="column">
<Text wrap="wrap" color="yellow">{`Fetched again by this pane at ${fmtTime(r.at)}, not the bytes WebFetch received: mods only see the tool's output. The page may have changed, or answer this request differently.`}</Text>
{field('Status', `HTTP ${r.status ?? '?'}`, r.status !== undefined && r.status < 400 ? undefined : 'red')}
{field('Content type', r.headers?.['content-type'] ?? '—')}
{field('Length', `${r.length ?? 0} chars${(r.length ?? 0) > RAW_MAX ? ` — first ${RAW_MAX} shown` : ''}`)}
{rawPages > 1 ? (
<Box flexDirection="row" columnGap={1} marginTop={1}>
<Button key="raw-prev" plain hotkey="k" dimColor={rawPage === 0} label="previous part" onPress={() => setView($, x => ({ ...x, rawPage: Math.max(0, rawPage - 1) }))} />
<Text dimColor>{`part ${rawPage + 1}/${rawPages}`}</Text>
<Button key="raw-next" plain hotkey="j" dimColor={rawPage >= rawPages - 1} label="next part" onPress={() => setView($, x => ({ ...x, rawPage: Math.min(rawPages - 1, rawPage + 1) }))} />
</Box>
) : null}
<Text> </Text>
{body === '' ? <Text dimColor>(empty body)</Text> : chunks(pageText, RAW_CHUNK).map((t, i) => <Text key={`raw-${rawPage}-${i}`} wrap="wrap">{t}</Text>)}
</Box>
)}
</Box>
)
return (
<Box flexDirection="column">
{header}
<Box flexDirection="row" columnGap={1} marginTop={1}>Licence text (MIT)
MIT License Copyright (c) 2026 soefrey 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
networkruns programsenv varstool callsremembers
What its code shows
Read from the source at commit a23589d2e32c 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 read | Every module hooks/hooks.json names was read.hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.3 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No 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 open | Network 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 draws | The 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 line | Whether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.its repository's .claude-plugin/marketplace.json does not list it: no marketplace line to give; the page shows how to try the commit read |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| Network | Whether every fetch names its https host in the code.hooks/register.tsx:364 fetch(url) |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.hooks/register.tsx:438 powershell.exe (a shell or interpreter); hooks/register.tsx:561 a program named at run time |
| Reads and sends | Whether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables and reaches the network |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An 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 hooks | Hooks 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 ships | MCP 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, agents | What 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 MCP | Whether 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 model | Completions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds command net |
| Events it hooks | By 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: command.run (net), tool.call · shapes: turn.step · also: session.start, turn.start, ui.render (Pane), ui.focus (Pane) (+1) · timers: clock.every |
| Reads, by name | The environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: ANTHROPIC_BASE_URL, CLAUDE_CODE_USE_BEDROCK, AWS_REGION, CLAUDE_CODE_USE_VERTEX, CLOUD_ML_REGION (+1) |
| Writes, by name | The 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.
Its repository's .claude-plugin/marketplace.json does not list it, so there is no marketplace line to give.
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/soefrey/net-connectionsgit -C net-connections checkout a23589d2e32c0848f15090e29c8b82f3426d4124claude plugin validate net-connectionsclaude --plugin-dir net-connectionsThe 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 "soefrey-net-connections" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- blast-radiusdeepseek-ai★ 247,289
- replay-theaterdeepseek-ai★ 247,289
- ruview-liveruvnet★ 97,236
- ruflo-swarmruvnet★ 74,323
- code-modernizationAnthropic★ 37,653
- seo-cockpitAgrici Daniel★ 18,364
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/soefrey-net-connections/)