Borrowing it
Nothing to install: this file belongs to JanoshMoshiri/MarkdownLLM. 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/JanoshMoshiri/MarkdownLLM/main/.claude/settings.jsongit clone --depth 1 https://github.com/JanoshMoshiri/MarkdownLLMWrote 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/janoshmoshiri/markdownllm/session-start)<a href="https://agentmods.dev/hooks/janoshmoshiri/markdownllm/session-start"><img src="https://agentmods.dev/badge/hooks/janoshmoshiri/markdownllm/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/janoshmoshiri/markdownllm/session-start"><img src="https://agentmods.dev/badge/hooks/janoshmoshiri/markdownllm/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 20d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- PostToolUse — 97% identical, 5 lines differ
How it starts
The opening of the file, as written. The whole thing — 13 lines — stays where its author put it; the contents beside it link to each section on GitHub.
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "ROOT=\"${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}\"\nMDLLM=\"$ROOT/\"'./tools/mdllm.py'\nFW=\"${MDLLM%/*/*}\"\nPY=\"\"\nPY_PREFIX=\"\"\nMDLLM_LAUNCH_DEADLINE=\"\"\nMDLLM_DATE=\"\"\nMDLLM_TIMEOUT=\"\"\nif [ -x /usr/bin/date ] && [ -x /usr/bin/timeout ]; then\n MDLLM_DATE=/usr/bin/date\n MDLLM_TIMEOUT=/usr/bin/timeout\nelif timeout --version >/dev/null 2>&1 && date +%s >/dev/null 2>&1; then\n MDLLM_DATE=date\n MDLLM_TIMEOUT=timeout\nfi\nif [ -n \"$MDLLM_DATE\" ] && [ -n \"$MDLLM_TIMEOUT\" ]; then\n MDLLM_LAUNCH_DEADLINE=$(( $(\"$MDLLM_DATE\" +%s) + 10 ))\nfi\nmdllm_probe() {\n [ -n \"$MDLLM_LAUNCH_DEADLINE\" ] || return 1\n mdllm_remaining=$(( MDLLM_LAUNCH_DEADLINE - $(\"$MDLLM_DATE\" +%s) ))\n [ \"$mdllm_remaining\" -gt 0 ] || return 1\n \"$MDLLM_TIMEOUT\" \"$mdllm_remaining\" \"$@\" -c \"import yaml\" >/dev/null 2>&1\n}\nMDLLM_WINDOWS_SH=\"${MSYSTEM:-}\"\nif [ -z \"$PY\" ] && [ -x \"$ROOT/.venv/bin/python\" ] && mdllm_probe \"$ROOT/.venv/bin/python\"; then\n PY=\"$ROOT/.venv/bin/python\"\nfi\nif [ -z \"$PY\" ] && [ -n \"$MDLLM_WINDOWS_SH\" ] && [ -x \"$ROOT/.venv/Scripts/python.exe\" ] && mdllm_probe \"$ROOT/.venv/Scripts/python.exe\"; then\n PY=\"$ROOT/.venv/Scripts/python.exe\"\nfi\nif [ -z \"$PY\" ] && [ -x \"$FW/.venv/bin/python\" ] && mdllm_probe \"$FW/.venv/bin/python\"; then\n PY=\"$FW/.venv/bin/python\"\nfi\nif [ -z \"$PY\" ] && [ -n \"$MDLLM_WINDOWS_SH\" ] && [ -x \"$FW/.venv/Scripts/python.exe\" ] && mdllm_probe \"$FW/.venv/Scripts/python.exe\"; then\n PY=\"$FW/.venv/Scripts/python.exe\"\nfi\nif [ -z \"$PY\" ] && command -v python3 >/dev/null 2>&1 && mdllm_probe python3; then\n PY=\"python3\"\nfi\nif [ -z \"$PY\" ] && command -v python >/dev/null 2>&1 && mdllm_probe python; then\n PY=\"python\"\nfi\nif [ -z \"$PY\" ] && [ -n \"$MDLLM_WINDOWS_SH\" ] && command -v py >/dev/null 2>&1 && mdllm_probe py \"-3\"; then\n PY=\"py\"\What else settings.json configures
This page is one entry in a file that holds 4. 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.
- 20d ago Changed eda2efb71855
- 29d ago Changed 93295670d6b9
- 2mo ago First seen · 13 lines scan A 103ae5c371ff
SessionStart is a hook published in the GitHub repository JanoshMoshiri/MarkdownLLM (5 stars, last pushed 4d ago), 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-08-31.
SessionStart compared with hooks from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| SessionStartJanoshMoshiri/MarkdownLLM | Hook | 5 | 4d ago | MIT | A | — | Claude Code |
| PostToolUsesupabase/supabase | Hook | 115k | yesterday | Apache-2.0 | A | — | Claude Code |
| SessionStartsupabase/supabase | Hook | 115k | yesterday | Apache-2.0 | A | — | Claude Code |
| SessionStartgoogle-gemini/gemini-cli | Hook | 109k | yesterday | Apache-2.0 | A | — | Claude Code |
| PreToolUseapache/superset | Hook | 75k | yesterday | Apache-2.0 | A | — | Claude Code |
| PreToolUseanthropics/claude-cookbooks | Hook | 54k | 2d ago | MIT | A | — | Claude Code |
| PostToolUseanthropics/claude-plugins-official | Hook | 46k | yesterday | Apache-2.0 | A | — | Claude Code |