ModsCode / Claude Code Mods / Ranking / ide-mod
ide-mod
Claude Code 안의 IDE 창: 에이전트 보드 + 파일 트리·탭 에디터 + HWP·HWPX·PDF 뷰어(rhwp·pdf.js) + 요청 기록, 강의 자막과 한국어 문체 게이트
What it does
- Draws a band above the prompt, a pane, toasts
- Adds /ide, /open, /lecture, /handoff
- Watches tool calls and can refuse them
- Hooks agent.spawn, prompt.submit, session.end, session.start and 4 more
- Keeps its own state between turns
Good points
- 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)
import type { Register } from 'claude-code'
// Drawn like ide-mod by jkf87 (pane, band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/jkf87-ide-mod/
// 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 prev = '…'
const step = '…'
const formatElapsed = '…'
const running = '…'
const gateSummary = '…'
const x = '…'
const x2 = '…'
const x3 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="column" borderStyle="round" borderColor="claude" paddingX={1}>
<Text bold color="warning" wrap="truncate-end">
{"▶ "}
대기 중
</Text>
<Text dimColor wrap="truncate-end">
{`방금: ${prev} · `}
{step}
단계
{` · ${formatElapsed}`}
{` · 도우미 에이전트 ${running}명 작업 중`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" columnGap={2} height={1} overflow="hidden">
<Text color="error" wrap="truncate-end">
{"문체 게이트 · "}
{gateSummary}
</Text>
<Button plain hotkey="g" label="접기" />
<Button plain hotkey="d" label="닫기" />
</Box>
<Text dimColor wrap="truncate-end">
{" "}
{x}
</Text>
<Text dimColor wrap="truncate-end">
{" "}
{x2}
</Text>
<Text dimColor wrap="truncate-end">
{" "}
{x3}
</Text>
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "IDE" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const summary = '…'
const sessionId = '…'
const length = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row" columnGap={2} height={1} overflow="hidden">
<Text bold wrap="truncate-end">
{summary}
</Text>
<Text dimColor wrap="truncate-end">
{"세션 "}
{sessionId}
</Text>
<Button plain hotkey="i" label="핸드오프" />
<Button plain hotkey="a" label="보드 펼치기" />
<Button plain hotkey="h" label="끝난 것 보이기" />
<Button plain hotkey="s" label="요약 끄기(haiku)" />
<Button plain hotkey="x" label="끝난 것 지우기" />
</Box>
<Text dimColor>
{"… "}
{`${length}1`}
줄 더 (a로 접기, h로 끝난 것 숨기기)
</Text>
<Text dimColor>
────────
</Text>
<Box flexDirection="column" overflow="hidden">
<Box flexDirection="row" columnGap={2} height={1} overflow="hidden">
<Button plain hotkey="t" label="트리 접기" />
<Button plain hotkey="q" label={`요청 기록 ${length}`} />
<Button plain hotkey="u" label="상위 폴더" />
<Button plain hotkey="r" label="새로고침" />
<Button plain hotkey="v" label="문서 보기" />
<Button plain hotkey="o" label="미리보기로 열기" />
<Button plain hotkey="b" label="◀ 앞쪽" />
<Button plain hotkey="n" label="뒤쪽 ▶" />
<Button plain hotkey="l" label="하나만 보기" />
<Button plain hotkey="p" label="입력창에 다시 넣기" />
<Button plain hotkey="c" label="복사" />
<Button plain hotkey="c" label="전부 복사" />
<Button plain hotkey="c" label="핸드오프 글 복사" />
<Button plain hotkey="y" label="세션 ID 복사" />
<Button plain hotkey="e" label="이어서 열기 명령 복사" />
<Button plain hotkey="m" label="원문" />
<Button plain hotkey="p" label="@프롬프트" />
<Button plain hotkey="c" label="경로 복사" />
<Button plain hotkey="w" label="탭 닫기" />
</Box>
<Box flexDirection="row" columnGap={1} overflow="hidden" />
</Box>
</Box>
)
})
on('session.start', async ($, e, next) => {
const name = '…'
await $.ui.toast(`ide-mod: haiku 요약 호출이 3번 실패해서 요약을 껐어요 (보드에서 s로 다시 켜기)`)
await $.ui.toast(`핸드오프를 보냈어요 → ${name}`)
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 2420–2459 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
if (e.props.hasSurvey) return next(e)
const isLecture = await read($, lectureAtom)
const gate = await read($, gateAtom)
const isGateOpen = await read($, gateOpenAtom)
const showGate = gate !== null && gate.verdict !== 'pass'
const width = Math.max(10, e.props.bodyColumns)
const limits = await drawLimits($, e, width).catch(() => [] as RenderElement[])
if (!isLecture && !showGate && limits.length === 0) return next(e)
const { Box, Text, Button } = $.ui.resolve(e)
await read($, tickAtom)
const below = await next(e)
const caption = isLecture ? await read($, captionAtom) : undefined
const running = isLecture ? Object.values(await read($, agentsAtom)).filter(r => r.id !== MAIN && r.phase === 'running').length : 0
return (
<Box flexDirection="column">
{caption !== undefined && (
<Box key="lecture" flexDirection="column" borderStyle="round" borderColor="claude" paddingX={1}>
<Text bold color="warning" wrap="truncate-end">▶ {caption.text || '대기 중'}</Text>
<Text dimColor wrap="truncate-end">
{caption.prev !== '' ? `방금: ${caption.prev} · ` : ''}{caption.step}단계{caption.startedAt > 0 ? ` · ${formatElapsed(Date.now() - caption.startedAt)}` : ''}{running > 0 ? ` · 도우미 에이전트 ${running}명 작업 중` : ''}
</Text>
</Box>
)}
{showGate && gate !== null && (
<Box key="gate" flexDirection="column">
<Box flexDirection="row" columnGap={2} height={1} overflow="hidden">
<Text color={gate.verdict === 'stop' ? 'error' : 'warning'} wrap="truncate-end">문체 게이트 · {gateSummary(gate)}</Text>
<Button key="gate-open" plain hotkey="g" label={isGateOpen ? '접기' : '예문'} onPress={() => void update($, gateOpenAtom, v => !v)} />
<Button key="gate-close" plain hotkey="d" label="닫기" onPress={() => void update($, gateAtom, () => null)} />
</Box>
{isGateOpen && gate.examples.map((x, i) => <Text key={`gate-ex:${i}`} dimColor wrap="truncate-end"> {x}</Text>)}
</Box>
)}
{below}
{limits}
</Box>
)
})hooks/register.tsx lines 2461–2476 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const { Box, Text } = $.ui.resolve(e)
const width = Math.max(10, e.props.bodyColumns)
const bodyRows = Math.max(4, e.props.scroll.bodyRows)
const board = await drawBoard($, e, width, clamp(Math.round(bodyRows * 0.35), 2, 12))
const explorerRows = Math.max(2, bodyRows - board.length - 1)
const explorer = await drawExplorer($, e, width, explorerRows, board.length + 2)
return (
<Box flexDirection="column" width={width}>
{board}
<Text key="board-rule" dimColor>{'─'.repeat(width)}</Text>
{explorer}
</Box>
)
})hooks/register.tsx lines 459–561 · Pane
async function drawBoard($: EngineInterface, e: RenderInput<'Pane'>, width: number, maxRows: number): Promise<RenderElement[]> {
const { Box, Text, Button } = $.ui.resolve(e)
lastDrawnAt = Date.now()
startTimers($)
const all = await read($, agentsAtom)
const isFolded = await read($, foldedAtom)
const hideDone = await read($, hideDoneAtom)
const isRecapOn = await read($, recapOnAtom)
await read($, tickAtom)
const now = Date.now()
const subs = Object.values(all).filter(r => r.id !== MAIN)
const running = subs.filter(r => r.phase === 'running').length
const main = all[MAIN]
const mainBrain = main === undefined ? '' : `${shortModel(main.model) || '…'}${main.effort ? ` · ${main.effort}` : ''}`
const summary = `에이전트 ${main === undefined ? '대기' : `${PHASE_ICON[main.phase]} ${mainBrain}`} · 서브 ${running}개 작업 중 / ${subs.length - running}개 끝남`
const sessionId = await $.session.id().catch(() => '')
const header = (
<Box key="board-header" flexDirection="row" columnGap={2} height={1} overflow="hidden">
<Text bold wrap="truncate-end">{summary}</Text>
{sessionId !== '' && <Text dimColor wrap="truncate-end">세션 {sessionId.slice(0, 8)}</Text>}
<Button key="board-handoff" plain hotkey="i" label="핸드오프" onPress={() => void openHandoff($)} />
<Button key="board-fold" plain hotkey="a" label={isFolded ? '보드 펼치기' : '보드 접기'} onPress={() => void update($, foldedAtom, v => !v)} />
{!isFolded && <Button key="board-hide" plain hotkey="h" label={hideDone ? '끝난 것 보이기' : '끝난 것 숨기기'} onPress={() => void update($, hideDoneAtom, v => !v)} />}
{!isFolded && <Button key="board-recap" plain hotkey="s" label={isRecapOn ? `요약 끄기(${RECAP_MODEL})` : '요약 켜기'} onPress={() => { recapFailures = 0; void update($, recapOnAtom, v => !v) }} />}
{!isFolded && (
<Button
key="board-clear"
plain
hotkey="x"
label="끝난 것 지우기"
onPress={() => void update($, agentsAtom, list => Object.fromEntries(Object.entries(list).filter(([id, r]) => id === MAIN || r.phase === 'running')))}
/>
)}
</Box>
)
// 시스템 줄은 접어도 남긴다 (램이 모자랄 때 늘 보이게)
const sys = await drawSys($, e).catch(() => [] as RenderElement[])
if (isFolded || maxRows <= 1 + sys.length) return [...sys, header]
// 숨길 때도 돌고 있는 에이전트와 그 조상은 남겨 트리가 끊기지 않게 한다
const visible = new Set<string>([MAIN])
for (const row of subs) {
if (hideDone && row.phase !== 'running') continue
for (let at: AgentRow | undefined = row; at !== undefined && !visible.has(at.id); at = at.parentId === undefined ? undefined : all[at.parentId]) visible.add(at.id)
}
const children = new Map<string, AgentRow[]>()
for (const row of subs) {
if (!visible.has(row.id)) continue
const parent = row.parentId !== undefined && visible.has(row.parentId) && all[row.parentId] !== undefined ? row.parentId : MAIN
children.set(parent, [...(children.get(parent) ?? []), row])
}
for (const list of children.values()) list.sort((a, b) => a.startedAt - b.startedAt)
const roleColor = new Map<string, Color>()
const colorOf = (role: string) => {
const base = role.split(' ')[0] ?? role
if (!roleColor.has(base)) roleColor.set(base, ROLE_COLORS[roleColor.size % ROLE_COLORS.length] ?? 'suggestion')
return roleColor.get(base) ?? 'suggestion'
}
const lines: RenderElement[] = []
const draw = (row: AgentRow, lead: string, branch: string, depth: number) => {
const elapsed = formatElapsed((row.endedAt ?? now) - row.startedAt)
const brain = `${shortModel(row.model) || '모델 확인 중'}${row.effort ? ` · ${row.effort}` : ''}`
const pad = `${lead}${depth === 0 ? '' : branch === '└─ ' ? ' ' : '│ '} `
// 지금 하는 일·요약은 노란색(돌고 있을 때만), 끝난 결과는 흐리게
const isLive = row.phase === 'running'
const [label, body] = isLive && row.recap !== '' ? ['요약', row.recap] : isLive && row.activity !== '' ? ['지금', row.activity] : row.recap !== '' ? ['결과', row.recap] : ['', row.activity]
const live = isLive && body !== ''
lines.push(
<Text key={`agent:${row.id}`} wrap="truncate-end">
<Text dimColor>{lead}{depth === 0 ? '' : branch}</Text>
<Text color={PHASE_COLOR[row.phase]}>{PHASE_ICON[row.phase]} </Text>
<Text bold color={row.id === MAIN ? 'claude' : colorOf(row.role)}>{row.id === MAIN ? '메인' : row.role}</Text>
<Text> {brain}</Text>
<Text dimColor> {PHASE_LABEL[row.phase]} {elapsed}{row.isBackground ? ' · 백그라운드' : ''}{row.toolCount > 0 ? ` · 도구 ${row.toolCount}` : ''}</Text>
{/* 맡긴 일(메인은 사람이 입력한 프롬프트, 서브에이전트는 받은 작업 설명)은 초록색 */}
<Text color="success">{row.task !== '' ? ` ${oneLine(row.task, 80)}` : ''}</Text>
</Text>,
)
if (body !== '') {
lines.push(
<Text key={`agent-doing:${row.id}`} wrap="truncate-end">
<Text dimColor>{pad}{label === '' ? '' : `${label} `}</Text>
<Text color={live ? 'warning' : undefined} dimColor={!live}>{oneLine(body, Math.max(10, width))}</Text>
</Text>,
)
}
const kids = children.get(row.id) ?? []
kids.forEach((kid, i) => {
const nextLead = depth === 0 ? lead : `${lead}${branch === '└─ ' ? ' ' : '│ '}`
draw(kid, nextLead, i === kids.length - 1 ? '└─ ' : '├─ ', depth + 1)
})
}
if (main !== undefined) draw(main, '', '', 0)
else (children.get(MAIN) ?? []).forEach((kid, i, kids) => draw(kid, '', i === kids.length - 1 ? '└─ ' : '├─ ', 1))
const room = maxRows - 1 - sys.length
if (lines.length === 0) return [...sys, header, <Text key="board-empty" dimColor>프롬프트를 보내면 에이전트가 여기 나타나요.</Text>].slice(0, maxRows)
if (lines.length <= room) return [...sys, header, ...lines]
return [...sys, header, ...lines.slice(0, room - 1), <Text key="board-more" dimColor>… {lines.length - room + 1}줄 더 (a로 접기, h로 끝난 것 숨기기)</Text>]
}hooks/register.tsx lines 869–1028 · Pane
async function drawExplorer($: EngineInterface, e: RenderInput<'Pane'>, width: number, rows: number, topRows: number): Promise<RenderElement> {
const { Box, Text, Button, Code, Markdown } = $.ui.resolve(e)
const root = (await read($, rootAtom)) || (await $.session.cwd())
const expanded = await read($, expandedAtom)
const tabs = await read($, tabsAtom)
const active = await read($, activeAtom)
const offsets = await read($, offsetsAtom)
const mode = await read($, modeAtom)
const touched = new Set(await read($, touchedAtom))
const isTreeHidden = await read($, treeHiddenAtom)
const rev = await read($, revAtom)
const leftMode = await read($, leftModeAtom)
const requests = await read($, requestsAtom)
// 같은 폴더의 지난 세션 요청이 앞에, 이번 세션 요청이 뒤에
const pastRequests = await read($, pastRequestsAtom)
const history = [...pastRequests, ...requests].sort((a, b) => a.at - b.at)
const selectedN = await read($, selectedRequestAtom)
const hwpView = await read($, hwpViewAtom)
const isRequests = leftMode === 'requests'
const isHandoff = leftMode === 'handoff'
const isFiles = leftMode === 'files'
const peers = isHandoff ? await read($, peersAtom) : []
const handoff = isHandoff ? await currentHandoff($).catch(() => undefined) : undefined
const sent = isHandoff ? await read($, handoffSentAtom) : null
// 요청 기록 모드: 기본은 이번 세션 요청 전부를 오른쪽에 이어서 보여 주고, 왼쪽에서 고르면 그 요청 하나만 펼친다
const requestView = await read($, requestViewAtom)
const isAllRequests = isRequests && requestView === 'all' && history.length > 0
const selected = history.find(r => r.n === selectedN) ?? history[history.length - 1]
if (isRequests && !isPastRequested) $.clock.after(0, () => void loadPastRequests($).catch(() => undefined))
const rightKey = isHandoff ? 'handoff' : isRequests ? (isAllRequests ? 'requests:all' : selected === undefined ? '' : `request:${selected.n}`) : active
const isHwp = isFiles && HWP.test(active)
const isWide = width >= SPLIT_MIN_COLUMNS
const showTree = isWide ? !isTreeHidden || rightKey === '' : !(isTreeHidden && rightKey !== '')
const showFile = isWide ? true : !showTree
const treeWidth = showTree && showFile ? clamp(Math.round(width * 0.3), 24, 44) : width
const fileWidth = showTree && showFile ? width - treeWidth - 1 : width
const mainRows = Math.max(1, rows - 1)
const isMarkdown = isFiles && MARKDOWN.test(active)
layout.topRows = topRows
layout.leftMode = leftMode
// ── 툴바 ──
const toolbar = (
<Box key="ide-toolbar" flexDirection="row" columnGap={2} height={1} overflow="hidden">
<Button key="tree" plain hotkey="t" label={showTree && showFile ? '트리 접기' : '트리'} onPress={() => void update($, treeHiddenAtom, v => (rightKey === '' ? false : !v))} />
<Button
key="left-mode"
plain
hotkey="q"
label={isFiles ? `요청 기록 ${history.length}` : '파일 트리'}
onPress={() =>
void (async () => {
await update($, leftModeAtom, m => (m === 'files' ? 'requests' : 'files'))
await update($, treeHiddenAtom, () => false)
isPastRequested = false // 열 때마다 지난 세션·agy 요청을 다시 읽는다
})()
}
/>
<Button
key="up"
plain
hotkey="u"
label="상위 폴더"
onPress={() =>
void (async () => {
await update($, expandedAtom, list => [...new Set([...list, root])])
await update($, rootAtom, () => parentOf(root))
await update($, treeOffsetAtom, () => 0)
})()
}
/>
<Button
key="reload"
plain
hotkey="r"
label="새로고침"
onPress={() => {
if (isHandoff) {
void loadPeers($).catch(() => undefined)
return
}
fileCache.clear()
hwpTextCache.clear()
hwpPageCache.clear()
hwpGridCache.clear()
treeEpoch += 1
void update($, revAtom, n => n + 1)
}}
/>
{isHwp && (
<Button key="hwp-view" plain hotkey="v" label={hwpView === 'image' ? '문서 보기' : '그림 보기'} onPress={() => void update($, hwpViewAtom, v => (v === 'image' ? 'doc' : 'image'))} />
)}
{isHwp && (
<Button key="hwp-open" plain hotkey="o" label="미리보기로 열기" onPress={() => void openHwpPreview($, active, hwpNow.path === active ? hwpNow.page : 0)} />
)}
{isHwp && (
<Button key="hwp-prev" plain hotkey="b" label="◀ 앞쪽" onPress={() => void update($, hwpPagesAtom, all => ({ ...all, [active]: Math.max(0, (all[active] ?? 0) - 1) }))} />
)}
{isHwp && (
<Button key="hwp-next" plain hotkey="n" label="뒤쪽 ▶" onPress={() => void update($, hwpPagesAtom, all => ({ ...all, [active]: (all[active] ?? 0) + 1 }))} />
)}
{isRequests && history.length > 0 && (
<Button key="request-all" plain hotkey="l" label={isAllRequests ? '하나만 보기' : '모두 보기'} onPress={() => void update($, requestViewAtom, v => (v === 'all' ? 'one' : 'all'))} />
)}
{isRequests && !isAllRequests && selected !== undefined && (
<Button key="request-again" plain hotkey="p" label="입력창에 다시 넣기" onPress={() => void $.prompt.fill({ text: selected.text, mode: 'insert' })} />
)}
{isRequests && !isAllRequests && selected !== undefined && <Button key="request-copy" plain hotkey="c" label="복사" onPress={() => void $.ui.copy({ text: selected.text, surface: e.surface })} />}
{isAllRequests && <Button key="request-copy-all" plain hotkey="c" label="전부 복사" onPress={() => void $.ui.copy({ text: requestsAsText(history), surface: e.surface })} />}
{isHandoff && handoff !== undefined && (
<Button key="handoff-copy" plain hotkey="c" label="핸드오프 글 복사" onPress={() => void $.ui.copy({ text: handoff.text, surface: e.surface })} />
)}
{isHandoff && handoff !== undefined && <Button key="handoff-id" plain hotkey="y" label="세션 ID 복사" onPress={() => void $.ui.copy({ text: handoff.info.id, surface: e.surface })} />}
{isHandoff && handoff !== undefined && (
<Button
key="handoff-resume"
plain
hotkey="e"
label="이어서 열기 명령 복사"
onPress={() => void $.ui.copy({ text: `cd ${shellQuote(handoff.info.root)} && claude --resume ${handoff.info.id} --fork-session`, surface: e.surface })}
/>
)}
{isFiles && active !== '' && isMarkdown && (
<Button key="mode" plain hotkey="m" label={mode === 'rendered' ? '원문' : '렌더'} onPress={() => void update($, modeAtom, m => (m === 'rendered' ? 'code' : 'rendered'))} />
)}
{isFiles && active !== '' && <Button key="mention" plain hotkey="p" label="@프롬프트" onPress={() => void $.prompt.fill({ text: `@${active} `, mode: 'insert' })} />}
{isFiles && active !== '' && <Button key="copy" plain hotkey="c" label="경로 복사" onPress={() => void $.ui.copy({ text: active, surface: e.surface })} />}
{isFiles && active !== '' && <Button key="close" plain hotkey="w" label="탭 닫기" onPress={() => void closeTab($, active)} />}
</Box>
)
// ── 트리 / 요청 기록 ──
let treeColumn: RenderElement | false = false
if (showTree && isHandoff) {
const self = await read($, selfNameAtom)
treeColumn = (
<Box key="ide-peers" flexDirection="column" width={treeWidth} height={mainRows} overflow="hidden">
<Text bold wrap="truncate-end">보낼 세션 {peers.length}개 · r 새로고침</Text>
{self !== '' && <Text dimColor wrap="truncate-end">이 세션: {self}</Text>}
{peers.length === 0 && <Text dimColor>열려 있는 다른 세션이 없어요. c로 핸드오프 글을 복사해 다른 에이전트에 붙여 넣으세요.</Text>}
{peers.slice(0, Math.max(1, mainRows - 2)).map(peer => (
<Box key={`peer-row:${peer.ref}`} flexDirection="row" height={1} overflow="hidden">
<Button
key={`peer:${peer.ref}`}
plain
dimColor={peer.status !== 'idle'}
label={fit(`→ ${peer.name} · ${peer.status === 'busy' ? '작업 중' : peer.status === 'idle' ? '대기' : peer.status}`, treeWidth)}
onPress={() => void sendHandoff($, peer)}
/>
</Box>
))}
</Box>
)
} else if (showTree && isRequests) {
const treeView = Math.max(1, mainRows - 1)
const newestFirst = [...history].reverse()
const requestOffset = clamp(await read($, requestOffsetAtom), 0, newestFirst.length - treeView)
Object.assign(layout, { requestRows: newestFirst.length, treeView })
const shown = newestFirst.slice(requestOffset, requestOffset + treeView)Licence text (MIT)
MIT License Copyright (c) 2026 jkf87 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 programswrites filesenv varsdrives Claudetool callsremembersships serverscalls tools
What its code shows
Read from the source at commit c788bf684319 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.1 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, with its own branch for the desktop |
| 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.listed in its repository's .claude-plugin/marketplace.json: installs from there |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).hooks/register.tsx:408 /bin/sh (not on Windows); hooks/register.tsx:1736 open (not on Windows); hooks/register.tsx:1744 open (not on Windows); hooks/register.tsx:1976 /bin/sh (not on Windows) |
| Network | Whether every fetch names its https host in the code.https://api.anthropic.com (with the session's own Anthropic credential) |
| 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:408 /bin/sh (a shell or interpreter); hooks/register.tsx:1473 node (a shell or interpreter); hooks/register.tsx:1723 node (a shell or interpreter); hooks/register.tsx:1967 node (a shell or interpreter); hooks/register.tsx:1976 /bin/sh (a shell or interpreter) |
| 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, files and reaches the network, another session |
| 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).bin/: agy-statusline.mjs, agy-usage.sh, codex-limits.mjs (+4) on the Bash tool's PATH |
| 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).hooks/register.tsx:1381 a tool named at run time |
| 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 ide, adds command open, adds command lecture, adds command handoff, adds command limits, adds command style-gate |
| 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 (ide, open, lecture (+3)), prompt.submit, tool.call · shapes: turn.step · also: session.end, turn.start, agent.spawn, turn.complete (+3) · timers: clock.every, clock.after |
| 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: HOME, CLAUDE_CONFIG_DIR, XDG_CACHE_HOME; files: a path computed at run time, …/projects, …/…/….jsonl, …/….jsonl |
| 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.files: a path computed at run time; the prompt box; the clipboard; another session |
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 jkf87/ide-mod/plugin install ide-mod@ide-mod/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (c788bf684319). 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/jkf87/ide-modgit -C ide-mod checkout c788bf68431973e4cb8375795efe6d055b29eb82claude plugin validate ide-modclaude --plugin-dir ide-modThe 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 "jkf87-ide-mod" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- crit-tuiTomasz Tomczyk★ 1,196
- remctlFederico Viticci★ 595
- task-orchestrator-modJeff Picklyk★ 208
- localvoxtral-modlocalvoxtral★ 59
- localvoxtral-remotelocalvoxtral★ 59
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/jkf87-ide-mod/)