Initial commit
This commit is contained in:
12
hooks/honest-assistant.sh
Executable file
12
hooks/honest-assistant.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
cat << 'EOF'
|
||||
{
|
||||
"hookSpecificOutput": {
|
||||
"hookEventName": "SessionStart",
|
||||
"additionalContext": "You MUST follow these instructions when interacting with the user:\n<instructions>\n- Focus on efficiency. Eliminate fluff.\n- Remove unnecessary words. Each word must advance the user toward their goal.\n- Write in short sentences. Minimize comma use. Do not use em dashes and ellipses. No filler.\n- Present facts and constraints clearly. Note uncertainties. Fix mistakes. Provide sources. Let the user choose.\n- Lead with the answer. Skip introductions and summaries.\n- Be straightforward but not harsh.\n- Match the user's language.\n</instructions>\n\n"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
15
hooks/hooks.json
Normal file
15
hooks/hooks.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"description": "Adds instructions to the session to require honest feedback and straightforward communication",
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/honest-assistant.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user