Smash Notes

Back to Claude Code’s Next Era — Thariq Shihipar, Anthropic, with Thariq Shihipar & Vibhu Sapra.

How Do Claude Code Mods Go Beyond Hooks?

Thariq Shihipar says Claude Code mods run inside the TypeScript runtime and go further than hooks. Internally the feature started under the name function hooks. Hooks register an event and then call a script. A mod can see how many turns are in the conversation, how many tokens have been used, and what the messages are, and there are many more events to register on. Because the work happens in process, a mod can spawn sub-agents, parse what comes back, use structured output, and modify the user interface. Hooks could never modify the user interface.

A dashboard mod he is building prompts Claude to keep a dashboard that is an artifact. Mods and artifacts compose. Mods sit in the Claude Code harness and change the agent loop, and the interface change is an added benefit. Artifacts are for viewing work at a high level and staying highly interactive, with room that can be much larger than a TUI or the desktop app.

Claude Code still asks people to remember a lot: call the dashboard skill that runs the loop, then test assumptions afterward. Little classifiers can hold the things a person cares about and what they want done, so the person does not have to remember as much.

Grokipedia·Claude Code·TypeScript

Transcript

Claude Code’s Next Era — Thariq Shihipar, Anthropic ·

Latent Space: The AI Engineer Podcast

More from this episode

  1. How Fast Did Claude Code Become the Default?Thariq Shihipar joined Anthropic because Claude Code had just come out, and less than 12 months later it was the default way everyone codes.
  2. Why Does Claude Code Ask Before Coding?Thariq Shihipar believes pretty much everyone needs the agent to pull out more requirements and collaborate, rather than being good enough to instruct the…
  3. What Is the Most Important Claude Code Skill?Thariq Shihipar says the most important skill for Claude Code is a mental model of Claude: how Claude thinks, what Claude can do well, what Claude can…
  4. Why Is Prompting Like Executive Communication?Thariq Shihipar says sufficiently advanced prompting is indistinguishable from sufficiently advanced executive communication.
  5. How Does Thariq Shihipar Treat the Bitter Lesson?Thariq Shihipar treats the bitter lesson as a rough stand-in, and he flags the label as a misuse.
  6. When Should I Use the Claude Code Harness?Thariq Shihipar says very complex coding tasks should use the Claude Code harness, while simpler or more domain-specific work can use a harness built for the…
  7. What Did People Spend on AI Before Claude Code?Thariq Shihipar says no one was used to spending more than $20 a month before Claude Code came out, and no one was used to spending $200 a month on…
  8. What Is the Paperclip Problem for AI Agents?Thariq Shihipar says more task budget is the paperclip. A model does not have to maximize paperclips.
  9. Why Should AI Labs Pace the Frontier?Thariq Shihipar says AI labs should pace the frontier because misaligned Claude behavior will not be predictable, and the next incident probably cannot be…
  10. How Does Claude Catch Jailbreaks With Probes?Thariq Shihipar says Claude catches jailbreaks by reading internal activations, because looking only at the input is not enough.
  11. How Does Claude Code Auto Mode Check Permissions?Thariq Shihipar says Claude Code auto mode checks whether an agent is acting inside the permission the user gave, while probes judge whether the intent itself…
  12. What Does Thariq Shihipar Think About AI Doom?Thariq Shihipar has a fairly low probability of doom, and he can only speak for himself.

People

More answers like this

The other side

More with Shawn Wang

More with Vibhu Sapra

Related episodes

Plays from this note through the rest of the episode.

Weekly highlights

One letter a week.

The notes worth hearing, with the minute they were said.