Skip to content
gentic.news — AI News Intelligence Platform

hooks

30 articles about hooks in AI news

Build a Self-Improving Memory Layer for Claude Code with Hooks and RAG

Implement automatic hooks to capture Claude Code's work into a ChromaDB vector store and a CLAUDE.md file, creating a persistent, searchable memory for your project.

100% relevant

Stop Writing More Rules: Use Hooks to Enforce Your CLAUDE.md

Critical CLAUDE.md rules fail because Claude prioritizes helpfulness. The solution is to use session hooks to automate enforcement, making rules impossible to skip.

95% relevant

Claude Code Hooks: How to Auto-Format, Lint, and Test on Every Save

Configure hooks in .claude/settings.json to run prettier, eslint, and tests automatically, ensuring clean code without manual intervention.

95% relevant

How to Build a Custom AI Agent with Claude Code's Skills, SubAgents, and Hooks

A developer's deep dive into customizing Claude Code with 7 skills, 5 subagents, and quality-check hooks—showing how to move beyond basic prompting to create a truly autonomous coding assistant.

95% relevant

How to Auto-Approve Safe WebFetches While Blocking Suspicious URLs with Hooks

Use Claude Code's PreToolUse hooks to automatically allow clean documentation URLs while forcing manual review for any URL containing query parameters, eliminating repetitive prompts without sacrificing security.

81% relevant

How 'Steering Hooks' Can Fix Claude Code's Drifting Behavior

New research shows steering hooks achieve 100% accuracy vs 82% for prompts alone. Apply this to your CLAUDE.md to stop unpredictable outputs.

89% relevant

7 Production-Ready Agent Hooks You Can Copy Into Your CLAUDE.md Today

Agent hooks in CLAUDE.md automate context management, testing, and deployment, turning Claude Code from a chat tool into a proactive development partner.

95% relevant

Why Claude Code's 'Tool Calls' Aren't Hooks — And How to Design for Its

Understanding Claude's 8-step tool pipeline—from edge routing to result injection—is critical for structuring error handling, timeouts, and debugging in production applications.

100% relevant

Claude Code Routines: Automate Code Reviews

Automate Claude Code tasks like scheduled code reviews or deployment hooks using the new Routines feature, which runs on Anthropic's infrastructure.

100% relevant

How Telemetry Settings Are Silently Costing You Cache Tiers (And How To Fix It)

A confirmed bug links telemetry settings to cache TTL; disabling telemetry defaults you to 5-minute cache, increasing costs. Use environment variables and hooks to mitigate.

90% relevant

Anthropic's Silent Cache TTL Cut

Claude Code's default cache TTL was silently reduced to 5 minutes on April 2, drastically increasing token costs. Use hooks and settings to mitigate the impact.

100% relevant

Block Compromised NPM/PyPI Packages Automatically with attach-guard

A new Claude Code plugin uses PreToolUse hooks to automatically block compromised packages like the recent axios hijack before they install.

78% relevant

Claude Code Introduces Interactive /init Command to Automate Project Configuration

Anthropic's Claude Code has launched a new interactive /init command that interviews developers to automatically configure CLAUDE.md files, Git hooks, and skills. This reduces manual setup time for AI-assisted coding workflows.

91% relevant

How to Structure Your Claude Code Project So It Scales Beyond Demos

A battle-tested project structure that separates skills by intent, leverages hooks, and integrates MCP servers to keep Claude Code reliable across real projects.

74% relevant

Stop Bloating Your CLAUDE.md: The Infrastructure-First Workflow That Cuts Review Time in Half

Replace verbose CLAUDE.md rules with automated hooks and modular skills to enforce quality and prevent context degradation.

81% relevant

Single Pane: The Terminal-First Workspace Built for Claude Code

A new macOS app consolidates your terminal, file manager, and markdown editor into one window, with native hooks for Claude Code audio notifications.

95% relevant

Stop Using Claude Code Like a Chatbot: The 4 Mental Models That Actually Work

Claude Code isn't a smarter chatbot—it's a reasoning engine. Treat it like one by mastering Context, Skills, Hooks, and Subagents.

95% relevant

pixcli: The First MCP Server for Brazil's Pix Payments (Install It Now)

A new Rust CLI with built-in MCP server lets Claude Code agents create Pix charges, check payments, and manage webhooks—automating Brazilian payment workflows.

94% relevant

Cua Driver Open-Sourced: macOS Agent Control for Any App

Cua released Cua Driver as open-source, allowing agents like Claude Code and Codex to drive any macOS app through visual understanding and direct UI interaction.

85% relevant

From CI Fire to 9% Interruption

Learn the four guardrail patterns and three-phase CLAUDE.md strategy that turns auto-approve from a CI-breaking risk into a productivity superpower.

100% relevant

Distillery 0.4.0 Stabilizes Its MCP API

Distillery 0.4.0 stabilizes its MCP API surface, enabling reliable agent memory and team knowledge bases for Claude Code workflows.

90% relevant

Clerk: Auto-Summarize Every Claude Code Session into Searchable Markdown

Install Clerk to automatically generate Markdown summaries of every Claude Code session, making your debugging, research, and architecture decisions searchable across projects.

99% relevant

Claude Code's Architecture Revealed

An analysis of Claude Code's source code shows its core is a simple loop, but its power comes from systems like a 5-layer compaction pipeline and a 7-mode permission system, which developers can leverage for better performance.

100% relevant

Stop Rewriting CLAUDE.md: The 4-Stage Evolution That Cuts Context Waste 40%

Your CLAUDE.md should grow with your project through four intentional stages, adding rejected alternatives and 'never do this' rules to prevent Claude from re-litigating settled decisions.

100% relevant

Claude Code Reverse-Engineered: 98.4% of Codebase is Operational Harness

A reverse-engineering analysis of Claude Code reveals only 1.6% of its codebase is AI decision logic, with the rest being operational infrastructure. This challenges current agent design paradigms by prioritizing a robust deterministic harness over complex model routing.

100% relevant

Claude Code's Model Chooser: How to Pick the Right Model for Every Task

A developer built a web interface that replicates Claude Code's model selection algorithm, letting you preview recommendations before executing commands.

100% relevant

Replace Karpathy's Agent Memory Automation with This 30-Line /close-day Hook

Background automation fails on laptops; use a simple /close-day skill and date tags in MEMORY.md instead.

95% relevant

Build Your First MCP Server in 15 Minutes with Python's FastMCP

Learn to build MCP servers that give Claude Code direct access to your systems, eliminating copy-paste workflows.

100% relevant

AgentPulse: The Open-Source Dashboard That Solves Claude Code's

Install AgentPulse to gain visibility into all your active Claude Code and Codex CLI sessions from a single web dashboard, with live updates, session naming, and prompt history.

87% relevant

How Claude Routines Could Automate Your Dev Workflow (And What's Still Missing)

Claude Routines are cloud-based AI automations that run on triggers/schedules. While not directly in Claude Code yet, they hint at future workflow automation possibilities developers should prepare for.

100% relevant