Skip to content

Back to the catalog

AI Signal (@AliciaCrawoiue) on X
x.comthread

AI Signal (@AliciaCrawoiue) on X

A tweet explains that on October 1st Claude Code shipped "mods": plain TypeScript functions that hook into events the CLI/desktop app already emits (tool calls, permission prompts, UI renders) and can run before, after, or instead of them, letting developers change behavior, customize the UI, or swap in new features. Mods ship inside plugins and are installed via /plugin. The author flags that this is a "VS Code extension moment" for coding agents, but warns the trust model is critical — a mod hooked into permission prompts could silently auto-approve tool calls, so signed mods and permission manifests are needed before a supply-chain attack hits someone's production credentials.

TL;DR Claude Code's new "mods" let TypeScript hooks rewrite tool-call, permission-prompt, and UI behavior via plugins — powerful extensibility with an as-yet-unaddressed trust/signing problem.
Also seen from another angle🛡️ Security →

Organisations named here

  • Claude Code

Technologies named here

  • Claude Code
  • Mods
  • Claude Code plugins
  • TypeScript

Techniques named here

  • Event hooking in Claude Code mods