/plugin marketplace add telvokdev/librarian/plugin install librarian@librarianDefined in hooks/hooks.json
{
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "printf 'brief - Before planning, deciding, or problem-solving, check what we already know.\\n\\nrecord - What from this conversation would help us next time? The decisions, the gotchas, what worked, what did not, the reasoning - record before it is gone.'"
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 1
},
"eventStats": {
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 1
}
}