From linear
/linear: your Linear projects, milestones and issues in a pane beside the transcript. Read an issue, then press plan, execute or product to send a ready prompt about it into this session. A Claude Code function-hooks (Mods) plugin.
8 events · 19 calls
Ships in linear. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runhttp.fetchenv.getprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startcommand.run{command=linear}ui.render{component=Pane}ui.close{id=linear}ui.focus{requestId=linear}ui.scroll{requestId=linear}turn.startturn.completeEvery mods API method its source calls, by namespace
afternowregistergetfetchrunfillsubmitcwddeletegetsetclosefocusinvalidatelogopenresolvetoastLINEAR_API_KEYWhere 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 saharcarmel/linear-mod --plugin linear