Skip to content

Install

  • Claude Code 2.1.287 or later
  • bash and python3
  • Node.js 22.18 or later, for kref only

Setup, the Stop hooks, and the Bash hooks need python3.

  1. In Claude Code, add the marketplace and install the plugin:

    /plugin marketplace add OpenScribbler/Katharsis
    /plugin install katharsis@openscribbler
  2. Run setup:

    /katharsis:setup
  3. Open /config, select Output style, and choose a Katharsis style.

Setup adds two entries to permissions.allow in ~/.claude/settings.json ($CLAUDE_CONFIG_DIR/settings.json when that variable is set):

Bash(~/.claude/katharsis/scripts/katharsis-exchange-style.sh:*)
Bash(~/.claude/katharsis/scripts/katharsis-artifact.sh:*)

The entries let the model run the per-turn script, and the artifact script, which draws diagrams and videos at the rich richness level and writes a question page you ask for at any level, without a permission prompt. A video tool the model runs is not covered: it runs as its own Bash call, under your permission prompt. The setup script writes nothing else outside ~/.claude/katharsis-data/. It also checks your Claude Code version, and prints the fix when it is older than 2.1.287. When the version check fails, setup still adds the permission but doesn’t finish, and each new session asks you to run setup again until it passes. To preview the change, run ~/.claude/katharsis/scripts/setup.sh --dry-run.

Setup’s output ends with the diagram renderers (d2, mmdc) and video tools (vhs, ffmpeg, remotion) it finds, unless setup stops early on a settings file it cannot edit or a Claude Code too old. For each one missing, it prints an install command when the installer that command needs, such as brew, curl, go, or npm, is on your PATH, and names the missing installer otherwise. Remotion counts only as the Katharsis Remotion project in ~/.claude/katharsis-data/remotion/, which its install command creates with Remotion’s packages and the browser it renders with, marking it ready only once the browser is in place; a global remotion command does not count. When vhs or ffmpeg is found, setup marks Remotion not needed and offers no command, because rich uses those first. Remotion needs a paid company license for an organization above its small-team threshold; see remotion.dev/license. The script installs nothing. /katharsis:setup runs an install command only after you say yes to that command, and hands a command that contains sudo, or one that fails for lack of permission, to you to run in a terminal outside Claude Code. Without a video tool, rich uses Claude Motion when the session offers it and the option is on, otherwise a rendered diagram, otherwise an inline sketch.

Setup ends by offering /katharsis:rules-check, which you can also run at any time. It reads every instruction file Claude Code loads for the current project: CLAUDE.md files from the root down, CLAUDE.local.md, .claude/rules/, AGENTS.md where Claude Code loads it, and every file those import with @. It reports the rules that repeat the style, the rules that contradict it, and a count of the rest. Each duplicate and conflict comes with a suggested edit. The skill changes a file only after you approve that edit, and a file that reaches every project, such as ~/.claude/CLAUDE.md, needs its own yes.

Style Description
katharsis:Katharsis The style alone. Claude Code drops its built-in software engineering instructions.
katharsis:Katharsis coding The style plus Claude Code’s built-in software engineering instructions.

/config saves your choice to .claude/settings.local.json in the current project. Until you choose a Katharsis style, the per-turn and Stop hooks stay idle. Claude Code loads the style only under these qualified names. A settings file holding the bare Katharsis or Katharsis coding, as a hand edit or a synced file can leave, loads no style, unless an output style file of your own goes by that name. The hooks look for such a file where Claude Code loads them: when none goes by a bare name, they stay idle, and the first turn of each session says which name to set, as does the first turn after a /config change reloads the plugin. A bare name that loaded your own file by that name counts as Katharsis. Setup names each settings file that holds a bare name, the managed settings files included. One that loads your own file wherever it applies gets a line saying to leave it. A user or managed file whose only matching style file is in this project, which loads no Katharsis style in any other project, gets the qualified name to set, as does a name no file of yours answers. Every line says when a later file overrides it. A managed value outranks the one /config writes, so for a bare name the managed settings set, the first turn and setup send you to whoever manages them instead of /config. The session-start hook still creates the symlink and the data directory, and asks you to run setup until you do. The Bash hooks that save a file a call replaced unread run either way.

Katharsis is a mod, a plugin with a hooks module that Claude Code loads with no flag from 2.1.287 on. On a Claude Code that doesn’t load mods, the per-turn reminder doesn’t reach the model, the Stop hooks stay idle, and the drawer doesn’t appear. The Bash hooks that save a file a call replaced unread still run.