Borrowing it
Nothing to install: this file belongs to statecrafting/spec-spine. 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/statecrafting/spec-spine/main/.claude/settings.jsongit clone --depth 1 https://github.com/statecrafting/spec-spineWrote 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/statecrafting/spec-spine/stop)<a href="https://agentmods.dev/hooks/statecrafting/spec-spine/stop"><img src="https://agentmods.dev/badge/hooks/statecrafting/spec-spine/stop/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/statecrafting/spec-spine/stop"><img src="https://agentmods.dev/badge/hooks/statecrafting/spec-spine/stop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
Stop 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.
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.
{
"Stop": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "cd \"${CLAUDE_PROJECT_DIR:-.}\" 2>/dev/null || exit 0\n[ -d specs ] || exit 0\n# Resolve the spec-spine binary for the repository this hook acts on:\n# $SPEC_SPINE_BIN, then that repository's own release build, then PATH. A repo\n# that builds its own binary must be governed by the one it builds; the PATH\n# fallback keeps an adopter on the published CLI working (spec 093).\nspec_spine_bin() {\n if [ -n \"${SPEC_SPINE_BIN:-}\" ] && [ -x \"${SPEC_SPINE_BIN}\" ]; then echo \"${SPEC_SPINE_BIN}\"; return 0; fi\n if [ -x \"$1/target/release/spec-spine\" ]; then echo \"$1/target/release/spec-spine\"; return 0; fi\n command -v spec-spine 2>/dev/null\n}\n# Spec 123: an in-tree build older than the source it is built from was built\n# from an earlier revision, and its verdict is that revision's reading of this\n# corpus. Prints the first input newer than the binary, or nothing. Only the\n# repository's own build has inputs here to compare against, so an override or\n# a PATH binary prints nothing and is named instead. Reads mtimes; never builds.\nspec_spine_reader_predates() {\n [ \"$1\" = \"$2/target/release/spec-spine\" ] || return 0\n # The inputs are the files cargo compiled into this binary, from the dep-info\n # it rewrites on every link, so a change the binary does not depend on (a\n # test, a fixture, a manifest's dev table) never ages it, and the rebuild\n # this names always clears what it reports. Without that record, the source\n # and embedded-schema trees stand in for it.\n # Read line by line (no word splitting, no globbing), and trust only listed\n # files that exist inside this repository: a record naming another\n # checkout's files (a copied or moved build) says nothing about this one, so\n # it falls through to the fallback rather than reading as \"not older\".\n if [ -f \"$1.d\" ]; then\n r=$(sed 's/^[^:]*://' \"$1.d\" What else settings.json configures
This page is one entry in a file that holds 5. 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 Changed 929748470e78
- 1mo ago Changed 4e95cc425c8c
- 1mo ago Changed 5f41b039cf90
- 1mo ago Changed 738ebbba586c
- 1mo ago Changed 5d6cce908d27
- 2mo ago First seen · 13 lines scan A 07089c1c47d3
Stop is a hook published in the GitHub repository statecrafting/spec-spine (11 stars, last pushed 8d ago), licensed Apache-2.0. 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-07.
Stop compared with hooks from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Stopstatecrafting/spec-spine | Hook | 11 | 8d ago | Apache-2.0 | 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 |