Products & Services

Avoid the Dangers of Settings Pollution in Subagents, Hooks, and Scripts

egghead.io

Learn how Claude subagents inherit project settings and how this can create dangerous infinite loops if a hook calls Claude recursively. This lesson demonstrates how to prevent this "worst-case scenario" by using the --settings flag to provide the sub-agent with a separate configuration file that disables all hooks, securing your automations.

Visit Site

Listing
Customize Global User Settings and the Status Line in Claude Codeegghead.io Type-Safe Claude Code Hooks with Bun and TypeScriptegghead.io Organizing Personal and Project Settings in Claude Codeegghead.io Rewrite Prompts on the Fly with UserPromptSubmit Hooksegghead.io Generate Multiple Solutions with Template-Driven Hooksegghead.io Block Tool Commands Before Execution with PreToolUse Hooksegghead.io Instrumentation configurationOpentelemetry Configuration and settingsOpentelemetry GitOps Best Practices I Wish I Had Known BeforePulumi Vary This, Vary That - Introducing New Custom Query Parameter Vary Cache SettingsBunny vercel projectVercel Python Leiden User GroupPython Python Meeting Düsseldorf: SprintPython PyLadies Rivers In-Person Python WorkshopPython Django on the Med 2026Python Put Firewall Configuration | Vercel SDKVercel Editor settings for AI and publishing - MintlifyMintlify Why npm Scripts?Css Tricks Compiler options in the Kotlin Gradle pluginKotlinlang Update project flag settings | Vercel REST APIVercel