Skip to content

Comments

feat: Add Claude Code hook integration#12

Merged
fuba merged 1 commit intomainfrom
feature/claude-code-hook
Feb 6, 2026
Merged

feat: Add Claude Code hook integration#12
fuba merged 1 commit intomainfrom
feature/claude-code-hook

Conversation

@fuba
Copy link
Owner

@fuba fuba commented Feb 6, 2026

Summary

  • Add install-claude-code-hook.sh script to set up PostToolUse hook for Claude Code
  • Hook records all Bash commands executed by Claude Code to histree database
  • Commands are tagged with :claude hostname suffix for easy filtering

Test plan

  • Run ./install-claude-code-hook.sh on a fresh setup
  • Verify hook script is created at ~/.claude/hooks/post-bash-histree.sh
  • Verify settings.json is updated with hook configuration
  • Restart Claude Code and execute some Bash commands
  • Verify commands appear in histree with :claude suffix

🤖 Generated with Claude Code

- Add install-claude-code-hook.sh to set up PostToolUse hook
- Hook records Bash commands to histree with :claude suffix
- Update README.md with Claude Code Integration section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fuba fuba merged commit dac3e45 into main Feb 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant