Homebrew Claude Code Hooks — Development skill for Claude Code
Claude Code hooks for Obsidian integration and notifications.
How to install Homebrew Claude Code Hooks
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open delphinus/homebrew-claude-code-hooks and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Homebrew Claude Code Hooks does
Claude Code hooks for Obsidian integration and notifications.
Alternatives in Development
- Happy Coder — by GrocerPublishAgent - Spawn and control multiple Claude Codes in parallel from your phone or desktop 15.7k ★
- Obsidian Skills — Claude Skills for use with Obsidian 14.9k ★
- Peon Ping — Warcraft III Peon voice notifications (+ StarCraft, Portal, Zelda) for Claude Code and other agents 4k ★
README
claude-code-hooks
Claude Code での会話やツール操作を Obsidian ノートに自動記録するための Go バイナリ。8つのサブコマンドで構成される。
claude-code-hooks save— Claude Code のフックから呼び出され、イベントをノートに追記するclaude-code-hooks open— セッションのノートを Obsidian で開く(引数なしで現在のセッション)claude-code-hooks backfill— 既存ノートに session リンクをバックフィルするclaude-code-hooks setup— フック設定を~/.claude/settings.jsonに適用するclaude-code-hooks notify— macOS 通知を表示するヘルパー(クリックでペインを前面化。フォーカス検出対応。kitty / WezTerm)claude-code-hooks tabcolor— Claude Code の状態に応じてタブ色を変える(kitty / WezTerm 対応)claude-code-hooks gh-guard—ghが保護対象ホストに書き込む前に確認プロンプトを強制するclaude-code-hooks completion— シェル補完スクリプトを出力する(Bash / Zsh / Fish 対応)
インストール
brew tap delphinus/claude-code-hooks
brew install claude-code-hooks
claude-code-hooks setup
開発版(HEAD)をインストールする場合:
brew install --HEAD claude-code-hooks
使い方
claude-code-hooks setup
hooks.json の内容を `~/.claude/settings.json` の `hooks` キーにマージする。`env` や `model` など端末固有の設定はそのまま保持される。
# 差分を確認(適用しない)
claude-code-hooks setup --diff
# hooks を適用
claude-code-hooks setup
claude-code-hooks save
Claude Code の各フックイベントに応じて、セッションごとに1つの Obsidian ノート(`.md`)を作成し、時系列でイベントを追記していく。
対応イベントと記録内容
| フックイベント | 記録内容 |
|---|---|
UserPromptSubmit |
ユーザーの入力テキスト(## User 見出し) |
Stop |
アシスタントの応答(## Assistant 見出し) |
PostToolUse |
ツール使用(下記参照) |
SessionEnd |
Haiku で要約を生成しフロントマターの後に挿入。終了時刻を記録(下記) |
PostToolUse で記録するツール
| ツール名 | 記録形式 | 備考 |
|---|---|---|
Bash |
`> [!terminal]- descr |
Related Skills
Cmux Codex
cmux sidebar integration for OpenAI Codex CLI — status pills, progress bars, bash logs, focus-aware notificati
Claude Code Telegram Hooks
Get notifications to Telegram from any Claude Code setup (CLI, Desktop, Cursor etc)
Ntfy Hooks
Push notifications for coding agents (Claude Code, Codex, ...) via ntfy - one POSIX-shell hook, one-liner inst
Obsidian Claude Code Plugin
Interactive Claude Code integration for Obsidian
Obsidian Agent
A complete system for managing Obsidian vaults with Claude Code and Cowork. Designed for two vaults (work and
Obsidian Reminders Sync
Bidirectional sync between Obsidian daily notes and macOS Reminders via Claude Code hooks
Related Agents
App Tester
Builds and exercises Heron end-to-end on this machine — starts the dev app, starts and stops real claude CLI s
Mobile Agent
Generates a complete, store-ready Flutter app (iOS + Android) from the project spec. Covers all screens, state
iOS
Use for iOS app development tasks: Swift and SwiftUI code, UIKit work, Xcode project configuration, App Store