From learning-gate
Enforces the opt-in learning-guardrails skill: keeps Claude from loading it unasked, refuses code edits before triage or when the risk rules flag an edit the triage didn't cover, blocks code edits while a checkpoint is open (one left from an earlier session waits, parked, for /pickup), pins the open question above the prompt, adds /learned, /pickup and /audit.
8 events · 20 calls
Ships in learning-gate. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callfs.writefs.existsfs.listfs.readenv.getenv.setcommand.runprompt.submitprompt.submitskill.promptprompt.composeEach event it registers a hook on, with the matcher when it sets one
session.startskill.prompttool.callprompt.submitprompt.composesession.append{door=response}ui.render{component=AbovePrompt}command.run{command=learned}command.run{command=pickup}command.run{command=audit}Every mods API method its source calls, by namespace
nowlistregisterrungetsetexistslistreadwritesubmitcwdidgetsetgetsetresolvestatustoastHOMEWhere 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 2steaks/skills --plugin learning-gate