Skip to main content

HOOK_SESSION_START

Constant HOOK_SESSION_START 

Source
pub const HOOK_SESSION_START: &str = "#!/bin/bash\n# Seshat SessionStart hook \u{2014} soft reminder to use project intelligence tools.\n# Installed by `seshat init` into ~/.claude/hooks/ or .claude/hooks/.\n# Fires on: startup, resume, clear, compact.\n\ncat << \'REMINDER\'\nSeshat is active for this project. Before writing code:\n  query_project_context()           \u{2014} understand stack and top conventions\n  query_code_pattern(query=\"...\")   \u{2014} find existing implementations by name\n  query_convention(topic=\"...\")     \u{2014} learn the pattern for any area\n  validate_approach(description=\"...\") \u{2014} check your plan before writing\n  map_diff_impact()                    \u{2014} assess change impact before committing\n\nLoad the `seshat` skill for full details.\nREMINDER\n";
Expand description

Soft SessionStart hook — prints a reminder at session start (exit 0).