ModsCode / Claude Code Mods / Ranking / conclaude
conclaude
A side pane of every prompt you sent this session, the TL;DR of each answer, and a jump back to it
What it does
- Draws a pane, toasts
- Hooks prompt.submit, session.append, session.end, session.start and 2 more
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)
import type { Register } from 'claude-code'
// Drawn like conclaude by walangstudio (pane, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/walangstudio-conclaude/
// 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: "conClaude" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button, Input } = $.ui.resolve(e)
const counter = '…'
const pending = '…'
const query = '…'
const id = '…'
const label = '…'
const tldr = '…'
const meta = '…'
const label2 = '…'
const tldr2 = '…'
const label3 = '…'
const tldr3 = '…'
const text = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row" justifyContent="space-between">
<Text bold color="claude">
conClaude
</Text>
<Text color="inactive" wrap="truncate-end">
{counter}
<Text color="suggestion" bold>
{` · ${pending} pending`}
</Text>
</Text>
</Box>
<Box flexDirection="row" gap={2}>
<Button hotkey="f" plain label="Find" />
<Button hotkey="v" plain label="Saved" />
<Button hotkey="x" plain label="Clear" />
<Button hotkey="q" plain label="Close" />
</Box>
<Input label="Find" placeholder="text or #n" submitLabel="Jump" value={`${query}`} autoFocus />
<Text color="subtle">
────────
</Text>
<Text color="inactive">
No prompts yet.
</Text>
<Text color="inactive" wrap="wrap">
Everything you send shows up here, with a one-line TL;DR of each answer.
</Text>
<Text color="inactive" wrap="wrap">
{`No prompt matches "${query}".`}
</Text>
<Text color="inactive" wrap="wrap">
Try a word from the prompt or its summary, or #12 for a number.
</Text>
<Box flexDirection="column">
<Box flexDirection="row">
<Text color="suggestion">
{`${id} `}
</Text>
<Text>
{label}
</Text>
</Box>
<Text wrap="wrap">
{" "}
<Text>
{"↳ "}
</Text>
<Text>
{tldr}
</Text>
<Text color="inactive">
{` · ${meta}`}
</Text>
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Text color="suggestion">
{`${id} `}
</Text>
<Text>
{label2}
</Text>
</Box>
<Text wrap="wrap">
{" "}
<Text>
{"↳ "}
</Text>
<Text>
{tldr2}
</Text>
<Text color="inactive">
{` · ${meta}`}
</Text>
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Text color="suggestion">
{`${id} `}
</Text>
<Text>
{label3}
</Text>
</Box>
<Text wrap="wrap">
{" "}
<Text>
{"↳ "}
</Text>
<Text>
{tldr3}
</Text>
<Text color="inactive">
{` · ${meta}`}
</Text>
</Text>
</Box>
<Box flexDirection="column">
<Text color="subtle">
────────
</Text>
<Text color="error" wrap="wrap">
{`✗ ${text}`}
</Text>
</Box>
</Box>
)
})
on('session.start', async ($, e, next) => {
const plural = '…'
await $.ui.toast(`restored ${plural} (not saved to disk yet)`)
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 437–596 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const els = $.ui.resolve(e)
const { Box, Text, Button } = els
const Input = 'Input' in els ? els.Input : undefined
const width = Math.max(1, e.props.bodyColumns)
const gap = e.props.placement === 'dock' ? 1 : 0
const rule = <Text color="subtle">{'─'.repeat(width)}</Text>
const toast = (text: string) => void $.ui.toast(text)
const setView = (next: PaneView) => update($, view, () => next)
const v = await read($, view)
const list = await read($, asked)
const now = await $.clock.now()
const sessionId = await read($, session)
const dir = await sessionsDir($)
const header = (title: string, counter: string, pending = 0) => (
<Box flexDirection="row" justifyContent="space-between">
<Text bold color="claude">{title}</Text>
<Text color="inactive" wrap="truncate-end">
{counter}
{pending > 0 && <Text color="suggestion" bold>{` · ${pending} pending`}</Text>}
</Text>
</Box>
)
const rows = (shown: Asked[], isButton: boolean, focusLast: boolean) => {
const numW = String(Math.max(0, ...shown.map(one => one.id))).length
const w = Math.max(4, width - numW - 1)
return shown.map((one, at) => {
const label = oneLine(one.text, w)
const tldr = one.tldr ?? (one.turnId ? '…working' : 'queued')
const meta = stamp(one, now)
const tone = tldrColor(one.tldr)
return (
<Box key={`row-${one.id}`} flexDirection="column" marginBottom={gap}>
<Box flexDirection="row">
<Text color="suggestion">{`${String(one.id).padStart(numW)} `}</Text>
{isButton
? <Button key={`jump-${one.id}`} plain label={label} hover={{ underline: true }} autoFocus={focusLast && at === shown.length - 1 ? true : undefined} onPress={() => jump(one)} />
: <Text>{label}</Text>}
</Box>
<Text wrap="wrap">
{' '.repeat(numW + 1)}
<Text color={tone.glyph}>↳ </Text>
<Text {...tone.text}>{oneLine(tldr, Math.max(Math.min(8, w), 2 * (w - 2) - 1 - (meta ? meta.length + 3 : 0)))}</Text>
{meta && <Text color="inactive">{` · ${meta}`}</Text>}
</Text>
</Box>
)
})
}
const jump = async (one: Asked) => {
const problem = await jumpTo($, one)
if (problem) toast(problem)
}
const loadSaved = async () => {
if (!dir || !(await $.fs.exists(dir))) return []
const metas: SavedMeta[] = []
for (const entry of await $.fs.list(dir)) {
if (entry.kind !== 'file' || !entry.name.endsWith('.json')) continue
const one = parseSaved(await $.fs.read(`${dir}/${entry.name}`).catch(() => DELETED))
if (!one || one.sessionId === sessionId || one.asked.length === 0) continue
metas.push({ sessionId: one.sessionId, cwd: one.cwd, savedAt: one.savedAt, count: one.asked.length, title: one.asked[0]!.text })
}
return metas.sort((a, b) => b.savedAt - a.savedAt)
}
const confirmBlock = (question: string, detail: string[], yes: string, onYes: () => Promise<unknown>) => (
<Box flexDirection="column">
<Text bold wrap="wrap">{question}</Text>
{detail.map((line, at) => <Text key={`detail-${at}`} color="inactive" wrap="wrap">{line}</Text>)}
<Text> </Text>
<Box flexDirection="row" gap={2}>
<Button key="yes" hotkey="y" label={yes} variant="primary" onPress={() => void onYes()} />
<Button key="no" hotkey="n" label="Keep" autoFocus onPress={() => void setView({ ...v, confirm: undefined })} />
</Box>
{rule}
</Box>
)
const close = <Button key="close" hotkey="q" plain label="Close" onPress={() => void $.ui.close({ id: PANE })} />
if (v.mode === 'current' && v.confirm === 'clear') {
const isLocked = (await read($, locked)) === sessionId
return confirmBlock(`Clear all ${plural(list.length, 'prompt')} from this list?`, [isLocked ? "The saved copy couldn't be read, so it stays as it is." : 'The saved copy is deleted too.'], 'Clear', async () => {
const count = list.length
const isCleared = await serial(async () => {
const id = await read($, session)
if (id !== sessionId) return false
await update($, jobs, list => list.filter(job => job.sessionId !== id))
await edit($, () => [])
await flush($)
return true
})
await setView({ mode: 'current' })
toast(isCleared ? `cleared ${plural(count, 'prompt')}` : 'the session changed; nothing was cleared')
})
}
if (v.mode === 'detail' && v.detail && v.confirm === 'delete') {
const d = v.detail
return confirmBlock('Delete this saved session?', [`"${oneLine(d.asked[0]?.text ?? '', width - 2)}"`, `${plural(d.asked.length, 'prompt')} · ${dayLabel(d.savedAt, now)}. This cannot be undone.`], 'Delete', async () => {
try {
await serial(async () => {
await $.fs.write(`${dir}/${d.sessionId}.json`, DELETED)
await update($, unsaved, list => list.filter(one => one.sessionId !== d.sessionId))
})
const metas = await loadSaved()
await update($, saved, () => metas)
await setView({ mode: 'saved' })
toast('deleted saved session')
} catch (err) {
toast(`couldn't delete: ${(err as Error).message}`)
}
})
}
if (v.mode === 'detail' && v.detail) {
const d = v.detail
const command = `claude --resume ${d.sessionId}`
return (
<Box flexDirection="column">
<Text bold color="claude" wrap="truncate-end">{`‹ Saved · ${oneLine(d.asked[0]?.text ?? '', width)}`}</Text>
<Box flexDirection="row" gap={2}>
<Button key="back" hotkey="b" plain label="Back" autoFocus onPress={() => void setView({ mode: 'saved' })} />
<Button key="copy" hotkey="c" plain label="Copy" onPress={async press => {
const copied = await $.ui.copy({ text: command, surface: press.surface })
toast(copied.isCopied ? `copied: ${oneLine(command, 30)}` : "couldn't copy - select the command in the pane")
}} />
<Button key="delete" hotkey="d" plain label="Delete" onPress={() => {
void setView({ ...v, confirm: 'delete' })
void $.ui.scroll({ in: PANE, to: 'start' }).catch(() => undefined)
}} />
{close}
</Box>
{rule}
{rows(d.asked, false, false)}
{rule}
<Text color="suggestion" wrap="wrap">{command}</Text>
<Text color="inactive" wrap="wrap">{`Read-only · ${dayLabel(d.savedAt, now)} · ${plural(d.asked.length, 'prompt')}`}</Text>
</Box>
)
}
if (v.mode === 'saved') {
const metas = await read($, saved)
const open = async (meta: SavedMeta) => {
const one = parseSaved(await $.fs.read(`${dir}/${meta.sessionId}.json`).catch(err => `${(err as Error).message}`))
if (!one) return toast("couldn't read that saved session (unreadable or deleted)")
await setView({ mode: 'detail', detail: one })
}
return (
<Box flexDirection="column">
{header(TITLE, `Saved · ${plural(metas.length, 'session')}`)}
<Box flexDirection="row" gap={2}>
<Button key="view" hotkey="v" plain label="Current" onPress={() => void setView({ mode: 'current' })} />
{close}
</Box>Licence text (MIT)
MIT License Copyright (c) 2026 walangstudio 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), Rewrite the prompt
What its code calls
writes filesenv varsdrives Claude
What its code shows
Read from the source at commit d9c4d7589de6 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, 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.no network |
| Programs | Whether 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 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, but reaches nothing outside |
| 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 ?, model.complete |
| 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, prompt.submit, session.append · also: session.start, session.end, turn.start, turn.complete (+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: USERPROFILE, HOME; files: …/….json, a path computed at run time, …/… |
| 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: …/….json, a path computed at run time; 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/walangstudio/conclaudegit -C conclaude checkout d9c4d7589de6b94b291921c30fec36841e1ea090claude plugin validate conclaudeclaude --plugin-dir conclaudeThe 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 "walangstudio-conclaude" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- lcu-approveLCU★ 894
- ai-maestro-secrets23blocks-OS★ 817
- filetreeKurt Buhler★ 131
- great-ctoAlexander Velikiy★ 103
- hopeSaad Shahd★ 35
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/walangstudio-conclaude/)