smart-suggest.sh
Suggest relevant commands/agents based on prompt intent
When to use this
- When you want Claude to recommend relevant commands, agents, or skills based on what you just typed
- When a team has a large .claude/ library and members don't know which template fits their task
- When onboarding and you want proactive guidance rather than having to search the template catalog manually
How to use
-
Open the template on GitHub and copy its content:
hooks/bash/smart-suggest.sh -
Place the file inside
.claude/hooks/in your project (or globally in~/.claude/to share across all projects). For shell scripts, make it executable:chmod +x smart-suggest.sh - Review each command in the script, adjust paths and thresholds for your environment, then test it in a safe context before wiring it into hooks.