From autoname
Names a session Claude Code left unnamed: after the first turn, a short Haiku-made slug via /rename, and a matching /color. /autoname names it on demand from more of the session.
5 events · 8 calls
Ships in autoname. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
command.runmodel.completeEach event it registers a hook on, with the matcher when it sets one
classic.SessionStartclassic.UserPromptSubmitsession.startcommand.run{command=autoname}turn.completeEvery mods API method its source calls, by namespace
afterregisterruncompletecwdmessagesgetsetWhere 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 newtonmunene99/claudekit --plugin autoname