ModsCode / Claude Code Mods / Ranking / katharsis
katharsis
An output style that classifies each message by exchange type and shapes the reply to fit it: the answer first, a ceiling per type, reference codes that survive the session, and decisions handed back as questions
What it does
- Draws a band above the prompt, a pane
- Hooks classic.Stop, prompt.submit, session.end, session.start and 3 more
- Starts processes
Good points
- No network calls
- 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 katharsis by Holden Hewett (pane, band), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/openscribbler-katharsis/
// 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 groupName = '…'
const length = '…'
const glyph = '…'
const value = '…'
const glyph2 = '…'
const glyph3 = '…'
const glyph4 = '…'
const glyph5 = '…'
const glyph6 = '…'
const glyph7 = '…'
const glyph8 = '…'
const glyph9 = '…'
const hint = '…'
const p = '…'
return (
<Box flexDirection="column">
<Box flexDirection="column">
<Box display="none" flexDirection="column" overflow="hidden" borderStyle="round" paddingX={1}>
<Box flexDirection="row" gap={2}>
<Text bold>
{`${groupName} · ${length}`}
</Text>
<Text dimColor>
{`latest ${length}`}
</Text>
<Button label={`list all ${length} ▸`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph2}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph3}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
</Box>
<Box display="none" flexDirection="column" overflow="hidden" borderStyle="round" paddingX={1}>
<Box flexDirection="row" gap={2}>
<Text bold>
{`${groupName} · ${length}`}
</Text>
<Text dimColor>
{`latest ${length}`}
</Text>
<Button label={`list all ${length} ▸`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph4}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph5}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph6}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
</Box>
<Box display="none" flexDirection="column" overflow="hidden" borderStyle="round" paddingX={1}>
<Box flexDirection="row" gap={2}>
<Text bold>
{`${groupName} · ${length}`}
</Text>
<Text dimColor>
{`latest ${length}`}
</Text>
<Button label={`list all ${length} ▸`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph7}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph8}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{glyph9}
</Text>
</Box>
<Button label={`${value}`} plain />
</Box>
</Box>
<Box flexDirection="row" gap={1} height={1} overflow="hidden">
<Box flexDirection="row" gap={1} flexShrink={0}>
<Text color="#14B8A6">
▸ Katharsis
</Text>
<Text dimColor>
·
</Text>
<Button label="open" plain />
<Text dimColor>
{hint}
</Text>
</Box>
<Text dimColor>
no codes yet
</Text>
<Box flexDirection="row">
<Box flexDirection="row" flexShrink={0}>
<Button label={`${p}:${length}`} plain dimColor />
<Text dimColor>
|
</Text>
</Box>
<Box flexDirection="row" flexShrink={0}>
<Button label={`${p}:${length}`} plain dimColor />
<Text dimColor>
|
</Text>
</Box>
<Box flexDirection="row" flexShrink={0}>
<Button label={`${p}:${length}`} plain dimColor />
<Text dimColor>
|
</Text>
</Box>
</Box>
</Box>
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "Katharsis" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Input, Button, Text } = $.ui.resolve(e)
const filterLabel = '…'
const showLabel = '…'
const viewLabel = '…'
const length = '…'
const heading = '…'
const heading2 = '…'
const heading3 = '…'
const menuRow = '…'
const g = '…'
const text = '…'
const g2 = '…'
const text2 = '…'
const g3 = '…'
const text3 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Input label="Search" placeholder="code, title, body, option" value="" submitLabel="" autoFocus />
</Box>
</Box>
<Box flexDirection="row" flexWrap="wrap" columnGap={2} paddingRight={2}>
<Button label={`${filterLabel}`} hotkey="f" />
<Button label={`${showLabel}`} hotkey="s" />
<Button label="Clear" />
<Box flexGrow={1} flexDirection="row" justifyContent="flex-end">
<Button label={`${viewLabel}`} hotkey="v" />
</Box>
</Box>
<Text dimColor>
{`${length} of ${length} items`}
</Text>
<Text dimColor>
Nothing matches.
</Text>
<Box flexDirection="column" marginTop={1}>
<Text bold color="cyan">
{heading}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold color="cyan">
{heading2}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold color="cyan">
{heading3}
</Text>
</Box>
<Box position="absolute" left={0} flexDirection="row" columnGap={2} borderStyle="round" backgroundColor="userMessageBackground" paddingX={1}>
<Box flexDirection="column">
<Button label={`${menuRow}`} plain />
<Button label={`${menuRow}`} plain />
<Button label={`${menuRow}`} plain />
</Box>
</Box>
<Box position="absolute" flexDirection="column" borderStyle="round" backgroundColor="userMessageBackground" paddingX={1}>
<Button label={`${menuRow}`} plain />
<Button label={`${menuRow}`} plain />
<Button label={`${menuRow}`} plain />
<Box flexDirection="column" marginTop={1}>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{g}
</Text>
</Box>
<Text dimColor wrap="wrap">
{text}
</Text>
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{g2}
</Text>
</Box>
<Text dimColor wrap="wrap">
{text2}
</Text>
</Box>
<Box flexDirection="row">
<Box width={2} flexShrink={0}>
<Text color="success">
{g3}
</Text>
</Box>
<Text dimColor wrap="wrap">
{text3}
</Text>
</Box>
</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/drawer.tsx lines 588–686 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
if (e.props.hasSurvey) return next(e);
if (!S.loaded) await refresh($);
if (!S.active) return next(e);
// Another plugin's band draws beneath this one rather than being replaced.
const below = await next(e);
const { Box, Text, Button } = $.ui.resolve(e);
const present = byCode(prefixes());
const most = Math.max(0, ...present.map((p) => ofPrefix(p).length));
// Border 2, header 1, band row 1; what is left holds titles, at most 10.
const listRows = Math.max(1, Math.min(REVEAL_MAX, most, e.props.maxRows - 4));
const revealHeight = listRows + 3;
const titleWidth = Math.max(10, e.props.bodyColumns - 4);
// The hint goes when the row would not fit, as beside a docked pane: a row
// too wide shrinks its Texts to nothing rather than cutting the tail.
const labels = present.map((p) => `${p}:${ofPrefix(p).length}`).join('|');
const hint = `▸ ${TITLE} · open | use /${PANE} · ${labels}`.length <= e.props.bodyColumns ? `| use /${PANE} ·` : '·';
const openType = (p: string, code = '') => {
S.query = code;
S.selected = code;
S.prefix = p;
void openPane($).then(() => $.ui.invalidate('ui.render'));
};
const band = (
<Box flexDirection="column">
{(S.paneOpen ? [] : present).map((p) => {
const items = ofPrefix(p);
const shown = items.slice(-listRows);
// The code cell fits the widest code shown, so every title starts in one column.
const codeWidth = Math.max(0, ...shown.map((i) => i.code.length));
return (
<Box
key={`reveal-${p}`}
display="none"
hover={{ scope: `kband-${p}`, display: 'flex' }}
flexDirection="column"
height={revealHeight}
overflow="hidden"
borderStyle="round"
paddingX={1}
>
<Box key={`reveal-head-${p}`} flexDirection="row" gap={2}>
<Text bold>{`${groupName(p)} · ${items.length}`}</Text>
{items.length > shown.length ? <Text dimColor>{`latest ${shown.length}`}</Text> : null}
<Button key={`reveal-all-${p}`} label={`list all ${items.length} ▸`} plain onPress={() => openType(p)} />
</Box>
{shown.map((i) => (
// The row leads with the glyph its drawer row carries.
<Box key={`reveal-row-${i.code}`} flexDirection="row">
<Box key={`reveal-glyph-${i.code}`} width={2} flexShrink={0}>{paint(Text, glyph(i))}</Box>
<Button
key={`reveal-${i.code}`}
label={clip(`${i.code.padEnd(codeWidth)} ${i.title}`, titleWidth - 2)}
plain
onPress={() => openType(p, i.code)}
/>
</Box>
))}
</Box>
);
})}
<Box key="band-row" flexDirection="row" gap={1} height={1} overflow="hidden">
<Box key="band-head" flexDirection="row" gap={1} flexShrink={0}>
<Text color={TEAL}>{`▸ ${TITLE}`}</Text>
<Text dimColor>·</Text>
<Button
key="open"
label="open"
plain
hover={{ scope: 'kband-open', underline: true }}
// An empty query, as /kdrawer with no argument sends, so a code
// the band opened last time does not stay listed past Status.
onPress={() => {
void openPane($, '').then(() => refresh($)).then(() => $.ui.invalidate('ui.render'));
}}
/>
<Text dimColor>{hint}</Text>
</Box>
{present.length === 0 ? <Text dimColor>no codes yet</Text> : null}
<Box key="band-labels" flexDirection="row">
{present.map((p, k) => (
<Box key={`label-${p}`} flexDirection="row" flexShrink={0} hover={{ scope: `kband-${p}` }}>
<Button
key={`band-${p}`}
label={`${p}:${ofPrefix(p).length}`}
plain
dimColor
hover={{ scope: `kband-${p}`, bold: true }}
onPress={() => openType(p)}
/>
{k < present.length - 1 ? <Text dimColor>|</Text> : null}
</Box>
))}
</Box>
</Box>
</Box>
);
return below ? <Box flexDirection="column">{band}{below}</Box> : band;
}).catch(($, e, next) => next(e));hooks/drawer.tsx lines 310–312 · Band
function paint(Text: ReturnType<EngineInterface['ui']['resolve']>['Text'], g: string) {
return g === '✓' ? <Text color="success">{g}</Text> : g === '✗' ? <Text color="error">{g}</Text> : g === '!' ? <Text color="warning">{g}</Text> : <Text dimColor>{g}</Text>;
}hooks/drawer.tsx lines 688–847 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, ($, e, next) => {
if (!S.active) return next(e);
const T = $.ui.resolve(e);
const { Box, Text, Button } = T;
const redraw = () => $.ui.invalidate('ui.render');
const rows = visible();
const width = Math.max(20, e.props.bodyColumns);
const present = byName(prefixes());
const groups = byName([...new Set(rows.map((i) => i.prefix))]);
// The pane losing focus, a click in the transcript or the prompt, closes the menu.
if (!e.props.isFocused) S.filterOpen = S.statusOpen = false;
// Row 2 names the filter by its code when the full name would push the
// view toggle onto a line of its own, as in a docked pane. A Button draws
// as `[ label ]`, the controls sit 2 apart, and the row keeps 2 of padding.
// Past that the row wraps, and the menu drops below its last line.
const viewLabel = S.full ? 'Show short view' : 'Show full view';
// Status opens a menu of all, open, and resolved, with the key to the row
// glyphs below them. Clear leaves it alone: Status is a standing
// preference that outlives the pane, and Clear undoes one visit's search.
const showLabel = `Status: ${S.show} ${S.statusOpen ? '▴' : '▾'}`;
const named = S.only.length > 0 ? 'still open' : S.prefix === 'all' ? 'all types' : groupName(S.prefix);
const controls = (filter: string) => [filter.length + 4, showLabel.length + 4, 'Clear'.length + 4, viewLabel.length + 4];
const fits = lines(controls(`Filter: ${named} ▾`), width - 2, 2) === 1;
const filterLabel = `Filter: ${fits ? named : S.only.length > 0 ? 'open' : S.prefix} ${S.filterOpen ? '▴' : '▾'}`;
const menuTop = 1 + lines(controls(filterLabel), width - 2, 2);
const menu = [
{ value: 'all', name: 'All types', n: S.items.length },
...present.map((p) => ({ value: p, name: groupName(p), n: ofPrefix(p).length })),
];
// An inline pane's frame fits the tree, which a placed menu adds nothing
// to, and stops at the rows the surface gave it. The tree grows to reach
// an open menu's foot, and a menu taller than the room splits into columns.
const inline = e.props.placement === 'inline';
// Columns stop at what the drawer's width holds whole, and a menu still
// taller than the room scrolls with the drawer.
const longest = Math.max(...menu.map((f) => `● ${f.name} ${f.n}`.length));
const room = inline ? Math.max(1, e.props.scroll.bodyRows - menuTop - 2) : menu.length;
const across = Math.min(Math.ceil(menu.length / room), Math.max(1, Math.floor((width - 2) / (longest + 2))));
const perColumn = Math.ceil(menu.length / across);
// Recounted, so a split the width capped never leaves its last column empty.
const columns = Math.ceil(menu.length / perColumn);
// The menu reaches the Clear button's right edge, wider only for a long name.
const reach = filterLabel.length + 4 + 2 + showLabel.length + 4 + 2 + 'Clear'.length + 4;
const menuWidth = Math.min(width, Math.max(reach, columns * longest + (columns - 1) * 2 + 4));
const cellWidth = Math.floor((menuWidth - 4 - (columns - 1) * 2) / columns);
// The Status menu drops below the Status button, or from the left edge
// when the button wrapped onto a line of its own.
const statusMenu = SHOWS.map((s) => ({
value: s,
n: S.items.filter((i) => (S.prefix === 'all' || i.prefix === S.prefix) && shows(i, s)).length,
}));
const legend = [
{ g: '○', text: 'open, or never closes' },
{ g: '✓', text: 'answered, settled, or done' },
{ g: '✗', text: 'dismissed, dropped, or withdrawn' },
{ g: '!', text: 'corrected, title not restated' },
];
const statusWidth = Math.min(width, Math.max(...legend.map((l) => l.text.length + 2), ...statusMenu.map((f) => `● ${f.value} ${f.n}`.length)) + 4);
// A menu wider than the room right of the button shifts left to stay inside the drawer.
// A legend line too long for the menu wraps by word, and each wrap adds a row.
const legendRows = legend.reduce((n, l) => n + lines(l.text.split(' ').map((w) => w.length), statusWidth - 6, 1), 0);
const menuFoot = menuTop + (S.filterOpen ? perColumn + 2 : S.statusOpen ? statusMenu.length + legendRows + 3 : 0);
const statusLeft = Math.max(0, Math.min(width - statusWidth, lines([filterLabel.length + 4, showLabel.length + 4], width - 2, 2) === 1 ? filterLabel.length + 4 + 2 : 0));
const body = (i: Item) => [
closingLine(Text, i, `closed-${i.code}`),
correctionLine(Text, i, `corrected-${i.code}`),
backlinks(i) ? <Text key={`cited-${i.code}`} wrap="wrap" dimColor>{backlinks(i)}</Text> : null,
i.summary ? <Text key={`sum-${i.code}`} wrap="wrap" dimColor={i.prefix === 'Q'}>{i.summary}</Text> : null,
...i.options.map((o) => <Text key={`opt-${i.code}-${o.key}`} wrap="wrap">{` ${o.key}. ${o.text}`}</Text>),
i.rec ? <Text key={`rec-${i.code}`} wrap="wrap"><Text bold>Recommended:</Text>{` ${i.rec}`}</Text> : null,
];
// A row is a table line: the code, the status glyph, and the title, which
// wraps in the cells left. Every row keeps the glyph cell, blank or not, so
// every title starts in one column. The code cell fits the widest code
// shown and its marker.
const codeWidth = Math.max(0, ...rows.map((i) => i.code.length)) + 4;
// A heading counts its type under the search and filters but not Status,
// and for a type that closes, how many are open, so Status open never
// reads "1 open of 1".
const every = visible('all');
const heading = (p: string) => {
const of = every.filter((i) => i.prefix === p);
const open = of.filter((i) => !isClosed(i)).length;
return CLOSING.has(p) ? `${groupName(p)} · ${open} open of ${of.length}` : `${groupName(p)} · ${of.length}`;
};
// The code is a button: pressing it opens the item as a card beneath the
// row, in a frame, and pressing it again closes the card.
const entry = (i: Item) => {
const open = S.selected === i.code;
return (
<Box key={`row-${i.code}`} flexDirection="column" marginTop={S.full ? 1 : 0}>
<Box key={`line-${i.code}`} flexDirection="row" alignItems="flex-start">
<Box key={`cell-code-${i.code}`} width={codeWidth} flexShrink={0}>
<Button
key={`pick-${i.code}`}
label={`${open ? '▾' : '▸'} ${i.code}`}
plain
hover={{ scope: `kref-${i.code}`, inverse: true }}
onPress={() => {
S.selected = open ? '' : i.code;
S.filterOpen = S.statusOpen = false;
redraw();
}}
/>
</Box>
<Box key={`cell-status-${i.code}`} width={2} flexShrink={0}>
{paint(Text, glyph(i))}
</Box>
<Box key={`cell-title-${i.code}`} flexGrow={1} flexShrink={1} minWidth={0}>
<Text wrap="wrap">{i.title}</Text>
</Box>
</Box>
{open ? (
<Box
key={`card-${i.code}`}
flexDirection="column"
borderStyle="round"
backgroundColor="userMessageBackground"
paddingX={1}
>
<Text>{paint(Text, glyph(i))}<Text color="cyan">{` ${i.code} · ${nameOf(i)}`}</Text></Text>
{body(i)}
</Box>
) : S.full ? (
// The body starts under the title, past the code and glyph cells.
<Box key={`body-${i.code}`} flexDirection="column" paddingLeft={codeWidth + 2}>
{body(i)}
</Box>
) : null}
</Box>
);
};
return (
<Box flexDirection="column" width={width} minHeight={inline ? menuFoot : undefined}>
<Box key="top" flexDirection="row">
{'Input' in T ? (
<Box key="q-box" flexGrow={1} flexShrink={1}>
<T.Input
key="q"
label="Search"
placeholder="code, title, body, option"
value={S.query}
submitLabel=""
autoFocus
onInput={(v) => {
S.query = v;
redraw();
}}
onSubmit={(v) => {
S.query = v;
redraw();
}}
/>
</Box>
) : null}
</Box>
<Box key="filters" flexDirection="row" flexWrap="wrap" columnGap={2} paddingRight={2}>Licence text (MIT)
MIT License Copyright (c) 2026 Holden Hewett 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
runs programswrites filesenv varsdrives Claudesettings hooksships servers
What its code shows
Read from the source at commit be8fd4759234 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.ts |
| Parses | Every file parses as TypeScript or JavaScript.6 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.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.ts:138 rm (not on Windows) |
| 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.git (reaches the network), rm, session-link.sh (a settings hook), mistakes.sh (a settings hook), stop-classify.sh (a settings hook), ledger-stop.sh (a settings hook), stop-verifier.sh (a settings hook) |
| 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, settings.json 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 $.SessionStart: session-link.sh (through a shell); PreToolUse: mistakes.sh (through a shell); PostToolUse: mistakes.sh (through a shell); PostToolUseFailure: mistakes.sh (through a shell); Stop: stop-classify.sh (through a shell); Stop: ledger-stop.sh (through a shell); Stop: stop-verifier.sh (through a shell); Stop: mistakes.sh (through a shell) |
| 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/: kref 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.2 skills: text only |
| 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.fork (sends its own transcript) |
| 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: classic.Stop, command.run, prompt.submit · also: turn.complete, ui.focus, ui.close, session.start (+2) · timers: 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, KATHARSIS_DATA, CLAUDE_CONFIG_DIR; files: a path computed at run time, …/hint-sessions, …/…, its own folder/styles/models, …/.exchange-last…` : ''} (+4); settings.json |
| 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: …/hint-sessions, a path computed at run time, …/…, …/.active…` : ''}, …/ledger/chains/… (+4) |
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 OpenScribbler/Katharsis/plugin install katharsis@openscribbler/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (be8fd4759234). 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/OpenScribbler/Katharsisgit -C Katharsis checkout be8fd4759234d82f0379c361b5e69c204ec4ae0eclaude plugin validate Katharsisclaude --plugin-dir KatharsisThe 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 "openscribbler-katharsis" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- ai-maestro-secrets23blocks-OS★ 817
- pulse-ccfatwang2★ 113
- hopeSaad Shahd★ 35
- board-panedwarvesf★ 10
- agent-discoverkeshrath★ 7
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/openscribbler-katharsis/)