owayo

Claw Hooks — Productivity skill for Claude Code

Productivity community

Simple TOML hooks for Claude Code, Cursor, Windsurf, Antigravity CLI, Codex CLI, Grok CLI - Command blocking, auto-formatting, stop-time automation.

How to install Claw Hooks

This entry records only its repository, not the path inside it, so there is no exact command to give. Open owayo/claw-hooks and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claw Hooks does

Simple TOML hooks for Claude Code, Cursor, Windsurf, Antigravity CLI, Codex CLI, Grok CLI - Command blocking, auto-formatting, stop-time automation.

Alternatives in Productivity

  • Ccs — Delegate task with intelligent profile selection [AUTO ENHANCE] 2.8k ★
  • Skill Context Detection — Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type 2.8k ★
  • GrokSearch — Integrate Grok's powerful real-time search capabilities into Claude via the MCP protocol 1.8k ★

README

claw-hooks

claw-hooks

Simple TOML hooks for Claude Code, Cursor, Windsurf, Antigravity CLI, Codex CLI, Grok CLI - Command blocking, auto-formatting, stop-time automation

Supported Platforms

Linux macOS Windows

CI Release License

English | 日本語


claw-hooks is a single binary that plugs into the hook systems of Claude Code, Cursor, Windsurf, Antigravity CLI, Codex CLI, and Grok CLI. One TOML file decides which shell commands the agent may not run, which formatters and linters run after a file edit, and what runs when the agent stops.

Features

  • Built with Rust: Low overhead, lightweight single binary, blazing fast (<10ms startup)
  • Kill Command Blocking: Blocks kill, pkill, killall, taskkill, PowerShell's Stop-Process and its spps alias, and suggests safe-kill
  • RM Command Blocking: Blocks rm, rmdir, del, erase, rd, PowerShell's Remove-Item and suggests [safe-rm](https://github.com/owayo/safe-rm