Skip to content
Development
Hook

Hooks

What socraticode runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
socraticode
3.2k2 skills1 agent1 hook1 MCP
Install
> /plugin marketplace add giancarloerra/SocratiCode
> /plugin install socraticode@socraticode

Ships with socraticode. Installing the plugin gets these hooks.

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Matches.*echo '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
Read hooks/hooks.json
Ships withsocraticode

= 18"> "There is only one good, knowledge, and one evil, ignorance." โ€” Socrates Your AI reads code. SocratiCode understands it.

Get the whole plugin
Stats
3,238
Stars
407
Forks
Active
Maintenance
TypeScript
Language
AGPL-3.0
License
4d ago
Last commit
5mo ago
Created

Repo: giancarloerra/SocratiCode