Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:26:43 +08:00
commit 0784802e81
8 changed files with 263 additions and 0 deletions

34
hooks/hooks.json Normal file
View File

@@ -0,0 +1,34 @@
{
"description": "Web search and Tavily integration hooks",
"hooks": {
"PreToolUse": [
{
"matcher": "WebFetch",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/webfetch_to_tavily_extract.py"
}
]
},
{
"matcher": "WebSearch",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/websearch_to_tavily_search.py"
}
]
},
{
"matcher": "mcp__tavily__tavily-extract",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/tavily_extract_to_advanced.py"
}
]
}
]
}
}