anthropic
Function Hooks would wrap Claude Code like middleware
Claude News
Anthropic is seeking feedback on Function Hooks, a proposal tied to GitHub issue #91870 that describes a way to make Claude Code plugins 10x more powerful by wrapping parts of the tool’s behavior using TypeScript functions or middleware inside plugins.
The company presented the idea in a post from ClaudeDevs on X, alongside two videos, and said it has not shipped. The message directs prospective contributors to a GitHub discussion, where its authors ask for comment on the proposed mechanism.
At a glance
- The proposal frames hooks as TypeScript functions or middleware that can wrap Claude Code behavior, using the same general pattern that Express and Koa use for middleware.
- Anthropic paired its invitation for feedback with two demonstration videos and directs discussion to GitHub issue #91870, whose title calls for plugins to become 10x more powerful.
- The company says Function Hooks have not shipped; a separate September 9 report says a runtime may be available behind a flag in build 2.1.260, without wider corroboration.
For Claude Code users, the proposal appears to move extensibility toward code that can surround behavior already performed by the tool. That could make plugins more consequential where a workflow depends on observing or altering an operation at the point it occurs. The request for feedback likely leaves the eventual design open to change, which matters because a hook interface can define where plugins fit into a development workflow.
Issue #91870 was opened on September 3, 2026
GitHub issue #91870 carries the title “Function Hooks - make plugins 10x more powerful” and was opened on September 3, 2026, in the project’s public tracker. Its central formulation is a proposal to make plugin work more capable through a hook mechanism that wraps Claude Code behavior.
GitHub issues provide a public place for proposals and implementation discussion. Here, Anthropic is explicitly using that channel to collect feedback before Function Hooks ship, so the material describes a consultation rather than an announced product release in its current form.
Function Hooks use a TypeScript middleware model
Function Hooks are described as TypeScript functions or middleware that wrap Claude Code behavior. TypeScript functions provide executable code with typed interfaces, while middleware is a pattern for placing code around an operation. The comparison offered by accounts tracking the proposal is Express or Koa.
Express and Koa are web frameworks commonly associated with middleware chains. A function can receive work before passing it onward, then resume after downstream handling completes. That is the analogy attached to Function Hooks; the published description does not give a finished technical specification beyond the TypeScript and middleware framing for the proposed mechanism.
Build 2.1.260 is mentioned only in a September 9 report
A September 9 report separately claimed that a Function Hooks runtime is present behind a flag in Claude Code build 2.1.260. That report is the only cited account for the implementation detail, so it remains a reported claim rather than confirmation of a released feature for ordinary installations.
Anthropic’s own message keeps the public status simple: Function Hooks have not shipped. The company paired that status with demo material and an invitation to comment through the issue. Those are the confirmed public elements available alongside the separate claim concerning a flagged runtime in a particular build.
Feedback before shipping The next concrete point in the record is the GitHub discussion that Anthropic has invited people to use. No release date has been given, and the proposal remains unshipped. The materials do not establish which behaviors will be exposed, how the interface will be packaged, or whether the reported flagged runtime will turn into a public release.
Comments
No comments yet. Be the first.
Join the conversation
Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.
We only use your name and avatar from Google. We never store your email address.
