From reflect-mod
claude-reflect as a Claude Code mod: a model check on each short prompt finds reusable corrections (any language); a band above the prompt saves them to CLAUDE.md on one press
6 events · 18 calls
Ships in reflect-mod. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
fs.writefs.existsfs.readenv.getmodel.completeprompt.submitprompt.composeEach event it registers a hook on, with the matcher when it sets one
session.startprompt.submitturn.completeprompt.composecommand.run{command=reflect-queue}command.run{command=reflect-pause}ui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
afternowregistergetexistsreadwritecompletefillreadmessagesrootgetsetgetsetresolvetoastHOMEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub bayramannakov/claude-reflect --plugin reflect-mod