Live data from Hacker News

Claude Code now supports hooks

docs.anthropic.com

41–50 of 184 posts

Re: Claude Code now supports hooks

#41

Given the Anthropic legal terms forbid competing with them, what are we actually allowed to do with this? Seems confusing what is allowed. No machine learning work? That would compete. No writing stuff I would train AI on. Except I own the stuff it writes, but I can’t use it. Can we build websites with it? What websites don’t compete with Anthropic? Terminal games? No, Claude code is a terminal game, if you make a te…

Would you argue that Cursor (valued at $10B) is breaking Anthropic's terms by making an IDE that competes with their Canvas feature?

Cursor isn't building models trained with the outputs of Anthropic models (I think). That's what the ToS is forbidding.

Re: Claude Code now supports hooks

#43
I've been playing with Claude Code the past few days. It is very energetic and maybe will help me get over the hump on some long-standing difficult problems, but it loses focus quickly. Despite explicit directions in CLAUDE.md to build with "make -j8" and run unit tests with "make -j8 check", I see it sometimes running make without -j or calling the test executable directly. I would like to limit it to doing certain essential aspects of workflow with the commands I specify, just as a developer would normally do. Are "Hooks" the right answer?

Re: Claude Code now supports hooks

#44

I've been playing with Claude Code the past few days. It is very energetic and maybe will help me get over the hump on some long-standing difficult problems, but it loses focus quickly. Despite explicit directions in CLAUDE.md to build with "make -j8" and run unit tests with "make -j8 check", I see it sometimes running make without -j or calling the test executable directly. I would like to limit it to doing certain…

For the `-j` issue specifically, exporting `MAKEFLAGS=-j8` should work.

Re: Claude Code now supports hooks

#46
post #39

Earlier quoted context omitted.

In many cases.

so its back to hand coding stuff again. They are going to slowly add "features" that brings handcoding back till its like 100% handcoding again.

This doesn’t come without consideration. You can see I mention this in the original feature request.

Yes - it’s fine to think of it as handholding (or handcoding). These model providers cannot be responsible for ultimate alignment with their users. Today, they can at best enable integration so a user, or business, can express and ensure their own alignment at runtime.

The nature of these systems already requires human symbiosis. This is nothing more than a new integration point. Will empower agents beyond today’s capabilities, increase adoption.

Re: Claude Code now supports hooks

#48
post #47

Amazing how there's whole companies dedicated to this and yet claude code keeps leading the way.

Not to take away anything here, but hooks are present in other similar products. Atleast one example here - https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/com...

Re: Claude Code now supports hooks

#49
post #37
post #32

Just started using Claude (very late to the game), and I am truly blown away. Instead of struggling for hours trying to get the right syntax for a Powershell script or to convert Python to Go, I simply ask Claude to make it happen. This helps me focus on content creation instead of the mind-bending experience of syntax across various languages. While some might call it laziness, I call it freedom as it helps me get m…

That’s great. Regardless of the naysayers about AI hype in tech, it was a major development for general society even if this is all it ends up being.

It remains to be seen whether it's a net value once the VC firehose dries up and the true costs are revealed. It's quite possible that the profitable price is not worth it for most companies.
Post reply on HN