fix: correct hooks.json format, remove explicit hooks path, and improve install docs

This commit is contained in:
Giancarlo Erra
2026-03-16 00:58:01 +00:00
parent b1bfe2c480
commit db69a2d9b4
3 changed files with 33 additions and 14 deletions
+1 -2
View File
@@ -18,6 +18,5 @@
"semantic-search",
"mcp"
],
"mcpServers": "./.mcp.json",
"hooks": "./hooks/hooks.json"
"mcpServers": "./.mcp.json"
}
+18
View File
@@ -90,6 +90,15 @@ The first Qdrantbased MCP/Claude Plugin/Skill that pairs automanaged, zero
**Claude Code** — install the plugin (recommended, includes workflow skills for best results):
From your shell:
```bash
claude plugin marketplace add giancarloerra/socraticode
claude plugin install socraticode@socraticode
```
Or from within Claude Code:
```
/plugin marketplace add giancarloerra/socraticode
/plugin install socraticode@socraticode
@@ -297,6 +306,15 @@ before reading any files directly.
The SocratiCode plugin bundles both the MCP server and workflow skills that teach Claude how to use the tools effectively. One install gives you everything:
From your shell:
```bash
claude plugin marketplace add giancarloerra/socraticode
claude plugin install socraticode@socraticode
```
Or from within Claude Code:
```
/plugin marketplace add giancarloerra/socraticode
/plugin install socraticode@socraticode
+14 -12
View File
@@ -1,14 +1,16 @@
{
"SessionStart": [
{
"matcher": ".*",
"hooks": [
{
"type": "prompt",
"prompt": "IMPORTANT: If you notice that SocratiCode MCP tools appear with BOTH a plugin prefix (e.g. mcp__plugin_socraticode_socraticode__codebase_search) AND a standalone prefix (e.g. mcp__socraticode__codebase_search), the user has a duplicate configuration. Advise them to remove the standalone MCP by running: claude mcp remove socraticode — the plugin already provides the MCP server.",
"timeout": 5
}
]
}
]
"hooks": {
"SessionStart": [
{
"matcher": ".*",
"hooks": [
{
"type": "prompt",
"prompt": "IMPORTANT: If you notice that SocratiCode MCP tools appear with BOTH a plugin prefix (e.g. mcp__plugin_socraticode_socraticode__codebase_search) AND a standalone prefix (e.g. mcp__socraticode__codebase_search), the user has a duplicate configuration. Advise them to remove the standalone MCP by running: claude mcp remove socraticode — the plugin already provides the MCP server.",
"timeout": 5
}
]
}
]
}
}