Borrowing it
Nothing to install: this file belongs to vgtitov/bsl-ai-toolkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vgtitov/bsl-ai-toolkit/main/.claude/settings.jsongit clone --depth 1 https://github.com/vgtitov/bsl-ai-toolkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/hooks/vgtitov/bsl-ai-toolkit/session-start)<a href="https://agentmods.dev/hooks/vgtitov/bsl-ai-toolkit/session-start"><img src="https://agentmods.dev/badge/hooks/vgtitov/bsl-ai-toolkit/session-start/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/hooks/vgtitov/bsl-ai-toolkit/session-start"><img src="https://agentmods.dev/badge/hooks/vgtitov/bsl-ai-toolkit/session-start.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
SessionStart scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the commands this hook runs, not an audit. A hook is shell that executes on your machine at the event it names, which is why every command in it is printed with what was found.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "cd \"${CLAUDE_PROJECT_DIR:-.}\" && { P=$(for c in python3 python; do \"$c\" -c '' >/dev/null 2>&1 && { echo \"$c\"; break; }; done); ${P:-uv run --quiet --no-project --python 3.12 python} scripts/repo_freshness.py 2>/dev/null; } || true",
"timeout": 30
}
]
}
]
}What else settings.json configures
This page is one entry in a file that holds 3. Installing the file brings all of them; each is measured and scanned on its own page.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 13 lines scan A ca4937cd68c4
SessionStart is a hook published in the GitHub repository vgtitov/bsl-ai-toolkit (35 stars, last pushed yesterday), licensed MIT. Its token cost is not measured: a hook is shell that never enters the context. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.
Other hooks, from other repositories
SessionStart
Runs when a session starts, executing session-context.mjs and quality-baseline.mjs via node (2 commands). From Desko77/claude-code-skills-1c.
Stop
Runs when the agent finishes a response, executing quality-stop.mjs via node. From Desko77/claude-code-skills-1c.
PostToolUseFailure
Runs when a tool call fails for ^(mcp__[A-Za-z0-9._-]+__(validate_query, code_review, diagnostics, validate_for_export, get_project_errors, security_audit, check_1c_code, ask_1c_ai, syntaxcheck, detect_query_anti_patterns, insights), Bash, PowerShell)$, ^(mcp__[A-Za-z0-9._-]+__(validate_query, code_review…
PreToolUse
Runs before the agent uses a tool for ^(Read, Grep, Glob, Bash, PowerShell)$, Edit, Write and MultiEdit tool calls, executing edt-gate.mjs and support-guard.mjs via node (2 commands). From Desko77/claude-code-skills-1c.
PreToolUse
Runs before the agent uses a tool for Bash and PowerShell tool calls, executing gate-shell.mjs via node. From Romandredan/1c-quality-gate.
UserPromptSubmit
Runs when you submit a prompt, before the agent sees it, executing gate-prompt.mjs via node. From Romandredan/1c-quality-gate.