Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

We're exploring a new way to let you extend and customize Claude Code: Function Hooks. Here's a couple videos showing what you'd be able to do. It hasn't shipped yet, we'd love feedback on this on our GitHub issue.

995,601 Aufrufe • vor 1 Monat •via X (Twitter)

31 Kommentare

Profilbild von Dmitriy Cherchenko
Dmitriy Cherchenkovor 1 Monat

Can't you just add support for AGENTS.md?

Profilbild von sdmat
sdmatvor 1 Monat

Nice functionality, awful video - don't speak claudish. It's bad enough in writing, hearing it from a person is cringe inducing.

Profilbild von Omar | عمر
Omar | عمرvor 1 Monat

I can't help but notice the video's script, it's cleary made by AI, which is okay, but it's the most generic AI script ever, it's very distracting.

Profilbild von M
Mvor 1 Monat

Not surprised to hear Claudish spoken in the video. Please fix Opus 5. It’s hurting everyone, even your video voiceovers.

Profilbild von Corey Ward
Corey Wardvor 1 Monat

Seems cool. I wish you didn’t subject me to the obnoxious Claude writing for the video script though.

Profilbild von RIDER SKETCH
RIDER SKETCHvor 1 Monat

"we'd love feedback" as the most polite way to say "please find our bugs before we ship this"

Profilbild von S H
S Hvor 1 Monat

How about instead you give our usage back 😆

Profilbild von Ash
Ashvor 1 Monat

How about hooking the pricing page to give our usage back

Profilbild von Jai
Jaivor 1 Monat

More control over context compacting/editing would be great. Stratified context (system, highly persistent, volatile memory, literal history) that typically compacted ancient literal to volatile would mean less savings on compact but plausibly maintain state better

Profilbild von Kol Tregaskes
Kol Tregaskesvor 1 Monat

@grok can I have this in English please?

Profilbild von Hüseyin Örskaya
Hüseyin Örskayavor 1 Monat

Extensions are great until they turn a lightweight CLI tool into a bloated IDE. You're trading speed for complexity; let's see if you can keep the latency under 100ms once users start chaining these hooks.

Profilbild von DysektAI
DysektAIvor 1 Monat

This is why I quit using Claude Code... Just saying hello and you shoe horn 35k+ tokens into the context window instantly... Unless this is constant hot cache its a huge hit to usage and cost to pay for 30k+ tokens each request... This is why Pi is the goat and Codex.

Profilbild von carlo magno
carlo magnovor 1 Monat

anything but raising the limits

Profilbild von adam
adamvor 1 Monat

wow Function, what an ancient word.

Profilbild von ItoriH
ItoriHvor 1 Monat

Oh god, you talk just like Claude. Poor anthropic employees, now speaking claudese

Profilbild von Chandler builds OpenLuxe.co
Chandler builds OpenLuxe.covor 1 Monat

Can we customize the ability to copy text in the CLI to not have line breaks! For the love of God it needs to be fixed

Profilbild von Dante Emanuel
Dante Emanuelvor 1 Monat

I SUBSCRIBD TO X FOR 20 AND DOWNLOADED VIDEOS . IM ABOUT TO KEEP LEARNING AND APPLYING UNTIL I LEARN WHAT I MUST KNOW TO SURPASS MY LIMITS

Profilbild von Lincoln Powers
Lincoln Powersvor 1 Monat

Feedback from having built this by hand: what I needed most was a hook that can halt and hand control back, not just observe or transform. I run an AI reviewer over every PR under a policy that a rejected finding drops the executor back to per-operation approval. 171 written verdicts so far — 158 accepted, 11 rejected, 2 deferred. Each of those 11 stopped the chain and waited on a human. Implementing that meant reconstructing state the harness already had. A hook that could return "stop, ask the human, resume here" would have replaced the whole thing. Second ask: whatever fires needs to leave an artifact. My halts write a rationale inline into the source — 34 of them, greppable months after the session is gone. A hook that changes behavior and leaves no trace is a debugging problem you meet at volume, not on day one.

