Hooks reference changedhooks
Nearest release: v2.1.332, published 3 hours after 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 24 Nov 2026 18:20 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 24 Nov 2026 18:37 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−2removed
From line
1,379
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits161to this page, all time
The whole hunk
from line 1379, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 1379
13791379#!/bin/bash
13801380
13811381git -C ~/.claude/skills/team-skills pull --quiet 2>/dev/null || \
1382 git clone --quiet https://git.example.com/your-org/team-skills.git ~/.claude/skills/team-skills
1382 git -c protocol.file.allow=never clone --quiet https://git.example.com/your-org/team-skills.git ~/.claude/skills/team-skills
13831383
13841384echo '{"hookSpecificOutput": {"hookEventName": "SessionStart", "reloadSkills": true}}'
13851385```
13861386
1387The repository URL is a placeholder. Replace it with your own skills repository.
1387The repository URL is a placeholder. Replace it with your skills repository's HTTPS or SSH URL. With `protocol.file.allow=never` in the command, you can't clone from a folder path.
13881388
13891389#### Persist environment variables
13901390
from line 3707
37073707
37083708SessionEnd hooks have a default timeout of 1.5 seconds. It applies when you exit, run `/clear`, or switch sessions with interactive `/resume`. You can give a hook more time in two ways:
37093709
3710* **Per-hook `timeout`**: set `timeout` in that hook's configuration. The overall budget rises automatically to match the highest per-hook `timeout` in your settings files, up to 60 seconds. If you raise the budget this way, a hook without its own `timeout` still keeps the default. Timeouts set on plugin-provided hooks don't raise the budget.
3711* **`CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS`**: set this environment
3710* **Per-hook `timeout`**: set `timeout` in that hook's configuration. The overall budget rises automatically to match the highest per-hook `timeout` in your settings files, up to 60 seconds. If you raise the budget this way, a hook without its own `timeout` still keeps the default. Ti
No line in this hunk matches that.