-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.template.json
More file actions
62 lines (60 loc) · 3.52 KB
/
settings.template.json
File metadata and controls
62 lines (60 loc) · 3.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"_comment": "Template for ~/.claude/settings.json. Adapt paths per machine. Never commit real settings.json.",
"_machines": {
"mac": "Mac — runs voice, sync, 11 MCPs, all hooks",
"vps": "Hetzner CX23 Helsinki — subset of hooks"
},
"_api_keys": "All API keys in ~/telegram-claude-bot/.env — never in this file",
"_sync": "This template is git-synced. Real settings.json is NOT (machine-specific paths).",
"mcpServers": {
"_mac_only": {
"trends-hub": {"command": "npx", "args": ["-y", "trends-hub-mcp"]},
"bilibili": {"command": "uv", "args": ["run", "bilibili-mcp-server"]},
"exa": {"command": "npx", "args": ["-y", "exa-mcp-server"]},
"tavily": {"command": "npx", "args": ["-y", "tavily-mcp"]},
"skillsmp": {"command": "npx", "args": ["-y", "skillsmp"]},
"context7": {"command": "npx", "args": ["-y", "context7-mcp"]},
"playwright": {"command": "npx", "args": ["-y", "@anthropic/playwright-mcp"]},
"fal": {"command": "npx", "args": ["-y", "fal-ai-mcp"]}
},
"_vps_only": {
}
},
"hooks": {
"_note": "All hooks live in telegram-claude-bot/hooks/ and deploy via deploy_hooks.sh",
"PreToolUse": [
{"matcher": "Bash", "hooks": [
{"type": "command", "command": "python3 ~/.claude/hooks/guard_safety.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_pre_publish.py", "timeout": 30000, "_mac_only": true}
]}
],
"PostToolUse": [
{"matcher": "Bash", "hooks": [
{"type": "command", "command": "python3 ~/.claude/hooks/auto_vps_sync.py", "timeout": 15000, "_mac_only": true},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_dependency_grep.py", "timeout": 10000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_license.py", "timeout": 15000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_repo_check.py", "timeout": 5000}
]},
{"matcher": "Edit|Write", "hooks": [
{"type": "command", "command": "python3 ~/.claude/hooks/auto_pip_install.py", "timeout": 30000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_bot_restart.py", "timeout": 15000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_restart_process.py", "timeout": 15000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_memory_index.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_test_after_edit.py", "timeout": 30000},
{"type": "command", "command": "python3 ~/.claude/hooks/hardcoded_model_guard.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/async_safety_guard.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/resource_leak_guard.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/tg_security_guard.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/tg_api_guard.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/admin_only_guard.py", "timeout": 5000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_skill_sync.py", "timeout": 5000, "_mac_only": true}
]}
],
"Stop": [
{"matcher": "", "hooks": [
{"type": "command", "command": "python3 ~/.claude/hooks/auto_content_remind.py", "timeout": 3000},
{"type": "command", "command": "python3 ~/.claude/hooks/auto_review_before_done.py", "timeout": 5000}
]}
]
}
}