Profilbild von KellyK.dev
KellyK.devvor 1 Monat

You should be researching more ways to be open to your community, allow third party harnesses & connect with Claude.

Profilbild von Dustin Currie
Dustin Currievor 1 Monat

Is it possible for these plugins to be pulled into the path so you can test them out or use them in your shell directly?

Profilbild von Alex Shev
Alex Shevvor 1 Monat

The most useful hook isn’t just another place to run a script; it needs a clear lifecycle contract. Give it structured context, explicit permission boundaries, and predictable failure/retry behavior so teams can extend workflows without turning every hook into invisible global state.

Profilbild von Mike
Mikevor 1 Monat

One important detail to define before shipping: what happens when a hook throws, hangs, or mutates its input, and whether administrator policy can reliably take precedence over user plugins. Predictable failure and ordering rules will matter for managed deployments.

Profilbild von AI Mastery Guide
AI Mastery Guidevor 1 Monat

Change what Claude shows, curious how

Profilbild von anytan
anytanvor 1 Monat

Function Hooks still pre-ship and they're asking for feedback first. rare

Profilbild von Ankith 🐋/acc
Ankith 🐋/accvor 1 Monat

Wont the high entropy thing mess with log files that uses hashses and uuids? @grok

Profilbild von jack bryan
jack bryanvor 1 Monat

NOONE cares, when you can't even utilize the product for more than a few hours....what is the point

Profilbild von Dan Purcell
Dan Purcellvor 1 Monat

Do you really still need to restart to pick up these things? Holy shit.

Profilbild von ︎ ︎
︎ ︎vor 1 Monat

even the devs aren't using opus 5

Profilbild von Pierre Business Logic
Pierre Business Logicvor 1 Monat

being able to intercept and format tool calls before execution solves a huge headache for running strict local linting and security policies on generated code

Profilbild von Bally_AgenticAI
Bally_AgenticAIvor 1 Monat

Hooks that redact secrets or change what the model sees aren't just plugins - they're a containment layer most agent setups skip entirely. That's the real permission boundary, not a system prompt. #AgenticAI #LLMOps @AnthropicAI

Profilbild von AGTP
AGTPvor 1 Monat

We actually went deeper on how these hooks allow you to customize Claude Code through TypeScript:

Ähnliche Videos

Anthropic just released a talk on building headless automation with Claude Code. Presented by Sid Bidasaria, Member of Technical Staff at Anthropic live at Code with Claude on May 22, 2025 in San Francisco. Here is what the talk covers. Headless mode lets you run Claude Code without a person actively typing prompts from inside an automated script. Instead of a live session, a script calls Claude with a pre-written instruction using the -p flag. This opens the door for Claude Code to become a piece of a much larger, automated process. In plain terms: Claude Code stops being a tool you use and starts being a service that runs on its own. What this unlocks: Scheduled tasks: Run Claude Code on a cron schedule without anyone at a keyboard. Fix linting errors across an entire codebase. Automatically. Overnight. CI/CD integration: Trigger Claude Code as a step in your build process. Open a PR. Claude reviews it, flags issues, and pushes fixes before a human ever looks at it. GitHub automation: A project manager comments "Claude fix this" on a GitHub issue. Claude reads the request, finds the code, writes the fix, and opens the PR. Multi-machine workflows: One orchestrator dispatches tasks to multiple Claude Code instances running in parallel across different repos simultaneously. When you combine headless mode, hooks, and GitHub Actions, development teams can automate tasks that usually eat up significant time freeing senior engineers to focus on architectural problems while Claude handles the repetitive ones. If you use Claude Code for anything beyond single sessions this talk is worth 20 minutes of your time.

Elias

14,096 Aufrufe • vor 4 Monaten