# 54ch10 hook

Claude Code only. Runs before Bash, WebFetch, WebSearch, or PowerShell. If the command has a URL, we check if the site is fake.

```bash
mkdir -p ~/.claude/hooks ~/.claude/skills/54ch10
curl -fsSL https://54ch10.uk/hook.py -o ~/.claude/hooks/54ch10.py
curl -fsSL https://54ch10.uk/skill.md -o ~/.claude/skills/54ch10/SKILL.md
chmod +x ~/.claude/hooks/54ch10.py
```

Then put this in `~/.claude/settings.json` (merge with what you already have):

```json
{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|WebFetch|WebSearch|PowerShell",
        "hooks": [
          {
            "type": "command",
            "command": "python3 ~/.claude/hooks/54ch10.py",
            "timeout": 15
          }
        ]
      }
    ]
  }
}
```

