Troubleshoot a mod changedplugins/mods/troubleshoot
Nearest release: v2.1.295, published an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 8 Oct 2026 19:27 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 8 Oct 2026 19:37 UTC.
Upstream edited
Recorded here
Lines+8added
Lines−0removed
From line
127
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits10to this page, all time
### `its session.start ran again in a fresh copy`
The whole hunk
from line 127, old and new numbered
/
from line 127
127127
128128Fix the hook.
129129
130### `its session.start ran again in a fresh copy`
131
132The line starts with the mod's name and names a `$.prompt.submit`, `$.command.run`, or `$.agent.spawn` call, as in `first-mod: its session.start ran again in a fresh copy; the $.prompt.submit call it had already made was not made again`. Claude Code loaded the mod's module again, for example after the hooks worker crashed and was replaced, and the fresh copy's [`session.start`](/docs/en/plugins/mods/reference#session) hook ran. The call the line names resolved with the result of its first run instead of running again, so your mod doesn't submit the prompt, run the command, or start the subagent twice. The rest of the hook ran as usual.
133
134There's nothing to fix.
135
136Before v2.1.292, the call ran a second time, so the prompt was submitted, the command run, or the subagent started twice.
137
130138### `mods that run in the hooks worker are off for this session`
131139
132140The line reads `hooks: mods that run in the hooks worker are off for this session: it crashed 3 times`. The worker stopped three times and Claude Code couldn't trace the stops to one mod, so it unloaded every mod that isn't built in, including mods your organization installs. This line reaches the transcript in every interactive session.
No line in this hunk matches that.