PostToolUse
PulseAugur coverage of PostToolUse — every cluster mentioning PostToolUse across labs, papers, and developer communities, ranked by signal.
4 day(s) with sentiment data
-
Claude Code Hooks Automate Formatting and Block Dangerous Commands
Developers can now implement custom hooks for Claude Code to automate tasks and enforce safety rules. These hooks, configured in `.claude/settings.json`, can automatically format code after edits or block dangerous comm…
-
Developer creates Claude Hookbook for automated Claude Code tasks
A developer has created "Claude Hookbook," a library of pre-written hooks designed to automate common tasks and add guardrails to Anthropic's Claude Code. The tool addresses the setup friction of manually configuring ho…
-
Claude Code enhances AI agent security with multi-layer permissions
Claude Code offers a robust permission system for AI agents, moving beyond simple yes/no prompts. It utilizes a three-layer architecture involving interactive approvals, static deny/allow lists in settings.json, and dyn…
-
LLM development tool forces self-auditing to prevent false completion claims
A developer has created a Bash script system to ensure Large Language Models (LLMs) do not falsely claim completion of tasks. This system uses a combination of 'Stop' and 'PostToolUse' hooks to structurally enforce self…
-
Claude Code hooks fail silently due to unobservable errors
This article details several ways Claude Code hooks can fail without producing errors, leading to silent malfunctions. Issues include event types that ignore matchers, 'if' conditions only evaluating on tool events, dep…
-
Developer enforces AI coding rules with deterministic hooks
A developer has found that AI models like Claude Code, Sonnet, and Haiku often fail to consistently adhere to rules, especially with longer contexts or smaller models. To address this, the developer implemented a system…
-
Developer shares method to measure Claude Code hook latency
A developer has detailed a method for measuring the latency of custom scripts, known as "hooks," integrated into Claude Code. These hooks, used for tasks like automatic git commits or project categorization, can signifi…
-
Claude Code hooks: troubleshooting guide for custom script execution
This guide explains how to troubleshoot issues with Claude Code hooks, which are custom scripts designed to automate actions or enforce policies within the Claude Code environment. It details steps to verify if a hook i…
-
Developer cuts Anthropic Claude Code costs with custom bash hooks
A developer significantly reduced their AI costs by implementing custom hooks for Anthropic's Claude Code. By adding a PostToolUse bash hook, they prevented Claude Code from entering costly retry loops after migration f…
-
Anthropic Claude Code hooks automate workflows and enhance safety
Anthropic's Claude Code offers developers powerful hooks to automate workflows and enhance safety. The `PreToolUse` hook acts as a guard against destructive commands like `rm -rf` or `git push --force`, preventing unint…
-
Claude Code production audit logs use PostToolUse hook
This article details how to implement audit logs for Claude Code using the PostToolUse hook, a crucial component for production environments. It explains that this hook runs after a tool call has completed, allowing dev…