I Read the Claude Code Source Code. Here's Everything You Can Configure That the Docs Don't Tell You.

I Read the Claude Code Source Code. Here's Everything You Can Configure That the Docs Don't Tell You.

AndrΓ© Figueira went spelunking in the Claude Code source and surfaced the configuration surface the docs keep quiet about: PreToolUse hooks that can rewrite tool input mid-flight, force permission decisions, or inject conversation context; hook attributes (once, async, asyncRewake) for non-blocking safety checks; skill frontmatter for model and effort overrides plus disable-model-invocation; and per-agent persistent memory via memory: project or memory: user. The strangest finds are the self-improvement flags β€” autoMemoryEnabled and autoDreamEnabled β€” which extract learnings from sessions and consolidate them on a 24-hour cycle. Useful as a reference, and as a reminder that the interesting parts of an agent harness live below the documented API.

⌘K

Start typing to search...

Search across content, newsletters, and subscribers